diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-16 09:17:49 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-16 09:41:56 +0100 |
commit | 2143da6434d3ee0d0e33c57533387b9f0f5fce30 (patch) | |
tree | 8e17e9def4c4fe384f9a19dfc63c7d79c17908b9 /Libraries/LibGUI/Splitter.h | |
parent | 2e6ab5811720a41825e2f2a22b2ec3027e361099 (diff) | |
download | serenity-2143da6434d3ee0d0e33c57533387b9f0f5fce30.zip |
LibGUI: Add forwarding header
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
Diffstat (limited to 'Libraries/LibGUI/Splitter.h')
-rw-r--r-- | Libraries/LibGUI/Splitter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Libraries/LibGUI/Splitter.h b/Libraries/LibGUI/Splitter.h index 9d7a59dff8..7f05f0b510 100644 --- a/Libraries/LibGUI/Splitter.h +++ b/Libraries/LibGUI/Splitter.h @@ -36,7 +36,7 @@ public: virtual ~Splitter() override; protected: - Splitter(Orientation, Widget* parent); + Splitter(Gfx::Orientation, Widget* parent); virtual void paint_event(PaintEvent&) override; virtual void resize_event(ResizeEvent&) override; @@ -52,7 +52,7 @@ private: void recompute_grabbable_rect(const Widget&, const Widget&); bool get_resize_candidates_at(const Gfx::Point&, Widget*&, Widget*&); - Orientation m_orientation; + Gfx::Orientation m_orientation; bool m_resizing { false }; Gfx::Point m_resize_origin; WeakPtr<Widget> m_first_resizee; @@ -69,7 +69,7 @@ public: private: explicit VerticalSplitter(Widget* parent) - : Splitter(Orientation::Vertical, parent) + : Splitter(Gfx::Orientation::Vertical, parent) { } }; @@ -81,7 +81,7 @@ public: private: explicit HorizontalSplitter(Widget* parent) - : Splitter(Orientation::Horizontal, parent) + : Splitter(Gfx::Orientation::Horizontal, parent) { } }; |