]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/column.h
Combine common parts of Column and Row into LinearArrangement
[libs/gltk.git] / source / column.h
index 0e5f0040364d5c52055e1e44112670e84acb824a..75ee1d334fd4c10ec135910669c3f454f5a4ebb1 100644 (file)
@@ -1,24 +1,18 @@
 #ifndef MSP_GLTK_COLUMN_H_
 #define MSP_GLTK_COLUMN_H_
 
-#include "layout.h"
+#include "lineararrangement.h"
 
 namespace Msp {
 namespace GLtk {
 
-/**
-Arranges widgets in a single column.
-*/
-class Column: public Layout
+class Column: public LinearArrangement
 {
-private:
-       bool uniform;
-
 public:
-       Column(bool = false);
+       Column(Layout &);
 
 private:
-       virtual Slot *create_slot(Widget &);
+       virtual void finish_widget(Widget &);
 };
 
 } // namespace GLtk