![]() |
Gamedev Framework (gf)
0.2.0
A C++11 framework for 2D games
|
Layout of a user interface. More...
#include <gf/UI.h>
Public Attributes | |
float | widgetHeight = 20.0f |
The height of the widgets. More... | |
float | textHeight = 12.0f |
The size of the text. More... | |
float | defaultSpacing = 4.0f |
The default spacing between widgets. More... | |
float | areaHeader = 20.0f |
The height of the area header. More... | |
float | scrollAreaPadding = 6.0f |
The padding of the scroll area. More... | |
float | scrollAreaCorner = 6.0f |
The corner size of the scroll area. More... | |
float | buttonCorner = 9.0f |
The corner size of a button. More... | |
float | itemCorner = 2.0f |
The corner size of an item. More... | |
float | checkSize = 11.0f |
The size of a check. More... | |
float | checkCorner = 4.0f |
The corner size of a check. More... | |
float | sliderCorner = 4.0f |
The corner size of a slider. More... | |
float | sliderMarkerWidth = 10.0f |
The width of a marker. More... | |
float | cycleCorner = 4.0f |
The corner size of a cycle. More... | |
float | indentSize = 16.0f |
The indent size. More... | |
Layout of a user interface.
The layout contains several metrics that are used to compute the size and the shape of the widgets.
float gf::UILayout::areaHeader = 20.0f |
The height of the area header.
float gf::UILayout::buttonCorner = 9.0f |
The corner size of a button.
float gf::UILayout::checkCorner = 4.0f |
The corner size of a check.
float gf::UILayout::checkSize = 11.0f |
The size of a check.
float gf::UILayout::cycleCorner = 4.0f |
The corner size of a cycle.
float gf::UILayout::defaultSpacing = 4.0f |
The default spacing between widgets.
float gf::UILayout::indentSize = 16.0f |
The indent size.
float gf::UILayout::itemCorner = 2.0f |
The corner size of an item.
float gf::UILayout::scrollAreaCorner = 6.0f |
The corner size of the scroll area.
float gf::UILayout::scrollAreaPadding = 6.0f |
The padding of the scroll area.
float gf::UILayout::sliderCorner = 4.0f |
The corner size of a slider.
float gf::UILayout::sliderMarkerWidth = 10.0f |
The width of a marker.
float gf::UILayout::textHeight = 12.0f |
The size of the text.
float gf::UILayout::widgetHeight = 20.0f |
The height of the widgets.