diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-08-12 17:29:50 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-08-12 17:29:50 +0000 |
commit | 80be4c1d2d73982ea2df6dd7ef3fc3465416c882 (patch) | |
tree | 9c5958572368be494b6302db8b03967a2c67b7ad /indra/newview/llviewerwindow.h | |
parent | a09f7d41efdb945755efaeb07f7418c1f6e2a78b (diff) |
QAR-767 Combined maint-render-7 and maint-viewer-9 merge
merge release@93398 viewer-merge-1@94007 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llviewerwindow.h')
-rw-r--r-- | indra/newview/llviewerwindow.h | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h index c7d02cb720..30a9d91de9 100644 --- a/indra/newview/llviewerwindow.h +++ b/indra/newview/llviewerwindow.h @@ -51,14 +51,13 @@ class LLView; class LLViewerObject; class LLUUID; -class LLMouseHandler; class LLProgressView; class LLTool; class LLVelocityBar; -class LLViewerWindow; class LLTextBox; class LLImageRaw; class LLHUDIcon; +class LLMouseHandler; #define PICK_HALF_WIDTH 5 #define PICK_DIAMETER (2 * PICK_HALF_WIDTH + 1) @@ -192,6 +191,7 @@ public: LLWindow* getWindow() const { return mWindow; } void* getPlatformWindow() const { return mWindow->getPlatformWindow(); } + void* getMediaWindow() const { return mWindow->getMediaWindow(); } void focusClient() const { return mWindow->focusClient(); }; LLCoordGL getLastMouse() const { return mLastMousePoint; } @@ -210,9 +210,6 @@ public: const LLPickInfo& getLastPick() const { return mLastPick; } const LLPickInfo& getHoverPick() const { return mHoverPick; } - LLUICtrl* getTopCtrl() const; - BOOL hasTopCtrl(LLView* view) const; - void setupViewport(S32 x_offset = 0, S32 y_offset = 0); void setup3DRender(); void setup2DRender(); @@ -261,24 +258,10 @@ public: void setNormalControlsVisible( BOOL visible ); void setMenuBackgroundColor(bool god_mode = false, bool dev_grid = false); - // Handle the application becoming active (frontmost) or inactive - //BOOL handleActivate(BOOL activate); - - void setKeyboardFocus(LLUICtrl* new_focus); // new_focus = NULL to release the focus. - LLUICtrl* getKeyboardFocus(); - BOOL hasKeyboardFocus( const LLUICtrl* possible_focus ) const; - BOOL childHasKeyboardFocus( const LLView* parent ) const; - - void setMouseCapture(LLMouseHandler* new_captor); // new_captor = NULL to release the mouse. - LLMouseHandler* getMouseCaptor() const; - - void setTopCtrl(LLUICtrl* new_top); // set new_top = NULL to release top_view. - void reshape(S32 width, S32 height); void sendShapeToSim(); void draw(); -// void drawSelectedObjects(); void updateDebugText(); void drawDebugText(); @@ -368,12 +351,8 @@ public: static bool alertCallback(S32 modal); -#ifdef SABINRIG - //Silly rig stuff - void printFeedback(); //RIG STUFF! -#endif //SABINRIG - private: + bool shouldShowToolTipFor(LLMouseHandler *mh); void switchToolByMask(MASK mask); void destroyWindow(); void drawMouselookInstructions(); |