Symphony Of Empires
widget.hpp File Reference
#include <cstddef>
#include <deque>
#include <functional>
#include <vector>
#include <string>
#include <memory>
#include <new>
#include <algorithm>
#include <glm/vec2.hpp>
#include "eng3d/ttf.hpp"
#include "eng3d/rectangle.hpp"
#include "eng3d/color.hpp"
#include "eng3d/utils.hpp"
Include dependency graph for widget.hpp:

Go to the source code of this file.

Classes

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...
 

Namespaces

 Eng3D
 
 UI
 

Enumerations

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...
 
enum class  UI::Align { UI::START , UI::END , UI::CENTER }
 
enum class  UI::Overflow { UI::CLAMP , UI::WRAP }