C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
UiConfig Struct Reference

Structure representing the configuration options for the UI runtime. More...

#include <ui_backend.h>

Collaboration diagram for UiConfig:
[legend]

Data Fields

bool cursor_visible
bool enable_alt_screen
bool enable_mouse

Detailed Description

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. By configuring these options appropriately, you can tailor the behavior of the UI runtime to suit your application's needs.

See also
ui_init

Definition at line 211 of file ui_backend.h.

Field Documentation

◆ cursor_visible

bool UiConfig::cursor_visible

Definition at line 214 of file ui_backend.h.

Referenced by ui_init().

◆ enable_alt_screen

bool UiConfig::enable_alt_screen

Definition at line 213 of file ui_backend.h.

Referenced by ui_init().

◆ enable_mouse

bool UiConfig::enable_mouse

Definition at line 212 of file ui_backend.h.

Referenced by ui_init().


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