summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-06-27 12:17:29 +0000
committerManolo Gouy <Manolo>2017-06-27 12:17:29 +0000
commit7f15c3010c4bca0e1e8598dd12a6bc637c10f8e6 (patch)
treeda6ace2faa96ef49472495d54a5b19293e63bc47 /FL
parent7fbf318c53bc194919cf518536e108bc75edaa80 (diff)
WIN32 platform: more progress for full HiDPI support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/win32.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/win32.H b/FL/win32.H
index 3a9b74c32..06a9ef881 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -55,6 +55,9 @@ 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;}