diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-11-18 13:04:17 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-11-18 13:04:17 +0200 |
commit | c22a90669c78bd206593d112d44e9c6cbc1503fb (patch) | |
tree | e939de0b47e6a299799693eb92e63185a29c5b8c /indra/newview/llchiclet.h | |
parent | 812d18515ddefd11fe8c5fc7f655280a231670f5 (diff) |
Work on normal sub-task EXT-2553 (Change Sys well icon & Counter according to ALTERNATE design)
- implemented counter next to the left from an envelope icon.
- button now has fixed width for 3 digits.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r-- | indra/newview/llchiclet.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index eab4a282f5..bb5dc1e550 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -638,13 +638,14 @@ public: /*virtual*/ void setCounter(S32 counter); - /*virtual*/S32 getCounter() { return mCounterCtrl->getCounter(); } - - /*virtual*/ void setShowCounter(bool show); + // *TODO: mantipov: seems getCounter is not necessary for LLNotificationChiclet + // but inherited interface requires it to implement. + // Probably it can be safe removed. + /*virtual*/S32 getCounter() { return mCounter; } boost::signals2::connection setClickCallback(const commit_callback_t& cb); - /*virtual*/ ~ LLNotificationChiclet(); + /*virtual*/ ~LLNotificationChiclet(); // methods for updating a number of unread System notifications void incUreadSystemNotifications() { setCounter(++mUreadSystemNotifications); } @@ -662,7 +663,7 @@ protected: protected: LLButton* mButton; - LLChicletNotificationCounterCtrl* mCounterCtrl; + S32 mCounter; }; /* |