summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-12 23:07:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-12 23:28:39 +0300
commit81524e1cb634881b7c1629f7030facb308f5f853 (patch)
tree318f0ef6b48e49cb420760afd5fe2f728e35a309 /src/gui/widgets/tabs/setup_video.h
parent96aaa9f5d56637373fe474b0113b9e6ba083a12a (diff)
downloadplus-81524e1cb634881b7c1629f7030facb308f5f853.tar.gz
plus-81524e1cb634881b7c1629f7030facb308f5f853.tar.bz2
plus-81524e1cb634881b7c1629f7030facb308f5f853.tar.xz
plus-81524e1cb634881b7c1629f7030facb308f5f853.zip
Add option for enable high dpi mode in SDL 2.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.h')
-rw-r--r--src/gui/widgets/tabs/setup_video.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_video.h b/src/gui/widgets/tabs/setup_video.h
index 6c3b09e9e..e327a29d8 100644
--- a/src/gui/widgets/tabs/setup_video.h
+++ b/src/gui/widgets/tabs/setup_video.h
@@ -76,6 +76,10 @@ class Setup_Video final : public SetupTab,
bool mCustomCursorEnabled;
bool mEnableResize;
bool mNoFrame;
+#ifdef USE_SDL2
+ bool mAllowHighDPI;
+ CheckBox *mAllowHighDPICheckBox;
+#endif // USE_SDL2
CheckBox *mCustomCursorCheckBox;
CheckBox *mEnableResizeCheckBox;
CheckBox *mNoFrameCheckBox;