ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ui_session Struct Reference

This is the handoff point for ui session. Callers fill size, frame, media, logs before passing it on; consumers read the values during the operation and return ownership only where the member contract explicitly says they do. More...

Data Fields

terminal_size_t size
frame_buffer_t * frame
frame_buffer_t * media
session_log_buffer_t * logs
animation_t animation
ui_splash_view_t splash
bool loading
bool help
bool show_logs
bool dirty
bool owns_logs
time_t started
int active
bool covered
terminal_size_t presented_size
terminal_size_t minimum
uint64_t last_render_ns
double saved_volume
uint64_t presentation_times [120]
unsigned presentation_index

Detailed Description

This is the handoff point for ui session. Callers fill size, frame, media, logs before passing it on; consumers read the values during the operation and return ownership only where the member contract explicitly says they do.

Definition at line 28 of file lib/tui/session.c.

Field Documentation

◆ active

int ui_session::active

Definition at line 37 of file lib/tui/session.c.

Referenced by ui_session_create(), ui_session_render(), and ui_session_tick().

◆ animation

◆ covered

bool ui_session::covered

Definition at line 38 of file lib/tui/session.c.

Referenced by ui_session_is_covered(), and ui_session_render().

◆ dirty

◆ frame

◆ help

bool ui_session::help

Definition at line 35 of file lib/tui/session.c.

Referenced by ui_session_clear(), ui_session_input(), and ui_session_tick().

◆ last_render_ns

uint64_t ui_session::last_render_ns

Definition at line 40 of file lib/tui/session.c.

Referenced by ui_session_render().

◆ loading

bool ui_session::loading

Definition at line 35 of file lib/tui/session.c.

Referenced by ui_session_loading(), and ui_session_tick().

◆ logs

◆ media

◆ minimum

terminal_size_t ui_session::minimum

Definition at line 39 of file lib/tui/session.c.

Referenced by ui_session_render().

◆ owns_logs

bool ui_session::owns_logs

Definition at line 35 of file lib/tui/session.c.

Referenced by ui_session_create(), and ui_session_destroy().

◆ presentation_index

unsigned ui_session::presentation_index

Definition at line 43 of file lib/tui/session.c.

Referenced by ui_session_tick().

◆ presentation_times

uint64_t ui_session::presentation_times[120]

Definition at line 42 of file lib/tui/session.c.

Referenced by ui_session_tick().

◆ presented_size

terminal_size_t ui_session::presented_size

Definition at line 39 of file lib/tui/session.c.

Referenced by ui_session_render().

◆ saved_volume

double ui_session::saved_volume

Definition at line 41 of file lib/tui/session.c.

Referenced by ui_session_create(), and ui_session_input().

◆ show_logs

bool ui_session::show_logs

Definition at line 35 of file lib/tui/session.c.

Referenced by ui_session_clear(), ui_session_input(), and ui_session_tick().

◆ size

terminal_size_t ui_session::size

◆ splash

◆ started

time_t ui_session::started

Definition at line 36 of file lib/tui/session.c.

Referenced by ui_session_create(), and ui_session_logs_render().


The documentation for this struct was generated from the following file: