summaryrefslogtreecommitdiff
path: root/indra/newview/lltoast.h
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-10-30 12:03:47 -0700
committerSteve Bennetts <steve@lindenlab.com>2009-10-30 12:03:47 -0700
commit922a05c1fee127ceb8331f0e7a1b25664cd5dd31 (patch)
tree463dc151080f633897a95c417878357e71b291e2 /indra/newview/lltoast.h
parent31eac6e0eeae507a13a23a9116c87eb815ab8141 (diff)
parent6324cf82f290e88c3db677e1ced706560d5ca00b (diff)
merge
Diffstat (limited to 'indra/newview/lltoast.h')
-rw-r--r--indra/newview/lltoast.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h
index 0698c94880..b670f47045 100644
--- a/indra/newview/lltoast.h
+++ b/indra/newview/lltoast.h
@@ -63,7 +63,8 @@ public:
Optional<LLUUID> notif_id, //notification ID
session_id; //im session ID
Optional<LLNotificationPtr> notification;
- Optional<F32> lifetime_secs;
+ Optional<F32> lifetime_secs,
+ fading_time_secs; // Number of seconds while a toast is fading
Optional<toast_callback_t> on_delete_toast,
on_mouse_enter;
Optional<bool> can_fade,
@@ -157,6 +158,7 @@ private:
// timer counts a lifetime of a toast
LLTimer mTimer;
F32 mToastLifetime; // in seconds
+ F32 mToastFadingTime; // in seconds
LLPanel* mPanel;
LLButton* mHideBtn;