summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
AgeCommit message (Collapse)Author
2011-04-12STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 11Vadim ProductEngine
Typo.
2011-04-12STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 10Vadim ProductEngine
Fixing a regression introduced in tier 1: not displaying the bottom tray buttons added when bottom tray was not wide enough display them, even after increasing the width to show all visible buttons. The fix is to mark such buttons as auto-hidden so that they appear as soon as we have enough free space.
2011-04-11STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 9Vadim ProductEngine
Removed unused methods.
2011-04-06Merging STORM-1028Vadim ProductEngine
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 7Vadim ProductEngine
* Removed dead code. * Minor comment changes.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 6Vadim ProductEngine
Fixed: if you slowly increase the viewer window width, the Speak button fails to expand.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 5Vadim ProductEngine
Changes to improve readability.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 4Vadim ProductEngine
When user manually toggles a button (via context menu), show it regardless of whether it has been auto-hidden. Tech note: Added showButton() method which does the same as processShowButton() did but the check for the button being auto-hidden.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 3Vadim ProductEngine
* Rewritten some code for better readability. Behavior should not be affected. * Debug prints and other minor changes.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 2Vadim ProductEngine
* When there is some free space and all auto-hidden buttons have been already shown, first extend the Speak button, then the others (was: vice versa). * Made the Speak button always have fixed width.
2011-04-06STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 1Vadim ProductEngine
Fixed bottom tray buttons not showing under some circumstances. (the fix was made weeks ago, so I don't remember what the circumstances are)
2011-03-29merge changes for storm-1077Oz Linden
2011-03-16STORM-1077 Change "Voice Enabled/Disabled" to "Speak Button"Jonathan Yap
2011-03-15eol fixesRichard Linden
2011-03-09Merge with tip of http://hg.secondlife.com/viewer-development (rev 14798)callum
2011-03-04STORM-236 WIP Additional fixes.Vadim ProductEngine
Fixed: * Wrong ability to place a button between the chat input and the drag handle (thanks Wolfpup!). * Broken drag-n-drop cursors.
2011-03-04STORM-236 WIP Minor code improvements.Vadim ProductEngine
- To decrease code duplication: * Added RS_BUTTON_SPEAK to the button->panel mapping (mStateProcessedObjectMap). * Replaces all lookups in mStateProcessedObjectMap with calls to getButtonPanel(). - Added some comments.
2011-03-04SOCIAL-603 FIX Move how to button to bottom barRichard Linden
moves scrollbar up from bottom of screen to leave room for resize thumb
2011-03-03STORM-236 FIXED Allow the "Speak" button to be removed, like other buttons.Vadim ProductEngine
Cumulative diff of changes made by Wolfpup, Richard and me. Description: * Ability to hide the Speak button with the bottom tray context menu. * Made the chat input resize handle visible, so that the feature is easily discoverable. * Applied Richard's fix to layout panel resizing logic.
2011-03-02SOCIAL-593 FIX Profile Window cannot be resized in minimal skinRichard Linden
floater view snapping rectangle is now driven by floater_snap_region view
2011-02-24SOCIAL-551 WIP add buttons to open people and profile windowsRichard Linden
people button now toggles according to people window visibility
2011-02-23SOCIAL-551 WIP Add buttons to open people and profile windowsRichard Linden
bottom tray button now toggles profile window
2010-12-02mergeMonroe Linden
2010-11-25STORM-344 FIXED Fixed Speak button label shrinking when bottom bar has ↵Andrew Productengine
enough space for displaying full Speak label. Bug was caused by counting only width added by last resize as usable for Speak button extending, so widening viewer window by few pixels many times when Speak is shrink would never let it expand regardless of available space. - Added check for possible chiclet panel shrinking width- cause spare space goes to it when extending. If there is enough space to give from chiclets to Speak, Speak is extended.
2010-11-15mergeRichard Linden
2010-10-26EXP-331 FIXED Avatar and Destination Guild UI Hints not showingRichard Linden
2010-10-21EXP-273 WIP added avatar picker popup and hintRichard Linden
2010-10-11EXP-166 FIXED Front an Side Preset Views not accessible in Skylight viewerRichard Nelson
2010-10-07EXP-156 FIXED custom Skylight hintsRichard Linden
moved move hint down to bottom of screen made destination hint go away on teleport
2010-10-06EXP-156 WIP Implement custom Skylight hintsRichard Nelson
2010-10-04Test mergecallum
2010-10-06STORM-187 ADDITIONAL FIX Fixed buttons autohiding in bottomtray on resize.Andrew Productengine
The bug was caused by moving nearby chat bar into panel inside layout panel instead of being layout panel itself in changeset 741eb25e921c without modifying get_panel_min_width() call which used that layout panel. This broke behaviour of LLBottomTray::processWidthDecreased(). - Fixed it by using this new nearby chat container layout panel in this call.
2010-09-28added xui param to turn off drag-and-drop reordering of bottom tray buttonsRichard Linden
2010-09-29STORM-291 FIXED Fixed the position of the nearby chat bar.Andrew Productengine
The bug was caused by moving nearby chat bar into panel inside layout panel instead of being layout panel itself without modifying code in LLBottomTray::loadButtonsOrder() which used that layout panel. - Fixed it by using this new nearby chat container layout panel in this method.
2010-09-22fixed buildRichard Linden
2010-09-22mergeRichard Linden
2010-09-22STORM-187 FIXED Fixed chatbar not getting back its width after ↵Andrew Productengine
opening/closing sidetray. The bug reproduced not only for opening/closing sidetray, but also when viewer window was resized. The chatbar's width was set to default on width increase, it was also shrunk even when there was enough space for it, and buttons could be shrunk instead. Also, width to which user resized it manually, was not used in resizes. Gave priority on resizes to nearby chat - i.e.: Before this fix priorities were- buttons are visible -> buttons are as wide as possible -> nearby is stretched. After this fix priorities are- buttons are visible -> nearby is stretched -> buttons are as wide as possible. - Added new member which stores width of nearbychat(either value that was recorded after user's manual resize of chatbar or default). Used it as a value to which chatbar tries to be resized on resizes. - Implemented the change of priorities described above in processWidthIncreased() and processWidthDecreased() methods.
2010-09-16mergeRichard Linden
2010-09-13merge storm-123Tofu Linden
2010-09-13STORM-101 FIXED Moved floater settings (rect, visibility, docked state) to ↵Vadim Savchuk
account-specific XML file. The settings are now stored to settings_per_account.xml. This change affects all floaters having save_rect/save_visibility/save_dock_state params set to "true", not just detached sidebar tabs as the ticket requests.
2010-09-13Little refactoring.Andrew Dyukov
Removed unused "mask" arguments from three sidetray methods.
2010-09-13STORM-123 FIXED Fixed resize availability of nearby chat in bottomtray.Andrew Dyukov
Cursor didn't change to "resize" state, because handlehover of bottomtray wasn't working correctly. It happened because LLPanel::handleHover() wasn't called in LLBottomtray::handleHover(). - There was no good reason to override habdleHover() in LLBottomTray so new method onDraggableButtonHover() was introduced to be called from bottomtray buttons(as it was already done for mouse up and down).
2010-09-10EXP-23 FIX Tail for chat box hint should be slantways instead of horizontalRichard Nelson
2010-09-07Fix some build errors.Tofu Linden
2010-09-06VWR-22690 FIXED Implemented save/load of bottomtray button order.Andrew Dyukov
- Added methods responsible for saving and loading order of buttons to bottomtray. Order is saved after each drag'n'drop to ensure user's customization of bottomtray is not lost because of crash. - Added additional argument to layoutstack movePanel() method which tells it to move panel to the beginning of mPanels vector without requiring a pointer to panel before which it should be inserted. Reviewed by Vadim Savchuk.
2010-09-06VWR-20705 VWR-20706 FIXED Implemented drag'n'drop of buttons in bottomtray.Andrew Dyukov
- Though visually user drags buttons, layout panels are really moved. To move one panel before other, new method movePanelBeforeOther() was added to layout stack. - When drag'n'drop is finished, order of panels in layout stack mToolbarStack is changed, and also order vectors are updated in bottomtray.These are vectors mButtonsProcessOrder and mButtonsOrder. mButtonsOrder was introduced in this changeset to store order of all bottomtray buttons that may change place via drag'n'drop and should save and load it between sessions. mButtonsProcessOrder is not enough for it because it contains only buttons that may be hidden(and for example Speak button is not included in it). - To pass mouse events from buttons to bottomtray, new class LLBottomtrayButton was added (and new widget bottomtray_button for it). Reviewed by Vadim Savchuk.
2010-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-25fixed regressions from changing layout panel to be a derived widget classRichard Linden
2010-08-24removed LLLayoutStack::fromXML custom xml parsingRichard Nelson
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.