Project Alice
Loading...
Searching...
No Matches
ui::text_data Struct Reference

#include <gui_graphics.hpp>

Inheritance diagram for ui::text_data:
Collaboration diagram for ui::text_data:

Public Member Functions

text_background get_text_background () const
 
bool is_fixed_size () const
 
bool is_instant () const
 
bool is_edit () const
 
- Public Member Functions inherited from ui::text_base_data
alignment get_alignment () const
 

Public Attributes

xy_pair border_size
 
- Public Attributes inherited from ui::text_base_data
dcon::text_key txt
 
uint16_t font_handle = 0
 
uint16_t flags = 0
 

Static Public Attributes

static constexpr uint8_t background_mask = (0x03 << text_background_bit_offset)
 
static constexpr uint8_t is_fixed_size_mask = (0x01 << (text_background_bit_offset + 2))
 
static constexpr uint8_t is_instant_mask = (0x01 << (text_background_bit_offset + 3))
 
static constexpr uint8_t is_edit_mask = (0x01 << (text_background_bit_offset + 4))
 
- Static Public Attributes inherited from ui::text_base_data
static constexpr uint16_t alignment_mask = 0x03
 

Detailed Description

Definition at line 166 of file gui_graphics.hpp.

Member Function Documentation

◆ get_text_background()

text_background ui::text_data::get_text_background ( ) const
inline

Definition at line 174 of file gui_graphics.hpp.

◆ is_edit()

bool ui::text_data::is_edit ( ) const
inline

Definition at line 183 of file gui_graphics.hpp.

◆ is_fixed_size()

bool ui::text_data::is_fixed_size ( ) const
inline

Definition at line 177 of file gui_graphics.hpp.

◆ is_instant()

bool ui::text_data::is_instant ( ) const
inline

Definition at line 180 of file gui_graphics.hpp.

Member Data Documentation

◆ background_mask

constexpr uint8_t ui::text_data::background_mask = (0x03 << text_background_bit_offset)
staticconstexpr

Definition at line 167 of file gui_graphics.hpp.

◆ border_size

xy_pair ui::text_data::border_size

Definition at line 172 of file gui_graphics.hpp.

◆ is_edit_mask

constexpr uint8_t ui::text_data::is_edit_mask = (0x01 << (text_background_bit_offset + 4))
staticconstexpr

Definition at line 170 of file gui_graphics.hpp.

◆ is_fixed_size_mask

constexpr uint8_t ui::text_data::is_fixed_size_mask = (0x01 << (text_background_bit_offset + 2))
staticconstexpr

Definition at line 168 of file gui_graphics.hpp.

◆ is_instant_mask

constexpr uint8_t ui::text_data::is_instant_mask = (0x01 << (text_background_bit_offset + 3))
staticconstexpr

Definition at line 169 of file gui_graphics.hpp.


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