summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-05-09 04:39:03 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-05-09 04:39:03 +0000
commitdbe0176552e070baef9a693252cb47dda97d1fb4 (patch)
tree8aaf4328e561ccfd21890f21a4d47a4d60922ec5 /indra/newview/llviewerwindow.h
parent1bad68eb4b7d712b02cbd4b74639fcf265983c8d (diff)
QAR-565 search-milestone2-merge (more web tabs in search)
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llviewerwindow.h')
-rw-r--r--indra/newview/llviewerwindow.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h
index cad3bb031f..08b90f05d7 100644
--- a/indra/newview/llviewerwindow.h
+++ b/indra/newview/llviewerwindow.h
@@ -114,12 +114,18 @@ public:
// ACCESSORS
//
LLView* getRootView() const { return mRootView; }
+
+ // Window in raw pixels as seen on screen.
const LLRect& getWindowRect() const { return mWindowRect; };
+ S32 getWindowDisplayHeight() const;
+ S32 getWindowDisplayWidth() const;
+
+ // Window in scaled pixels (via UI scale), use this for
+ // UI elements checking size.
const LLRect& getVirtualWindowRect() const { return mVirtualWindowRect; };
S32 getWindowHeight() const;
S32 getWindowWidth() const;
- S32 getWindowDisplayHeight() const;
- S32 getWindowDisplayWidth() const;
+
LLWindow* getWindow() const { return mWindow; }
void* getPlatformWindow() const { return mWindow->getPlatformWindow(); }
void focusClient() const { return mWindow->focusClient(); };