- Refactoring of LLToast and LLScreenChannel classes: moved LLToast signals to the private section.
- Modified the screen channel's lists of toasts to store LLHandles instead of pointers and screen channel code to work with toast LLHandles.
Toasts were positioned as if side tray was expanded.
The fix is to reshape the so-called toasts screen channel (an area where toasts are drawn)
on entering/leaving mouse-look mode, so that the screen channel can notice that side tray get in/visible.
- Added two spinners to the Chat preferences tab that control NearbyToastLifeTime and NearbyToastFadingTime
- Added callbacks to the LLNearbyChatScreenChannel that update these properties if they were changed
Refactoring of LLToast:
- Removed code that was making toast transparent from LLToast::draw()
- Modified LLToast interface that relates to showing and hiding toast, so that all screen channels can use LLToast universally.
- Replaced in LLScreenChannel calling methods of old interface to new ones.
Details:
Provided resetting hovered toast field in screen channel when toast destroyed along viewer logging out.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/705/
--HG--
branch : product-engine
* reverted changes made previously by rev. f0663aa57134;
* added calculation of toast height difference based on LLTextBox::reshapeToFitText;
* added vertical centering of message textbox;
reviewed by Mike Antipov at
https://codereview.productengine.com/secondlife/r/195/
--HG--
branch : product-engine
- decreased on/offline notification toasts width from 305 to 220px;
- added toast right alignment;
- made toasts for long avatar names taller
(according to max length of avatar full name(63 characters) made 3 max line of message text in online/offline toasts, also corrected initial geometry parameters of panel_online_status_toast.xml to allow method LLToastPanel::snapToMessageHeigh works correctly);
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/182/
--HG--
branch : product-engine
made all type offers be embedded to the IM floater;
made showing offer toast if IM floater isn't visible;
corrected IM message counter on showing offer toast;
--HG--
branch : product-engine
Close button is partially positioned out of toast(floater). Usually, hovering or clicking
that "outer" part of the button can not be handled. The workaround is to position the button
on the floater and make the floater background invisible. Now close button is properly handled,
but toast is transparent. To fix this i added wrapper_panel that looks and behaves like a floater.
--HG--
branch : product-engine