From 7f78b1ef1468bb8242fb7fb37e3f27d0a8052ce1 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 9 Mar 2018 16:27:27 +0000 Subject: Windows: remove necessity to compile with -DFLTK_HIDPI_SUPPORT to make WIN32 FLTK apps DPI-aware. At this point, Windows FLTK apps detect HighDPI displays and rescale their GUI accordingly. They also all reply to ctrl/+/-/0/ keystrokes to enlarge/shrink/reset their windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/win32.H | 2 -- 1 file changed, 2 deletions(-) (limited to 'FL') diff --git a/FL/win32.H b/FL/win32.H index 0b77e1674..94cd44f78 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -55,9 +55,7 @@ extern FL_EXPORT struct Fl_XMap { COLORREF rgb; // this should be the type the RGB() macro returns HPEN pen; // pen, 0 if none created yet int brush; // ref to solid brush, 0 if none created yet -#ifdef FLTK_HIDPI_SUPPORT int pwidth; // the width of the pen, if present -#endif } *fl_current_xmap; inline COLORREF fl_RGB() {return fl_current_xmap->rgb;} inline HPEN fl_pen() {return fl_current_xmap->pen;} -- cgit v1.2.3