#ifndef MSP_GLTK_ROW_H_
#define MSP_GLTK_ROW_H_
-#include "layout.h"
+#include "arrangement.h"
namespace Msp {
namespace GLtk {
-/**
-Arranges widgets in a single row.
-*/
-class Row: public Layout
+class Row: public Arrangement
{
private:
- bool uniform;
+ Edge next_right;
+ bool first;
+ bool split_here;
+ int gravity;
public:
- Row(bool = false);
+ Row(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