|
C-Menu 0.2.9
A User Interface Toolkit
|
Structure representing the configuration options for the UI runtime. More...
#include <ui_backend.h>
Data Fields | |
| char | border_style |
| bool | cursor_visible |
| bool | enable_alt_screen |
| bool | enable_mouse |
| FILE * | tty_fp |
| const char * | tty_path |
Structure representing the configuration options for the UI runtime.
The UiConfig structure encapsulates the configuration options that can be set when initializing the UI runtime. This includes enabling mouse support, using an alternate screen buffer, and controlling cursor visibility. The enable_mouse field allows you to specify whether mouse input should be captured and processed by the UI. The enable_alt_screen field determines whether the UI should use an alternate screen buffer, which can help prevent cluttering the main terminal screen. The cursor_visible field controls whether the cursor is visible while the UI is active, which can enhance the user experience in certain applications. The tty_path field, if non-NULL, specifies the terminal device to use; if NULL, the backend auto-detects the terminal (typically via stderr). By configuring these options appropriately, you can tailor the behavior of the UI runtime to suit your application's needs.
Definition at line 142 of file ui_backend.h.
| char UiConfig::border_style |
Definition at line 146 of file ui_backend.h.
| bool UiConfig::cursor_visible |
Definition at line 145 of file ui_backend.h.
| bool UiConfig::enable_alt_screen |
Definition at line 144 of file ui_backend.h.
| bool UiConfig::enable_mouse |
Definition at line 143 of file ui_backend.h.
| FILE* UiConfig::tty_fp |
optional TTY FILE pointer; NULL = auto-detect
Definition at line 148 of file ui_backend.h.
| const char* UiConfig::tty_path |
optional TTY device path; NULL = auto-detect
Definition at line 147 of file ui_backend.h.