summaryrefslogtreecommitdiff
path: root/dggui/layout.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-01-08 12:43:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2022-01-22 23:15:29 +0100
commit414606b64aa6c6cf3209861b81a92a6af873937f (patch)
tree408992e785dde59748aa2f94bd8666f190575567 /dggui/layout.h
parent235ad6fbbce2e0ae9e06db960a5ba3b099936ace (diff)
Make UI events const refs and celan up redundant use of virtual with override.event_cleanup
Diffstat (limited to 'dggui/layout.h')
-rw-r--r--dggui/layout.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dggui/layout.h b/dggui/layout.h
index 860ecc2..e1b4092 100644
--- a/dggui/layout.h
+++ b/dggui/layout.h
@@ -91,7 +91,7 @@ public:
void setSpacing(size_t spacing);
// From Layout:
- virtual void layout() override = 0;
+ void layout() override = 0;
protected:
bool resizeChildren{false};
@@ -114,7 +114,7 @@ public:
void setHAlignment(HAlignment alignment);
// From BoxLayout:
- virtual void layout() override;
+ void layout() override;
protected:
HAlignment align;
@@ -136,7 +136,7 @@ public:
void setVAlignment(VAlignment alignment);
// From BoxLayout:
- virtual void layout() override;
+ void layout() override;
protected:
VAlignment align;
@@ -188,8 +188,8 @@ private:
};
CellSize calculateCellSize() const;
- void moveAndResize(
- LayoutItem& item, GridRange const& range, CellSize cell_size) const;
+ void moveAndResize(LayoutItem& item, GridRange const& range,
+ CellSize cell_size) const;
};
} // dggui::