diff options
author | Dave Parks <davep@lindenlab.com> | 2012-09-11 15:55:36 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-09-11 15:55:36 -0500 |
commit | 7aca8ad6b83be2d260b26bd5d27ff36ec7786cff (patch) | |
tree | d4858cb0d901fc27130cb60da617227e48a17569 /indra/newview/lltoolbarview.h | |
parent | d1c34bff3787c6228b5d89316079011a7f098cfc (diff) |
MAINT-1534 Fix for calls to find widgets getting out of hand.
Diffstat (limited to 'indra/newview/lltoolbarview.h')
-rw-r--r-- | indra/newview/lltoolbarview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lltoolbarview.h b/indra/newview/lltoolbarview.h index 9c4194ebed..7125dd9990 100644 --- a/indra/newview/lltoolbarview.h +++ b/indra/newview/lltoolbarview.h @@ -108,7 +108,8 @@ public: static BOOL handleDropTool(void* cargo_data, S32 x, S32 y, LLToolBar* toolbar); static void resetDragTool(LLToolBarButton* toolbarButton); LLInventoryObject* getDragItem(); - + LLView* getBottomToolbar() { return mBottomToolbarPanel; } + LLToolBar* getToolbar(EToolBarLocation toolbar) { return mToolbars[toolbar]; } bool isModified() const; protected: @@ -133,6 +134,7 @@ private: LLToolBarButton* mDragToolbarButton; LLInventoryObject* mDragItem; bool mShowToolbars; + LLView* mBottomToolbarPanel; }; extern LLToolBarView* gToolBarView; |