X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frow.h;fp=source%2Frow.h;h=f8ebe6cc732ffd4c574380d8fbb899dec7f31fb5;hb=a84c813859b6908c511b12ab7d82d6643f4f1a42;hp=0000000000000000000000000000000000000000;hpb=01eaaef90f4c56cd4669d2f621e3061a938753eb;p=libs%2Fgltk.git diff --git a/source/row.h b/source/row.h new file mode 100644 index 0000000..f8ebe6c --- /dev/null +++ b/source/row.h @@ -0,0 +1,34 @@ +/* $Id$ + +This file is part of libmspgltk +Copyright © 2011 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + +#ifndef MSP_GLTK_ROW_H_ +#define MSP_GLTK_ROW_H_ + +#include "layout.h" + +namespace Msp { +namespace GLtk { + +/** +Arranges widgets in a single row. +*/ +class Row: public Layout +{ +private: + bool uniform; + +public: + Row(bool = false); + +private: + virtual Slot *create_slot(Widget &); +}; + +} // namespace GLtk +} // namespace Msp + +#endif