summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-06 13:03:24 +0000
committerManolo Gouy <Manolo>2018-03-06 13:03:24 +0000
commite94dd318be1298ababe71aeb4404f7a3655627f0 (patch)
treecc13aa762230458013d7e5ad096fd9d93650c2a6 /src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
parent1e96cc6b2f7f672776b3990df50347e0129f2215 (diff)
Windows: complete support for GUI rescaling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
index e4088b0c0..acc58c860 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
@@ -21,6 +21,7 @@
#include "Fl_GDI_Graphics_Driver.H"
#include <FL/Fl.H>
#include <FL/platform.H>
+#include <FL/fl_draw.H>
/*
@@ -232,7 +233,7 @@ void Fl_GDI_Graphics_Driver::scale(float f) {
if (f != scale_) {
size_ = 0;
scale_ = f;
-//fprintf(LOG,"set scale to %f\n",f);fflush(LOG);
+ line_style(FL_SOLID); // scale also default line width
}
}