summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-03-08 10:56:55 -0800
committerEli Linden <eli@lindenlab.com>2010-03-08 10:56:55 -0800
commit5917029eefbd32d9db29e2359f9dcc805caeec60 (patch)
treeab995985e3dcf011d9938ab78838b3f1e669ffab /indra/llwindow/llwindowwin32.cpp
parent72c6dc9698d0815bfd5b9ebefb401d92c6337500 (diff)
parent0e11e774f839abf4c7e051fc3b021fd6d470a092 (diff)
Merge
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r--indra/llwindow/llwindowwin32.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index c80392ad45..4be5d06c2b 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -3714,5 +3714,16 @@ std::vector<std::string> LLWindowWin32::getDynamicFallbackFontList()
return std::vector<std::string>();
}
+// static
+S32 LLWindowWin32::getDisplayWidth()
+{
+ return ::GetSystemMetrics(SM_CXVIRTUALSCREEN);
+}
+
+// static
+S32 LLWindowWin32::getDisplayHeight()
+{
+ return ::GetSystemMetrics(SM_CYVIRTUALSCREEN);
+}
#endif // LL_WINDOWS