|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Intro and status screen display implementation with animated rainbow effects. More...
Go to the source code of this file.
Data Structures | |
| struct | splash_header_ctx_t |
| Context data for splash header rendering. More... | |
Macros | |
| #define | ASCII_LOGO_LINES 7 |
| #define | ASCII_LOGO_WIDTH 36 |
| #define | RAINBOW_COLOR_COUNT 7 |
Functions | |
| bool | splash_should_display (bool is_intro) |
| int | splash_intro_start (session_display_ctx_t *ctx) |
| int | splash_intro_done (void) |
| int | splash_display_status (int mode) |
| void | splash_set_update_notification (const char *notification) |
Intro and status screen display implementation with animated rainbow effects.
Implements splash screen functionality including:
Definition in file splash.c.
| int splash_display_status | ( | int | mode | ) |
Definition at line 546 of file splash.c.
References colored_string(), mutex_init(), and splash_should_display().
| int splash_intro_done | ( | void | ) |
Definition at line 526 of file splash.c.
References asciichat_thread_join().
Referenced by display_disable_logging_for_first_frame(), and session_client_like_run().
| int splash_intro_start | ( | session_display_ctx_t * | ctx | ) |
Definition at line 482 of file splash.c.
References asciichat_thread_create(), session_log_buffer_init(), splash_should_display(), and terminal_is_interactive().
Referenced by session_client_like_run().
| void splash_set_update_notification | ( | const char * | notification | ) |
Definition at line 612 of file splash.c.
References mutex_init().
Referenced by main().
Definition at line 372 of file splash.c.
Referenced by splash_display_status(), and splash_intro_start().