X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcolumn.h;h=75ee1d334fd4c10ec135910669c3f454f5a4ebb1;hb=HEAD;hp=92919be7a597f34616f34115234eb07485b2f4ef;hpb=a84c813859b6908c511b12ab7d82d6643f4f1a42;p=libs%2Fgltk.git diff --git a/source/column.h b/source/column.h index 92919be..d82c8ca 100644 --- a/source/column.h +++ b/source/column.h @@ -1,31 +1,19 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GLTK_COLUMN_H_ #define MSP_GLTK_COLUMN_H_ -#include "layout.h" +#include "lineararrangement.h" +#include "mspgltk_api.h" namespace Msp { namespace GLtk { -/** -Arranges widgets in a single column. -*/ -class Column: public Layout +class MSPGLTK_API Column: public LinearArrangement { -private: - bool uniform; - public: - Column(bool = false); + Column(Layout &); private: - virtual Slot *create_slot(Widget &); + void finish_widget(Widget &) override; }; } // namespace GLtk