diff options
author | skolb <none@none> | 2010-03-08 14:54:54 -0800 |
---|---|---|
committer | skolb <none@none> | 2010-03-08 14:54:54 -0800 |
commit | 78abe4f5ffb02e14cd98f049b8100d20a82f3b1c (patch) | |
tree | 0c471654bd00737375e91f040d758716c82bffb2 /indra/llwindow/llwindow.cpp | |
parent | f39a87ef8384ede25a6597e678ac7609e9e64cc5 (diff) | |
parent | 2aa9ecb60235c96a42f3719fab9dbc6ea1bf50db (diff) |
Local merge
Diffstat (limited to 'indra/llwindow/llwindow.cpp')
-rw-r--r-- | indra/llwindow/llwindow.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp index 1c6c9e6e9d..b77deb003f 100644 --- a/indra/llwindow/llwindow.cpp +++ b/indra/llwindow/llwindow.cpp @@ -407,3 +407,30 @@ BOOL LLWindowManager::isWindowValid(LLWindow *window) { return sWindowList.find(window) != sWindowList.end(); } + +S32 LLDisplayInfo::getDisplayWidth() const +{ +#if LL_WINDOWS + return LLWindowWin32::getDisplayWidth(); +#elif LL_DARWIN + return LLWindowMacOSX::getDisplayWidth(); +#elif LL_SDL + return LLWindowSDL::getDisplayWidth(); +#else + return 1024; //*FIXME +#endif +} + +S32 LLDisplayInfo::getDisplayHeight() const +{ +#if LL_WINDOWS + return LLWindowWin32::getDisplayHeight(); +#elif LL_DARWIN + return LLWindowMacOSX::getDisplayHeight(); +#elif LL_SDL + return LLWindowSDL::getDisplayHeight(); +#else + return 768; //*FIXME +#endif +} + |