|
C-Menu 0.2.9
A User Interface Toolkit
|
Capability flags reported by the active UI backend. More...
#include <ui_backend.h>
Data Fields | |
| int | color_pairs |
| bool | mouse |
| bool | palette256 |
| bool | resize |
| bool | truecolor |
| bool | unicode |
Capability flags reported by the active UI backend.
Query via ui_get_caps() after ui_init() succeeds. Differences between backends are made explicit through these flags so application code can adapt rather than assume.
Definition at line 168 of file ui_backend.h.
| int UiCaps::color_pairs |
max simultaneous color pairs; 0 = unlimited
Definition at line 174 of file ui_backend.h.
Referenced by ui_get_caps().
| bool UiCaps::mouse |
backend can deliver mouse events
Definition at line 171 of file ui_backend.h.
Referenced by ui_get_caps().
| bool UiCaps::palette256 |
backend supports at least 256 palette entries
Definition at line 170 of file ui_backend.h.
Referenced by ui_get_caps().
| bool UiCaps::resize |
backend emits UI_KEY_RESIZE on terminal resize
Definition at line 173 of file ui_backend.h.
Referenced by ui_get_caps().
| bool UiCaps::truecolor |
backend can display 24-bit RGB colors
Definition at line 169 of file ui_backend.h.
Referenced by ui_get_caps().
| bool UiCaps::unicode |
backend handles full Unicode / UTF-8 correctly
Definition at line 172 of file ui_backend.h.
Referenced by ui_get_caps().