]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/row.h
Use the override specifier when overriding a virtual function
[libs/gltk.git] / source / row.h
index 6391008293ecb052439bca810614e1cf8d308c4e..678a3853cc2023b399286b628d3330ea6f0fce21 100644 (file)
@@ -1,28 +1,19 @@
 #ifndef MSP_GLTK_ROW_H_
 #define MSP_GLTK_ROW_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
 {
-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