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

When code needs to work with session settings, it keeps version, width, height, color_mode here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields. More...

#include <src/common/session/settings.h>

Data Fields

uint32_t version
int16_t width
int16_t height
int8_t color_mode
uint8_t render_mode
uint8_t palette_type
char palette_custom [64]
uint8_t color_filter
uint8_t fps
bool matrix_rain

Detailed Description

When code needs to work with session settings, it keeps version, width, height, color_mode here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields.

A participant's rendering preferences/effective values. Security is session policy.

Definition at line 15 of file src/common/session/settings.h.

Field Documentation

◆ color_filter

uint8_t session_settings_t::color_filter

◆ color_mode

int8_t session_settings_t::color_mode

◆ fps

uint8_t session_settings_t::fps

◆ height

int16_t session_settings_t::height

◆ matrix_rain

bool session_settings_t::matrix_rain

◆ palette_custom

char session_settings_t::palette_custom[64]

◆ palette_type

uint8_t session_settings_t::palette_type

◆ render_mode

uint8_t session_settings_t::render_mode

◆ version

◆ width

int16_t session_settings_t::width

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