mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
LibGfx: Unpublish Gfx::Point from global namespace
This commit is contained in:
parent
20cfd2a6bf
commit
9b87843af1
34 changed files with 51 additions and 53 deletions
|
@ -144,7 +144,7 @@ public:
|
|||
virtual void second_paint_event(PaintEvent&);
|
||||
|
||||
Gfx::Rect relative_rect() const { return m_relative_rect; }
|
||||
Point relative_position() const { return m_relative_rect.location(); }
|
||||
Gfx::Point relative_position() const { return m_relative_rect.location(); }
|
||||
|
||||
Gfx::Rect window_relative_rect() const;
|
||||
Gfx::Rect screen_relative_rect() const;
|
||||
|
@ -170,7 +170,7 @@ public:
|
|||
Yes };
|
||||
struct HitTestResult {
|
||||
Widget* widget { nullptr };
|
||||
Point local_position;
|
||||
Gfx::Point local_position;
|
||||
};
|
||||
HitTestResult hit_test(const Gfx::Point&, ShouldRespectGreediness = ShouldRespectGreediness::Yes);
|
||||
Widget* child_at(const Gfx::Point&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue