mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17: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
|
@ -107,7 +107,7 @@ void Button::on_mouse_event(const MouseEvent& event)
|
|||
}
|
||||
}
|
||||
|
||||
Gfx::Rect Button::screen_rect() const
|
||||
Gfx::IntRect Button::screen_rect() const
|
||||
{
|
||||
return m_relative_rect.translated(m_frame.rect().location());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue