X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcolumn.h;h=c7efd3b503e63769477a92c85eadc3384fa31650;hb=646af3dd91a6ca981572a5b69a0f0bd205d9af49;hp=0e5f0040364d5c52055e1e44112670e84acb824a;hpb=df07e8f3e239b146cbc458d3cbd69758e590d255;p=libs%2Fgltk.git diff --git a/source/column.h b/source/column.h index 0e5f004..c7efd3b 100644 --- a/source/column.h +++ b/source/column.h @@ -1,24 +1,28 @@ #ifndef MSP_GLTK_COLUMN_H_ #define MSP_GLTK_COLUMN_H_ -#include "layout.h" +#include "arrangement.h" namespace Msp { namespace GLtk { -/** -Arranges widgets in a single column. -*/ -class Column: public Layout +class Column: public Arrangement { private: - bool uniform; + Edge next_bottom; + bool first; + bool split_here; + int gravity; public: - Column(bool = false); + Column(Layout &); + + void split(); private: - virtual Slot *create_slot(Widget &); + virtual void process_widget(Widget &, Side, bool); + virtual void finish_widget(Widget &); + virtual void finish_slot(); }; } // namespace GLtk