summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-07-02 00:38:13 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-07-02 00:38:13 +0000
commit39905b927d60e204438705728d2c214cb3f9ef81 (patch)
tree7bb617cc204514b233e081457d905693aa0ae409 /indra/newview/llchiclet.h
parent687cff0eb8dfe663b99e18cfd953e0764d8ab372 (diff)
merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@873 https://svn.aws.productengine.com/secondlife/pe/stable@888 -> viewer-2.0.0-pe-4
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r--indra/newview/llchiclet.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h
index 11c3356c46..65be9e183a 100644
--- a/indra/newview/llchiclet.h
+++ b/indra/newview/llchiclet.h
@@ -180,7 +180,7 @@ public:
Params(){};
};
- static LLChicletPanel* create();
+ ~LLChicletPanel();
LLChiclet* createChiclet(LLSD* imSessionId = NULL, S32 pos = 0);
@@ -200,10 +200,6 @@ public:
void removeAll();
- void arrange();
-
- ~LLChicletPanel();
-
void scrollLeft();
void scrollRight();
@@ -224,18 +220,22 @@ public:
void draw();
- BOOL postBuild();
-
protected:
LLChicletPanel(const Params&p);
friend class LLUICtrlFactory;
- bool needsScrolling();
+ void arrange();
bool canScrollRight();
bool canScrollLeft();
+ void showScrollButtonsIfNeeded();
+
+ S32 getFirstVisibleChiclet();
+
+ void reshapeScrollArea(S32 delta_width);
+
enum ScrollDirection
{
SCROLL_LEFT = 1,
@@ -255,8 +255,6 @@ protected:
chiclet_list_t mChicletList;
LLButton* mLeftScroll;
LLButton* mRightScroll;
- S32 mFirstToShow;
- S32 mLastToShow;
LLPanel* mScrollArea;
};