aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llviewerwindow.h
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/newview/llviewerwindow.h')
-rw-r--r--linden/indra/newview/llviewerwindow.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h
index a9f941c..da5fa4e 100644
--- a/linden/indra/newview/llviewerwindow.h
+++ b/linden/indra/newview/llviewerwindow.h
@@ -114,12 +114,18 @@ public:
114 // ACCESSORS 114 // ACCESSORS
115 // 115 //
116 LLView* getRootView() const { return mRootView; } 116 LLView* getRootView() const { return mRootView; }
117
118 // Window in raw pixels as seen on screen.
117 const LLRect& getWindowRect() const { return mWindowRect; }; 119 const LLRect& getWindowRect() const { return mWindowRect; };
120 S32 getWindowDisplayHeight() const;
121 S32 getWindowDisplayWidth() const;
122
123 // Window in scaled pixels (via UI scale), use this for
124 // UI elements checking size.
118 const LLRect& getVirtualWindowRect() const { return mVirtualWindowRect; }; 125 const LLRect& getVirtualWindowRect() const { return mVirtualWindowRect; };
119 S32 getWindowHeight() const; 126 S32 getWindowHeight() const;
120 S32 getWindowWidth() const; 127 S32 getWindowWidth() const;
121 S32 getWindowDisplayHeight() const; 128
122 S32 getWindowDisplayWidth() const;
123 LLWindow* getWindow() const { return mWindow; } 129 LLWindow* getWindow() const { return mWindow; }
124 void* getPlatformWindow() const { return mWindow->getPlatformWindow(); } 130 void* getPlatformWindow() const { return mWindow->getPlatformWindow(); }
125 void focusClient() const { return mWindow->focusClient(); }; 131 void focusClient() const { return mWindow->focusClient(); };