summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Splitter.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-10 10:57:59 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-10 10:59:04 +0200
commit116cf92156090bb3f5c15d5be145f1283884d65d (patch)
tree4496ab3e8c90add1c40da2eceee71324369ec0c6 /Libraries/LibGUI/Splitter.h
parent656b01eb0fb659fb2d3ee4e6e4413a82543414e3 (diff)
downloadserenity-116cf92156090bb3f5c15d5be145f1283884d65d.zip
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
Diffstat (limited to 'Libraries/LibGUI/Splitter.h')
-rw-r--r--Libraries/LibGUI/Splitter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Libraries/LibGUI/Splitter.h b/Libraries/LibGUI/Splitter.h
index 25de077667..4d048f5b3c 100644
--- a/Libraries/LibGUI/Splitter.h
+++ b/Libraries/LibGUI/Splitter.h
@@ -50,16 +50,16 @@ protected:
private:
void recompute_grabbable_rect(const Widget&, const Widget&);
- bool get_resize_candidates_at(const Gfx::Point&, Widget*&, Widget*&);
+ bool get_resize_candidates_at(const Gfx::IntPoint&, Widget*&, Widget*&);
Gfx::Orientation m_orientation;
bool m_resizing { false };
- Gfx::Point m_resize_origin;
+ Gfx::IntPoint m_resize_origin;
WeakPtr<Widget> m_first_resizee;
WeakPtr<Widget> m_second_resizee;
- Gfx::Size m_first_resizee_start_size;
- Gfx::Size m_second_resizee_start_size;
- Gfx::Rect m_grabbable_rect;
+ Gfx::IntSize m_first_resizee_start_size;
+ Gfx::IntSize m_second_resizee_start_size;
+ Gfx::IntRect m_grabbable_rect;
};
class VerticalSplitter final : public Splitter {