mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +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
|
@ -50,17 +50,17 @@ Gfx::Palette Page::palette() const
|
|||
return static_cast<const PageView&>(m_client).palette();
|
||||
}
|
||||
|
||||
bool Page::handle_mouseup(const Gfx::Point& position, unsigned button, unsigned modifiers)
|
||||
bool Page::handle_mouseup(const Gfx::IntPoint& position, unsigned button, unsigned modifiers)
|
||||
{
|
||||
return main_frame().event_handler().handle_mouseup(position, button, modifiers);
|
||||
}
|
||||
|
||||
bool Page::handle_mousedown(const Gfx::Point& position, unsigned button, unsigned modifiers)
|
||||
bool Page::handle_mousedown(const Gfx::IntPoint& position, unsigned button, unsigned modifiers)
|
||||
{
|
||||
return main_frame().event_handler().handle_mousedown(position, button, modifiers);
|
||||
}
|
||||
|
||||
bool Page::handle_mousemove(const Gfx::Point& position, unsigned buttons, unsigned modifiers)
|
||||
bool Page::handle_mousemove(const Gfx::IntPoint& position, unsigned buttons, unsigned modifiers)
|
||||
{
|
||||
return main_frame().event_handler().handle_mousemove(position, buttons, modifiers);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue