Symphony Of Empires
UI

Classes

class  UI::BarChart
 Bar chart that draws horizontal bar chart. More...
 
class  UI::Button
 Button widget. More...
 
class  UI::CandleChart
 A graph chart. More...
 
class  UI::Chart
 A graph chart. More...
 
struct  UI::Checkbox
 Checkbox widget. More...
 
class  UI::CloseButton
 Button which kills the parent on click. More...
 
struct  UI::Div
 A basic widget without any presets. More...
 
class  UI::Group
 Grouping to keep widgets together without triggering events. More...
 
class  UI::Image
 Image widget, can display pictures or effects on the screen. More...
 
class  UI::AspectImage
 A version of the Image widget that keeps aspect ratio of the image (useful for flags) More...
 
class  UI::Input
 Input widget for keyboard inputs. More...
 
class  UI::Label
 Simple widget for drawing text on the screen, no multiline support. More...
 
class  UI::NumericInput
 A version of the Input widget that only allows numbers. More...
 
class  UI::PieChart
 Piechart widget. More...
 
class  UI::ScrollbarThumb
 The thumb of the scrollbar. More...
 
class  UI::Scrollbar
 Scrollbar widget. More...
 
class  UI::Slider
 Slider widget. More...
 
class  UI::TableElement
 An element on a table, operates on a k=v fashion where the key is used for sorting the table. More...
 
class  UI::TableRow
 A row of a table, contains table elements and specifies the width of the entire row. More...
 
class  UI::Text
 Multiline textbox that allows more descriptive paragraphs than the Label widget. More...
 
class  UI::Tooltip
 Tooltip widget, used entirely for hovering purpouses, don't use any other widget for hovering unless it inherits from Tooltip. More...
 
class  UI::Context
 The UI context that handles all the ui widgets. More...
 
struct  UI::WaffleChart
 A graph chart. More...
 
class  UI::ChartData
 Generalized chart data, used mostly by chart widgets, however it's not specific to any widget. More...
 
class  UI::Border
 Border class that defines the texture and size of borders of the widgets. More...
 
class  UI::Widget
 The master widget all the other widgets inherit from, do not use directly instead use one of the many derivated widgets - unless you're making a new widget type. More...
 
class  UI::Window
 Window widget, this widget is similar to a Group widget, the key difference is that this one can be moved along the screen. More...
 

Enumerations

enum class  UI::Direction { UI::LEFT_TO_RIGHT , UI::RIGHT_TO_LEFT , UI::TOP_TO_BOTTOM , UI::BOTTOM_TO_TOP }
 Progressbar widget. More...
 
enum class  UI::Origin {
  UI::CENTER , UI::MIDDLE_LEFT , UI::MIDDLE_RIGHT , UI::UPPER_LEFT ,
  UI::UPPER_MIDDLE , UI::UPPER_RIGHT , UI::LOWER_LEFT , UI::LOWER_MIDDLE ,
  UI::LOWER_RIGHT , UI::CENTER_SCREEN , UI::MIDDLE_LEFT_SCREEN , UI::MIDDLE_RIGHT_SCREEN ,
  UI::UPPER_LEFT_SCREEN , UI::UPPER_MIDDLE_SCREEN , UI::UPPER_RIGHT_SCREEN , UI::LOWER_LEFT_SCREEN ,
  UI::LOWER_MIDDLE_SCREEN , UI::LOWER_RIGHT_SCREEN
}
 The origin of the widget. More...
 
enum class  UI::WidgetType {
  UI::DIV , UI::BUTTON , UI::INPUT , UI::WINDOW ,
  UI::TOOLTIP , UI::LABEL , UI::IMAGE , UI::CHART ,
  UI::CHECKBOX , UI::PIE_CHART , UI::BAR_CHART , UI::PROGRESS_BAR ,
  UI::SLIDER , UI::GROUP , UI::SCROLLBAR , UI::TABLE ,
  UI::TABLE_ROW , UI::TABLE_ELEMENT , UI::SCROLLBAR_THUMB
}
 The type of the widget, some widgets share types between them to keep simplicity. More...
 
enum class  UI::Flex { UI::NONE , UI::ROW , UI::COLUMN }
 Ordering mode for flex. More...
 
enum class  UI::FlexJustify { UI::START , UI::END , UI::SPACE_BETWEEN , UI::SPACE_AROUND }
 Justification alignment for flex. More...
 

Detailed Description

The UI widgets used to create the interface

Enumeration Type Documentation

◆ Direction

enum UI::Direction
strong

Progressbar widget.

Enumerator
LEFT_TO_RIGHT 
RIGHT_TO_LEFT 
TOP_TO_BOTTOM 
BOTTOM_TO_TOP 

Definition at line 39 of file progress_bar.hpp.

◆ Flex

enum UI::Flex
strong

Ordering mode for flex.

Enumerator
NONE 
ROW 
COLUMN 

Definition at line 100 of file widget.hpp.

◆ FlexJustify

enum UI::FlexJustify
strong

Justification alignment for flex.

Enumerator
START 
END 
SPACE_BETWEEN 
SPACE_AROUND 

Definition at line 108 of file widget.hpp.

◆ Origin

enum UI::Origin
strong

The origin of the widget.

Enumerator
CENTER 
MIDDLE_LEFT 
MIDDLE_RIGHT 
UPPER_LEFT 
UPPER_MIDDLE 
UPPER_RIGHT 
LOWER_LEFT 
LOWER_MIDDLE 
LOWER_RIGHT 
CENTER_SCREEN 
MIDDLE_LEFT_SCREEN 
MIDDLE_RIGHT_SCREEN 
UPPER_LEFT_SCREEN 
UPPER_MIDDLE_SCREEN 
UPPER_RIGHT_SCREEN 
LOWER_LEFT_SCREEN 
LOWER_MIDDLE_SCREEN 
LOWER_RIGHT_SCREEN 

Definition at line 52 of file widget.hpp.

◆ WidgetType

enum UI::WidgetType
strong

The type of the widget, some widgets share types between them to keep simplicity.

Enumerator
DIV 
BUTTON 
INPUT 
WINDOW 
TOOLTIP 
LABEL 
IMAGE 
CHART 
CHECKBOX 
PIE_CHART 
BAR_CHART 
PROGRESS_BAR 
SLIDER 
GROUP 
SCROLLBAR 
TABLE 
TABLE_ROW 
TABLE_ELEMENT 
SCROLLBAR_THUMB 

Definition at line 76 of file widget.hpp.