summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindow.h
diff options
context:
space:
mode:
authorpavelkproductengine <pavelkproductengine@lindenlab.com>2016-07-13 20:28:29 +0300
committerpavelkproductengine <pavelkproductengine@lindenlab.com>2016-07-13 20:28:29 +0300
commit070116f2120e9e3e546a09d209ee3222affc7f93 (patch)
tree5ad7acb65628b2a613c5cfbaf4f7281b4018e997 /indra/llwindow/llwindow.h
parentb652774324e0cdf01cf7a75a45abb05391654809 (diff)
MAINT-6493 SL Viewer does not respect the Windows 10 display setting size slider
Diffstat (limited to 'indra/llwindow/llwindow.h')
-rw-r--r--indra/llwindow/llwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindow.h b/indra/llwindow/llwindow.h
index 0a30f4c807..a05ba8cbba 100644
--- a/indra/llwindow/llwindow.h
+++ b/indra/llwindow/llwindow.h
@@ -166,6 +166,8 @@ public:
// Provide native key event data
virtual LLSD getNativeKeyData() { return LLSD::emptyMap(); }
+ // Get system UI size based on DPI (for 96 DPI UI size should be 1.0)
+ virtual F32 getSystemUISize() { return 1.0; }
protected:
LLWindow(LLWindowCallbacks* callbacks, BOOL fullscreen, U32 flags);
virtual ~LLWindow();