From 67bb631bd9d3b32e83fabe254a7a413034a13a96 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 30 Nov 2020 18:50:11 +0100 Subject: Scaling for Windows and X11: support rectangular loops. --- src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.H') diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index 36750f7d7..01014f49b 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -96,9 +96,8 @@ public: protected: void transformed_vertex0(float x, float y); void fixloop(); - // --- implementation is in src/fl_rect.cxx which includes src/cfg_gfx/gdi_rect.cxx virtual void point_unscaled(float x, float y); - void rect_unscaled(float x, float y, float w, float h); + virtual void rect(int x, int y, int w, int h); void focus_rect(int x, int y, int w, int h); void rectf_unscaled(float x, float y, float w, float h); virtual void line_unscaled(float x, float y, float x1, float y1); -- cgit v1.2.3