 |
Gorgon Game Engine
|
Go to the documentation of this file.
3 #include "../UI/Template.h"
4 #include "../Graphics/Color.h"
5 #include "../Graphics/Font.h"
6 #include "../Graphics/Rectangle.h"
7 #include "../Graphics/MaskedObject.h"
10 namespace Gorgon {
namespace Widgets {
136 explicit SimpleGenerator(
int fontsize, std::string fontname =
"",
bool activate =
true,
float density = 7.5);
144 void Init(
int fontsize = 14, std::string fontname =
"");
203 return lettervsize.first + lettervsize.second;
313 UI::Template makepanel(
int missingedge,
bool scrollers);
358 std::pair<int, int> lettervsize, asciivsize;
This class represents a color information.
Definition: Color.h:91
constexpr RGBA Crimson
Definition: Color.h:717
This class stores visual information about a widget template.
Definition: Template.h:392
constexpr RGBA White
Definition: Color.h:731
constexpr RGBA Black
Definition: Color.h:653
Should be implemented by the systems aimed to render fonts on the screen.
Definition: Font.h:67
constexpr RGBA DarkGrey
Definition: Color.h:704
constexpr RGBA Charcoal
Definition: Color.h:797
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
This class represents a 2D geometric size.
Definition: Size.h:23
constexpr RGBA Tan
Definition: Color.h:639
Collection is a container for reference typed objects.
Definition: Collection.h:21
This object creates a masked object from two graphics object.
Definition: MaskedObject.h:109
constexpr RGBA Grey
Definition: Color.h:631
constexpr RGBA Ivory
Definition: Color.h:895
This class allows instancing of a rectangle like image that is made out of three parts.
Definition: Rectangle.h:185
Defines a visual component.
Definition: Template.h:1580
constexpr RGBA LightGrey
Definition: Color.h:725
This text renderer can style text according to the set parameters.
Definition: Font.h:461
constexpr RGBA Red
Definition: Color.h:623