mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
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.
This commit is contained in:
parent
2e6ab58117
commit
2143da6434
115 changed files with 220 additions and 338 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue