summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.h
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2009-11-10 18:45:51 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2009-11-10 18:45:51 +0200
commit3a8c80a388df64dd58b4dc77e7219dfdd20f4aac (patch)
treecc56171c06c1bb850e071305bc650ba67d2597e1 /indra/newview/llchiclet.h
parent555ad1342620672f95b903e5b3695fd47835c540 (diff)
fixed EXT-2275 "[BSI] New incoming IM or Group IM pushes all existing (and
new) chiclets off the right end of the chiclet bar." --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r--indra/newview/llchiclet.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h
index 97af82fe2f..e7afd7f08e 100644
--- a/indra/newview/llchiclet.h
+++ b/indra/newview/llchiclet.h
@@ -831,6 +831,16 @@ protected:
void onRightScrollClick();
/*
+ * Callback for right scroll button held down event
+ */
+ void onLeftScrollHeldDown();
+
+ /*
+ * Callback for left scroll button held down event
+ */
+ void onRightScrollHeldDown();
+
+ /*
* Callback for mouse wheel scrolled, calls scrollRight() or scrollLeft()
*/
BOOL handleScrollWheel(S32 x, S32 y, S32 clicks);
@@ -870,6 +880,7 @@ protected:
S32 mScrollingOffset;
S32 mMinWidth;
bool mShowControls;
+ static const S32 s_scroll_ratio;
};
template<class T>