Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
label.h
1#ifndef OE_GUI_COMPONENT_LABEL_H
2#define OE_GUI_COMPONENT_LABEL_H
3
4#include "util/has_text.h"
5#include "util/has_color.h"
6
7#include "../component.h"
8
9namespace oe::gui::component
10{
11 class Label : public Component, public HasText, public HasColor
12 {
13 public:
14 Label(const std::string& caption = "", const int& align = 17); // align = Middle left
15 void generate();
16 };
17}
18#endif
Definition component.h:22
T * createChild(Args &&... args)
Definition component.h:64
Definition has_color.h:10
Definition has_text.h:10
Definition label.h:12
UI components.
Definition component.h:15