diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-12-15 18:56:38 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-12-15 18:56:38 +0200 |
commit | 5eb82cdeaa4202ee696308b421d68061d4029b8c (patch) | |
tree | 33d752c74a0cc29a7380798f5ca8f62e99f453a5 /indra/newview/llsyswellwindow.h | |
parent | eccc3ed597121ec49ae9a9979200985cc80e9edd (diff) |
Work on task EXT-3147 (Implement new states for message indicators)
-- Implemented requirement: Opening either Message Well will clear the "new messages" state (and thus the "lit" status),
even though there may still be unread messages
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llsyswellwindow.h')
-rw-r--r-- | indra/newview/llsyswellwindow.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llsyswellwindow.h b/indra/newview/llsyswellwindow.h index 43b2723df0..fea145a17e 100644 --- a/indra/newview/llsyswellwindow.h +++ b/indra/newview/llsyswellwindow.h @@ -47,6 +47,7 @@ class LLFlatListView; class LLChiclet; class LLIMChiclet; class LLScriptChiclet; +class LLSysWellChiclet; class LLSysWellWindow : public LLDockableFloater @@ -78,6 +79,8 @@ public: void onStartUpToastClick(S32 x, S32 y, MASK mask); + void setSysWellChiclet(LLSysWellChiclet* chiclet) { mSysWellChiclet = chiclet; } + // size constants for the window and for its elements static const S32 MAX_WINDOW_HEIGHT = 200; static const S32 MIN_WINDOW_WIDTH = 318; @@ -104,12 +107,18 @@ protected: virtual const std::string& getAnchorViewName() = 0; void reshapeWindow(); + void releaseNewMessagesState(); // pointer to a corresponding channel's instance LLNotificationsUI::LLScreenChannel* mChannel; LLFlatListView* mMessageList; /** + * Reference to an appropriate Well chiclet to release "new message" state. EXT-3147 + */ + LLSysWellChiclet* mSysWellChiclet; + + /** * Special panel which is used as separator of Notifications & IM Rows. * It is always presents in the list and shown when it is necessary. * It should be taken into account when reshaping and checking list size |