summaryrefslogtreecommitdiff
path: root/indra/newview/llflashtimer.h
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-11-16 12:38:40 +0200
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-11-16 12:38:40 +0200
commit50b69c3f97c0b58791f7dd67f8b2fbdc9e8ef503 (patch)
tree1a97f8460be345cf88203222260d330b1fb09894 /indra/newview/llflashtimer.h
parent0b910871ab2935bde912314515f8b53ec3ff754e (diff)
CHUI-487, CHUI-488 W.I.P. #3 (Enable flashing FUI button behavior and Implement Flashing Conversations panel line item behavior): implemented conversation's item flashing
Diffstat (limited to 'indra/newview/llflashtimer.h')
-rw-r--r--indra/newview/llflashtimer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llflashtimer.h b/indra/newview/llflashtimer.h
index 95e458dff6..c030edfc52 100644
--- a/indra/newview/llflashtimer.h
+++ b/indra/newview/llflashtimer.h
@@ -42,13 +42,15 @@ public:
* @param period - how frequently callback should be called
* @param cb - callback to be called each tick
*/
- LLFlashTimer(callback_t cb, S32 count = 0, F32 period = 0.0);
+ LLFlashTimer(callback_t cb = NULL, S32 count = 0, F32 period = 0.0);
~LLFlashTimer() {};
/*virtual*/ BOOL tick();
void startFlashing();
void stopFlashing();
+ bool isFlashing() {return mIsFlashing;}
+ bool isHighlight() {return mIsHighlight;}
private:
callback_t mCallback;
@@ -57,6 +59,8 @@ private:
*/
S32 mFlashCount;
S32 mCurrentTickCount;
+ bool mIsHighlight;
+ bool mIsFlashing;
};
#endif /* LL_FLASHTIMER_H */