mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +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
|
@ -47,14 +47,14 @@ private:
|
|||
virtual void on_keydown(GUI::KeyEvent&) override;
|
||||
virtual void on_second_paint(GUI::Painter&, GUI::PaintEvent&) override;
|
||||
|
||||
void set_rubber_band_position(const Gfx::Point&);
|
||||
Gfx::Rect rubber_band_rect() const;
|
||||
void set_rubber_band_position(const Gfx::IntPoint&);
|
||||
Gfx::IntRect rubber_band_rect() const;
|
||||
|
||||
Gfx::Point m_drag_origin;
|
||||
HashMap<GUI::Widget*, Gfx::Point> m_positions_before_drag;
|
||||
Gfx::IntPoint m_drag_origin;
|
||||
HashMap<GUI::Widget*, Gfx::IntPoint> m_positions_before_drag;
|
||||
bool m_dragging { false };
|
||||
|
||||
bool m_rubber_banding { false };
|
||||
Gfx::Point m_rubber_band_origin;
|
||||
Gfx::Point m_rubber_band_position;
|
||||
Gfx::IntPoint m_rubber_band_origin;
|
||||
Gfx::IntPoint m_rubber_band_position;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue