mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
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.
This commit is contained in:
parent
656b01eb0f
commit
116cf92156
212 changed files with 1144 additions and 1144 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
void set_name(const String& name) { m_name = name; }
|
||||
|
||||
bool is_selected(const VBWidget&) const;
|
||||
VBWidget* widget_at(const Gfx::Point&);
|
||||
VBWidget* widget_at(const Gfx::IntPoint&);
|
||||
|
||||
void set_should_snap_to_grip(bool snap) { m_should_snap_to_grid = snap; }
|
||||
bool should_snap_to_grid() const { return m_should_snap_to_grid; }
|
||||
|
@ -85,8 +85,8 @@ private:
|
|||
NonnullRefPtrVector<VBWidget> m_widgets;
|
||||
HashMap<GUI::Widget*, VBWidget*> m_gwidget_map;
|
||||
HashTable<VBWidget*> m_selected_widgets;
|
||||
Gfx::Point m_transform_event_origin;
|
||||
Gfx::Point m_next_insertion_position;
|
||||
Gfx::IntPoint m_transform_event_origin;
|
||||
Gfx::IntPoint m_next_insertion_position;
|
||||
Direction m_resize_direction { Direction::None };
|
||||
Direction m_mouse_direction_type { Direction::None };
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue