diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-30 18:50:11 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-30 18:50:19 +0100 |
| commit | 67bb631bd9d3b32e83fabe254a7a413034a13a96 (patch) | |
| tree | 2a2c419cef687c1d0e8915d30351861fe45468ad /src/drivers/GDI/Fl_GDI_Graphics_Driver.H | |
| parent | ff372c86d8ef225ce87d1ff5539f2000e1849250 (diff) | |
Scaling for Windows and X11: support rectangular loops.
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
