Project Alice
Loading...
Searching...
No Matches
immediate_mode.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  iui::rect
 
struct  iui::element_description
 
struct  iui::iui_state
 

Namespaces

namespace  sys
 
namespace  ui
 
namespace  iui
 

Enumerations

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

Functions

void ui::render_text_chunk (sys::state &state, text::text_chunk t, float x, float baseline_y, uint16_t font_id, ogl::color3f text_color, ogl::color_modification cmod)
 
ogl::color3f ui::get_text_color (sys::state &state, text::text_color text_color)
 
void iui::shrink (rect &rectangle, float value)
 
void iui::move_to (rect &rectangle, float x, float y)
 
rect iui::subrect (rect &rectangle, float w, float h, alignment_horizontal align_hor, alignment_vertical align_vert)