|
C-Menu 0.2.9
A User Interface Toolkit
|
Runtime state for the NotCurses backend. More...
#include </usr/local/src/C-Menu/src/ui/ui_notcurses_internal.h>
Data Fields | |
| bool | alt_screen |
| char | border_style |
| uint | cols |
| unsigned int | cols |
| bool | cursor_visible |
| uint | lines |
| unsigned int | lines |
| bool | mouse_enabled |
| struct notcurses * | nc |
| PANEL * | panel_main |
| SCREEN * | screen |
| FILE * | tty_fp |
Runtime state for the NotCurses backend.
Runtime state for the NCurses UI backend.
Wraps the struct notcurses* context created by notcurses_init() and carries per-session configuration flags.
Holds all NCurses session resources so that multiple independent sessions can coexist and the codebase is not dependent on global variables. The legacy globals screen and tty_fp in dwin.c are updated by ui_init() / ui_shutdown() for backward compatibility with code that has not yet been migrated to the UAL API.
Definition at line 68 of file ui_notcurses_internal.h.
| bool UiRuntime::alt_screen |
Definition at line 71 of file ui_notcurses_internal.h.
| char UiRuntime::border_style |
Definition at line 73 of file ui_notcurses_internal.h.
| uint UiRuntime::cols |
Definition at line 56 of file ui_ncurses_internal.h.
| unsigned int UiRuntime::cols |
Definition at line 75 of file ui_notcurses_internal.h.
Referenced by ui_get_screen_size(), ui_init(), and ui_init().
| bool UiRuntime::cursor_visible |
Definition at line 72 of file ui_notcurses_internal.h.
Referenced by ui_curs_set(), ui_cursor_enable(), ui_cursor_enable_yx(), ui_init(), and ui_init().
| uint UiRuntime::lines |
Definition at line 55 of file ui_ncurses_internal.h.
| unsigned int UiRuntime::lines |
Definition at line 74 of file ui_notcurses_internal.h.
Referenced by ui_get_screen_size(), ui_init(), and ui_init().
| bool UiRuntime::mouse_enabled |
Definition at line 70 of file ui_notcurses_internal.h.
Referenced by ui_get_caps(), ui_init(), ui_init(), and ui_shutdown().
| struct notcurses* UiRuntime::nc |
Definition at line 69 of file ui_notcurses_internal.h.
Referenced by ui_box_surface_new(), ui_curs_set(), ui_cursor_enable(), ui_cursor_enable_yx(), ui_get_event(), ui_get_event_multi(), ui_get_event_multix(), ui_get_event_no_mouse(), ui_get_screen_size(), ui_getch(), ui_init(), ui_mice_enable(), ui_mousemask(), ui_notcurses_get_nc(), ui_render(), ui_resume(), ui_shutdown(), ui_surface_addpad(), ui_surface_addwin(), ui_surface_new(), ui_suspend(), and ui_update_panels().
| PANEL* UiRuntime::panel_main |
Definition at line 57 of file ui_ncurses_internal.h.
| SCREEN* UiRuntime::screen |
NCurses SCREEN created by newterm()
Definition at line 49 of file ui_ncurses_internal.h.
| FILE * UiRuntime::tty_fp |
TTY file handle opened by ui_init()
Definition at line 76 of file ui_notcurses_internal.h.
Referenced by ui_init(), ui_init(), and ui_shutdown().