summaryrefslogtreecommitdiff
path: root/indra/llui/lltoolbarview.h
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-09-28 16:25:32 -0700
committerRichard Nelson <richard@lindenlab.com>2011-09-28 16:25:32 -0700
commit6a49f2947f05963c577a1644c16a8affc779da63 (patch)
treefc166c3c1ea4365de90e41dbceb4173a6f2ebcf9 /indra/llui/lltoolbarview.h
parentfc0f5173eb20fad8934420e6eec8873d71490894 (diff)
EXP-1234 WIP experimental drag and drop
Diffstat (limited to 'indra/llui/lltoolbarview.h')
-rw-r--r--indra/llui/lltoolbarview.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llui/lltoolbarview.h b/indra/llui/lltoolbarview.h
index 646a1fd636..cbe3d6c083 100644
--- a/indra/llui/lltoolbarview.h
+++ b/indra/llui/lltoolbarview.h
@@ -65,7 +65,10 @@ public:
virtual ~LLToolBarView();
virtual BOOL postBuild();
virtual void draw();
-
+ virtual BOOL handleHover(S32 x, S32 y, MASK mask);
+ virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
+ virtual void onMouseCaptureLost();
+ void startDrag(LLToolBarButton*);
// Toolbar view interface with the rest of the world
bool hasCommand(const LLCommandId& commandId) const;
@@ -85,6 +88,10 @@ private:
LLToolBar* mToolbarLeft;
LLToolBar* mToolbarRight;
LLToolBar* mToolbarBottom;
+ bool mDragging;
+ LLToolBarButton* mDragButton;
+ S32 mMouseX;
+ S32 mMouseY;
};
extern LLToolBarView* gToolBarView;