summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-10-21 14:18:29 -0400
committerLoren Shih <seraph@lindenlab.com>2010-10-21 14:18:29 -0400
commit525de5554022b946641db446a5b5153f9e670e10 (patch)
treed7d679724515f6eb839f87161510ba0a0d06c89b /indra/llui/llmenugl.h
parent219cd6ecda60e1c48852f582f0994573fd0e10ae (diff)
parent71f56a2bc9697989cd012adb57abdc922aa8ae0a (diff)
Automated merge up from viewer-development
Diffstat (limited to 'indra/llui/llmenugl.h')
-rw-r--r--indra/llui/llmenugl.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h
index 19b738312e..35544402f4 100644
--- a/indra/llui/llmenugl.h
+++ b/indra/llui/llmenugl.h
@@ -397,6 +397,15 @@ public:
static const std::string ARROW_UP;
static const std::string ARROW_DOWN;
+ // for scrollable menus
+ typedef enum e_scrolling_direction
+ {
+ SD_UP = 0,
+ SD_DOWN = 1,
+ SD_BEGIN = 2,
+ SD_END = 3
+ } EScrollingDirection;
+
protected:
LLMenuGL(const LLMenuGL::Params& p);
friend class LLUICtrlFactory;
@@ -503,8 +512,7 @@ public:
S32 getShortcutPad() { return mShortcutPad; }
- void scrollItemsUp();
- void scrollItemsDown();
+ bool scrollItems(EScrollingDirection direction);
BOOL isScrollable() const { return mScrollable; }
static class LLMenuHolderGL* sMenuContainer;