aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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(); };