mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +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
|
@ -102,8 +102,8 @@ void WaveWidget::paint_event(GUI::PaintEvent& event)
|
|||
for (size_t x = 1; x < buffer.size(); ++x) {
|
||||
int y = sample_to_y(buffer[x].left);
|
||||
|
||||
Point point1(prev_x * width_scale, prev_y);
|
||||
Point point2(x * width_scale, y);
|
||||
Gfx::Point point1(prev_x * width_scale, prev_y);
|
||||
Gfx::Point point2(x * width_scale, y);
|
||||
painter.draw_line(point1, point2, wave_color);
|
||||
|
||||
prev_x = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue