- Your Widget Set For OpenGL
#include <ustylehints.hpp>
Public Types | |
| enum | StyleHint { MinimumSizeHint, MaximumSizeHint, PreferredSizeHint, BorderHint, MarginHint, HAlignmentHint, VAlignmentHint, DirectionHint, OrientationHint, FontHint, PaletteHint, OpacityHint, BackgroundHint, IconHint, AllHints } |
Public Member Functions | |
| void | transcribe (UStyleHints *hints) |
| void | update (UStyleHints *hints) |
| UStyleHints * | clone () const |
Public Attributes | |
| UDimension | minimumSize |
| UDimension | maximumSize |
| UDimension | preferredSize |
| UBorderModel * | border |
| UInsets | margin |
| Alignment | hAlignment: 4 |
| Alignment | vAlignment: 4 |
| Direction | direction: 4 |
| Orientation | orientation: 4 |
| UFont | font |
| UPalette | palette |
| float | opacity |
| UDrawable * | background |
| UIcon * | icon |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const UStyleHints *hints) |
|
|
Every hint of |
|
|
Updates every default value of this style hint with the given values of |
|
|
the border of this widget |
|
|
the font of this widget |
|
|
the margin between widget content and border |