Public Member Functions | |
packer (panel *main, align::type alignment, int padding=0) | |
void | add (panel *item) |
void | pack () |
Private Types | |
typedef std::vector< panel * > | widget_vector |
typedef resizer< T > | resizer_type |
Private Member Functions | |
template<typename Ret, typename Tp, typename Arg1T, typename Arg2T> mem_fun1_impl< Ret, Tp, Arg1T, Arg2T > | mem_fun1 (Ret(Tp::*f)(Arg1T, Arg2T), Tp *obj, Arg2T arg) |
void | do_align (panel *p, unsigned int max) |
void | do_move (panel *p, int *pos) |
Private Attributes | |
widget_vector | widgets_ |
unsigned int | padding_ |
panel * | main_ |
align::type | align_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
aligment of the widgets |
|
main widget, we will try to place all widgets under it |
|
size of empty area between widgets on the line |
|
widgets to pack |