libsuit  0.1.1
SFML User Interface Toolkit
Public Attributes | List of all members
ui::Geometry Struct Reference

The geometry of a widget. More...

#include <ui/Geometry.h>

Public Attributes

SizePolicy policy = SizePolicy::PREFERRED
 the size policy More...
 
float hint = 0.0f
 the desired size of the widget More...
 
float size = 0.0f
 the computed size of the widget More...
 
Alignment alignment = Alignment::CENTER
 the alignment of the widget More...
 
float start = 0.0f
 the computed start of the widget More...
 

Detailed Description

The geometry of a widget.

Member Data Documentation

Alignment ui::Geometry::alignment = Alignment::CENTER

the alignment of the widget

float ui::Geometry::hint = 0.0f

the desired size of the widget

SizePolicy ui::Geometry::policy = SizePolicy::PREFERRED

the size policy

float ui::Geometry::size = 0.0f

the computed size of the widget

float ui::Geometry::start = 0.0f

the computed start of the widget