mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:57:34 +00:00
LibGfx: Unpublish Gfx::Point from global namespace
This commit is contained in:
parent
20cfd2a6bf
commit
9b87843af1
34 changed files with 51 additions and 53 deletions
|
@ -63,7 +63,7 @@ void PenTool::on_mousemove(GUI::MouseEvent& event)
|
|||
if (event.buttons() & GUI::MouseButton::Left || event.buttons() & GUI::MouseButton::Right) {
|
||||
GUI::Painter painter(m_widget->bitmap());
|
||||
|
||||
if (m_last_drawing_event_position != Point(-1, -1))
|
||||
if (m_last_drawing_event_position != Gfx::Point(-1, -1))
|
||||
painter.draw_line(m_last_drawing_event_position, event.position(), m_widget->color_for(event), m_thickness);
|
||||
else
|
||||
painter.draw_line(event.position(), event.position(), m_widget->color_for(event), m_thickness);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue