Euphoria
Public Member Functions | Public Attributes | List of all members
eu::mrgui::UiState Struct Reference

Public Member Functions

void begin ()
 
void end ()
 
bool is_active_free () const
 

Public Attributes

v2 mouse = { 0,0 }
 
bool mousedown = false
 
std::optional< u32hot_item = std::nullopt
 
std::optional< u32active_item = std::nullopt
 
bool active_item_locked = false
 
std::optional< u32kbd_item = std::nullopt
 
std::optional< u32last_widget = std::nullopt
 
std::optional< KeyboardInputkey = std::nullopt
 
std::optional< charkeychar = std::nullopt
 
TextEditState text_state
 

Detailed Description

Definition at line 39 of file widgets.h.

Member Function Documentation

◆ begin()

void eu::mrgui::UiState::begin ( )

◆ end()

void eu::mrgui::UiState::end ( )

◆ is_active_free()

bool eu::mrgui::UiState::is_active_free ( ) const

Member Data Documentation

◆ active_item

std::optional<u32> eu::mrgui::UiState::active_item = std::nullopt

Definition at line 44 of file widgets.h.

◆ active_item_locked

bool eu::mrgui::UiState::active_item_locked = false

Definition at line 45 of file widgets.h.

◆ hot_item

std::optional<u32> eu::mrgui::UiState::hot_item = std::nullopt

Definition at line 43 of file widgets.h.

◆ kbd_item

std::optional<u32> eu::mrgui::UiState::kbd_item = std::nullopt

Definition at line 47 of file widgets.h.

◆ key

std::optional<KeyboardInput> eu::mrgui::UiState::key = std::nullopt

Definition at line 49 of file widgets.h.

◆ keychar

std::optional<char> eu::mrgui::UiState::keychar = std::nullopt

Definition at line 50 of file widgets.h.

◆ last_widget

std::optional<u32> eu::mrgui::UiState::last_widget = std::nullopt

Definition at line 48 of file widgets.h.

◆ mouse

v2 eu::mrgui::UiState::mouse = { 0,0 }

Definition at line 41 of file widgets.h.

◆ mousedown

bool eu::mrgui::UiState::mousedown = false

Definition at line 42 of file widgets.h.

◆ text_state

TextEditState eu::mrgui::UiState::text_state

Definition at line 52 of file widgets.h.


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