Hasty Badger
Small UI library (a branch of Turbo Badger)
|
PreferredSize contains size preferences for a TBWidget. More...
#include <tb_widgets.h>
Public Member Functions | |
PreferredSize (int w, int h) | |
Public Attributes | |
int | min_w |
int | min_h |
The minimal preferred width and height. | |
int | max_w |
int | max_h |
The maximum preferred width and height. | |
int | pref_w |
int | pref_h |
The preferred width and height. | |
SIZE_DEP | size_dependency |
The size dependency when size is affected by constraints. | |
PreferredSize contains size preferences for a TBWidget.
This is calculated during layout for each widget from the current skin, widget preferences and LayoutParams.