Project Alice
Loading...
Searching...
No Matches
iui Namespace Reference

Classes

struct  element_description
 
struct  iui_state
 
struct  rect
 

Enumerations

enum class  alignment_vertical : uint8_t { top , center , horizontal }
 
enum class  alignment_horizontal : uint8_t { left , center , right }
 
enum  iui_tab {
  none , factory_types , markets , commodities_markets ,
  commodities_nations
}
 

Functions

void shrink (rect &rectangle, float value)
 
void move_to (rect &rectangle, float x, float y)
 
rect subrect (rect &rectangle, float w, float h, alignment_horizontal align_hor, alignment_vertical align_vert)
 

Enumeration Type Documentation

◆ alignment_horizontal

enum class iui::alignment_horizontal : uint8_t
strong
Enumerator
left 
center 
right 

Definition at line 26 of file immediate_mode.hpp.

◆ alignment_vertical

enum class iui::alignment_vertical : uint8_t
strong
Enumerator
top 
center 
horizontal 

Definition at line 23 of file immediate_mode.hpp.

◆ iui_tab

Enumerator
none 
factory_types 
markets 
commodities_markets 
commodities_nations 

Definition at line 44 of file immediate_mode.hpp.

Function Documentation

◆ move_to()

void iui::move_to ( rect rectangle,
float  x,
float  y 
)

Definition at line 13 of file immediate_mode.cpp.

Here is the caller graph for this function:

◆ shrink()

void iui::shrink ( rect rectangle,
float  value 
)

Definition at line 6 of file immediate_mode.cpp.

Here is the caller graph for this function:

◆ subrect()

rect iui::subrect ( rect rectangle,
float  w,
float  h,
alignment_horizontal  align_hor,
alignment_vertical  align_vert 
)

Definition at line 18 of file immediate_mode.cpp.