#ifndef MSP_GLTK_ROW_H_
#define MSP_GLTK_ROW_H_
-#include <msp/datafile/objectloader.h>
-#include "arrangement.h"
+#include "lineararrangement.h"
+#include "mspgltk_api.h"
namespace Msp {
namespace GLtk {
-class Row: public Arrangement
+class MSPGLTK_API Row: public LinearArrangement
{
-public:
- class Loader: public DataFile::ObjectLoader<Row>
- {
- public:
- Loader(Row &);
- private:
- void split();
- };
-
-private:
- Edge next_right;
- bool first;
- bool split_here;
- int gravity;
-
public:
Row(Layout &);
- void split();
-
private:
- virtual void process_widget(Widget &, Side, bool);
- virtual void finish_widget(Widget &);
- virtual void finish_slot();
+ void finish_widget(Widget &) override;
};
} // namespace GLtk