ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
options.h
Go to the documentation of this file.
1
10#ifndef ASCII_CHAT_WEB_COMMON_OPTIONS_H
11#define ASCII_CHAT_WEB_COMMON_OPTIONS_H
12
13#include <emscripten.h>
14
15// Dimension setters/getters
16int set_width(int value);
17int get_width(void);
18int set_height(int value);
19int get_height(void);
20
21// Color mode setters/getters
22int set_color_mode(int mode);
23int get_color_mode(void);
24
25// Color filter setters/getters
26int set_color_filter(int filter);
27int get_color_filter(void);
28
29// Palette setters/getters
30int set_palette(const char *palette_name);
31int get_palette(void);
32
33// Palette characters setters/getters
34int set_palette_chars(const char *chars);
35const char *get_palette_chars(void);
36
37// Matrix rain setters/getters
39int get_matrix_rain(void);
40
41// Horizontal flip setters/getters
42int set_flip_x(int enabled);
43int get_flip_x(void);
44
45// Target FPS setters/getters
46int set_target_fps(int fps);
47int get_target_fps(void);
48
49#endif // ASCII_CHAT_WEB_COMMON_OPTIONS_H
bool enabled
Is filtering active?
Definition grep.c:78
int get_target_fps(void)
int get_flip_x(void)
int set_flip_x(int enabled)
int get_matrix_rain(void)
int get_palette(void)
int set_palette_chars(const char *chars)
int set_color_filter(int filter)
int get_height(void)
int get_width(void)
int set_width(int value)
int set_color_mode(int mode)
int get_color_mode(void)
int get_color_filter(void)
int set_height(int value)
int set_palette(const char *palette_name)
int set_target_fps(int fps)
int set_matrix_rain(int enabled)
const char * get_palette_chars(void)