mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:05:07 +00:00
LibGfx: Unpublish Gfx::Rect from global namespace
This commit is contained in:
parent
c39d44fc2e
commit
20cfd2a6bf
78 changed files with 262 additions and 260 deletions
|
@ -168,11 +168,11 @@ void CursorTool::set_rubber_band_position(const Gfx::Point& position)
|
|||
m_editor.form_widget().update();
|
||||
}
|
||||
|
||||
Rect CursorTool::rubber_band_rect() const
|
||||
Gfx::Rect CursorTool::rubber_band_rect() const
|
||||
{
|
||||
if (!m_rubber_banding)
|
||||
return {};
|
||||
return Rect::from_two_points(m_rubber_band_origin, m_rubber_band_position);
|
||||
return Gfx::Rect::from_two_points(m_rubber_band_origin, m_rubber_band_position);
|
||||
}
|
||||
|
||||
void CursorTool::on_second_paint(GUI::Painter& painter, GUI::PaintEvent&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue