ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
splash.h
Go to the documentation of this file.
1
18#pragma once
19
20#include <stdbool.h>
21
22// Forward declare to avoid circular includes
25
34void splash_log_init(void);
35
43void splash_log_destroy(void);
44
53void splash_log_clear(void);
54
65void splash_log_append(const char *message);
66
96
115int splash_intro_done(void);
116
131
143bool splash_should_display(bool is_intro);
144
157void splash_restore_stderr(void);
158
172void splash_set_update_notification(const char *notification);
173
187
205
219bool splash_is_running(void);
bool splash_is_running(void)
Check if splash screen animation is currently running.
Definition splash.c:725
int splash_intro_done(void)
Signal that intro splash should end (first frame ready to render)
Definition splash.c:693
void splash_restore_stderr(void)
Restore stderr after splash animation completes.
Definition splash.c:716
int splash_intro_start(session_display_ctx_t *ctx)
Start animated intro screen with rainbow ASCII art (non-blocking)
Definition splash.c:639
void splash_log_init(void)
Initialize log buffer for splash animation.
Definition splash.c:76
void splash_log_clear(void)
Clear splash log buffer.
Definition splash.c:88
void splash_set_update_notification(const char *notification)
Set update notification to display on splash/status screens.
Definition splash.c:776
bool splash_should_display(bool is_intro)
Check if splash screen should display.
Definition splash.c:398
void splash_clear_display_context(void)
Clear the cached display context to prevent use-after-free.
Definition splash.c:721
void splash_log_destroy(void)
Destroy splash log buffer.
Definition splash.c:83
void splash_log_append(const char *message)
Append message to splash log buffer.
void splash_notify_first_frame(void)
Notify splash that the first frame has been rendered.
void splash_wait_for_animation(void)
Wait for splash animation thread to fully exit.
Definition splash.c:731
ClangTool/LibTooling compatibility shim for stdbool.h.
Internal session display context structure.