libsuit
0.1.1
SFML User Interface Toolkit
|
A set of widgets. More...
Classes | |
class | ui::Area |
An area on the window that contains widgets. More... | |
class | ui::Bin |
A widget with a single child. More... | |
class | ui::Button |
A button widget. More... | |
class | ui::Container |
A widget that contains several other widgets. More... | |
class | ui::DebugVisitor |
A visitor to draw a debug view of the widgets. More... | |
class | ui::Form |
A form widget. More... | |
struct | ui::Geometry |
The geometry of a widget. More... | |
class | ui::HBox |
A horizontal box. More... | |
class | ui::Label |
A label widget. More... | |
class | ui::Leaf |
A leaf widget. More... | |
class | ui::Select |
A select widget. More... | |
class | ui::Stack |
A stack widget. More... | |
class | ui::Table |
A table widget. More... | |
class | ui::Toggle |
A toggle widget. More... | |
class | ui::VBox |
A vertical box. More... | |
class | ui::VideoConfigWidget |
A video configuration widget. More... | |
class | ui::Widget |
An element of the graphical interface. More... | |
class | ui::WidgetVisitor |
A widget visitor. More... | |
Typedefs | |
typedef std::function< void()> | ui::Callback |
A generic callback function. More... | |
Enumerations | |
enum | ui::SizePolicy { ui::SizePolicy::EXACT, ui::SizePolicy::PREFERRED, ui::SizePolicy::MINIMUM } |
The size policy of a widget. More... | |
enum | ui::Alignment { ui::Alignment::START, ui::Alignment::CENTER, ui::Alignment::END } |
The alignement of a widget. More... | |
Functions | |
void | ui::computeGeometry (const Geometry &parent, Geometry &child) |
Compute the geometry of a child widget thanks to the geometry of its parent widget. More... | |
A set of widgets.
The widgets (descendant of ui::Widget) can be divided in two groups:
typedef std::function<void()> ui::Callback |
A generic callback function.
|
strong |
|
strong |
void ui::computeGeometry | ( | const Geometry & | parent, |
Geometry & | child | ||
) |
Compute the geometry of a child widget thanks to the geometry of its parent widget.
parent | the parent widget. |
child | the child widget. |