summaryrefslogtreecommitdiff
path: root/indra/llui/llaccordionctrl.h
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-01-26 16:30:51 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2010-01-26 16:30:51 +0200
commit05b91f636bee32f6343765dfbae96b103e14f5a2 (patch)
tree72874263d2f8c1a425dc0313f1a363ddc7c5218b /indra/llui/llaccordionctrl.h
parent71d47402514b26ea9adf768582ad7d8cfe1a1c74 (diff)
Fixed low bug EXT-4354(Dragging landmarks into landmark folders doesn't scroll window)
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llaccordionctrl.h')
-rw-r--r--indra/llui/llaccordionctrl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llui/llaccordionctrl.h b/indra/llui/llaccordionctrl.h
index 4cb0f38281..d57a42df32 100644
--- a/indra/llui/llaccordionctrl.h
+++ b/indra/llui/llaccordionctrl.h
@@ -81,6 +81,11 @@ public:
virtual BOOL handleRightMouseDown ( S32 x, S32 y, MASK mask);
virtual BOOL handleScrollWheel ( S32 x, S32 y, S32 clicks );
virtual BOOL handleKeyHere (KEY key, MASK mask);
+ virtual BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop,
+ EDragAndDropType cargo_type,
+ void* cargo_data,
+ EAcceptance* accept,
+ std::string& tooltip_msg);
//
// Call reshape after changing splitter's size
@@ -112,11 +117,15 @@ private:
void showScrollbar (S32 width, S32 height);
void hideScrollbar (S32 width, S32 height);
+ BOOL autoScroll (S32 x, S32 y);
+
private:
LLRect mInnerRect;
LLScrollbar* mScrollbar;
bool mSingleExpansion;
bool mFitParent;
+ bool mAutoScrolling;
+ F32 mAutoScrollRate;
};