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

#include <gui_graphics.hpp>

Collaboration diagram for ui::scrollbar_data:

Public Member Functions

step_size get_step_size () const
 
bool is_range_limited () const
 
bool is_lockable () const
 
bool is_horizontal () const
 

Public Attributes

xy_pair border_size
 
uint16_t max_value = 1
 
dcon::gui_def_id first_child
 
uint8_t num_children = 0
 
uint8_t flags = 0
 

Static Public Attributes

static constexpr uint8_t step_size_mask = 0x47
 
static constexpr uint8_t is_range_limited_mask = 0x08
 
static constexpr uint8_t is_lockable_mask = 0x10
 
static constexpr uint8_t is_horizontal_mask = 0x20
 

Detailed Description

Definition at line 227 of file gui_graphics.hpp.

Member Function Documentation

◆ get_step_size()

step_size ui::scrollbar_data::get_step_size ( ) const
inline

Definition at line 239 of file gui_graphics.hpp.

Here is the caller graph for this function:

◆ is_horizontal()

bool ui::scrollbar_data::is_horizontal ( ) const
inline

Definition at line 248 of file gui_graphics.hpp.

Here is the caller graph for this function:

◆ is_lockable()

bool ui::scrollbar_data::is_lockable ( ) const
inline

Definition at line 245 of file gui_graphics.hpp.

◆ is_range_limited()

bool ui::scrollbar_data::is_range_limited ( ) const
inline

Definition at line 242 of file gui_graphics.hpp.

Member Data Documentation

◆ border_size

xy_pair ui::scrollbar_data::border_size

Definition at line 233 of file gui_graphics.hpp.

◆ first_child

dcon::gui_def_id ui::scrollbar_data::first_child

Definition at line 235 of file gui_graphics.hpp.

◆ flags

uint8_t ui::scrollbar_data::flags = 0

Definition at line 237 of file gui_graphics.hpp.

◆ is_horizontal_mask

constexpr uint8_t ui::scrollbar_data::is_horizontal_mask = 0x20
staticconstexpr

Definition at line 231 of file gui_graphics.hpp.

◆ is_lockable_mask

constexpr uint8_t ui::scrollbar_data::is_lockable_mask = 0x10
staticconstexpr

Definition at line 230 of file gui_graphics.hpp.

◆ is_range_limited_mask

constexpr uint8_t ui::scrollbar_data::is_range_limited_mask = 0x08
staticconstexpr

Definition at line 229 of file gui_graphics.hpp.

◆ max_value

uint16_t ui::scrollbar_data::max_value = 1

Definition at line 234 of file gui_graphics.hpp.

◆ num_children

uint8_t ui::scrollbar_data::num_children = 0

Definition at line 236 of file gui_graphics.hpp.

◆ step_size_mask

constexpr uint8_t ui::scrollbar_data::step_size_mask = 0x47
staticconstexpr

Definition at line 228 of file gui_graphics.hpp.


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