Commit Graph

178 Commits (c797cf6500a79f361ddfbaec589d64178efafcff)

Author SHA1 Message Date
Oz Linden 9c0757511e merge changes for storm-1077 2011-03-29 19:19:24 -04:00
Jonathan Yap d9015a836f STORM-1077 Change "Voice Enabled/Disabled" to "Speak Button" 2011-03-16 18:32:28 -04:00
Richard Linden a024493c04 eol fixes 2011-03-15 13:36:23 -07:00
callum aac70bccad Merge with tip of http://hg.secondlife.com/viewer-development (rev 14798) 2011-03-09 15:34:43 -08:00
Vadim ProductEngine 176b025a26 STORM-236 WIP Additional fixes.
Fixed:
* Wrong ability to place a button between the chat input and the drag handle (thanks Wolfpup!).
* Broken drag-n-drop cursors.
2011-03-04 19:10:54 +02:00
Vadim ProductEngine 211465b772 STORM-236 WIP Minor code improvements.
- 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-04 13:46:57 +02:00
Richard Linden 25ad57c4b6 SOCIAL-603 FIX Move how to button to bottom bar
moves scrollbar up from bottom of screen to leave room for resize thumb
2011-03-04 00:40:38 -08:00
Vadim ProductEngine 0247cd6aeb STORM-236 FIXED Allow the "Speak" button to be removed, like other buttons.
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-03 20:49:42 +02:00
Richard Linden 92403b4ea1 SOCIAL-593 FIX Profile Window cannot be resized in minimal skin
floater view snapping rectangle is now driven by floater_snap_region view
2011-03-02 21:05:03 -08:00
Richard Linden 83e92c6190 SOCIAL-551 WIP add buttons to open people and profile windows
people button now toggles according to people window visibility
2011-02-24 18:37:30 -08:00
Richard Linden 20ad5181ba SOCIAL-551 WIP Add buttons to open people and profile windows
bottom tray button now toggles profile window
2011-02-23 16:44:04 -08:00
Monroe Linden 1e050c2ed8 merge 2010-12-02 14:33:42 -08:00
Andrew Productengine 2b39cf6c2d STORM-344 FIXED Fixed Speak button label shrinking when bottom bar has 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-25 17:51:33 +02:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Richard Linden 4df678e334 EXP-331 FIXED Avatar and Destination Guild UI Hints not showing 2010-10-26 11:24:32 -07:00
Richard Linden e638204dc2 EXP-273 WIP added avatar picker popup and hint 2010-10-21 17:14:14 -07:00
Richard Nelson 7c256e5a13 EXP-166 FIXED Front an Side Preset Views not accessible in Skylight viewer 2010-10-11 15:48:36 -07:00
Richard Linden d8e40a49ed EXP-156 FIXED custom Skylight hints
moved move hint down to bottom of screen
made destination hint go away on teleport
2010-10-07 15:35:17 -07:00
Richard Nelson 01b28ddf5d EXP-156 WIP Implement custom Skylight hints 2010-10-06 20:10:36 -07:00
callum 21c8dea4e4 Test merge 2010-10-04 17:40:59 -07:00
Andrew Productengine 0fe2156f87 STORM-187 ADDITIONAL FIX Fixed buttons autohiding in bottomtray on resize.
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-10-06 19:15:49 +03:00
Richard Linden ebb4920894 added xui param to turn off drag-and-drop reordering of bottom tray buttons 2010-09-28 17:13:24 -07:00
Andrew Productengine 283763d090 STORM-291 FIXED Fixed the position of the nearby chat bar.
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-29 16:36:58 +03:00
Richard Linden 0034bdc38b fixed build 2010-09-22 20:12:06 -07:00
Richard Linden abe758d45f merge 2010-09-22 19:11:29 -07:00
Andrew Productengine 2a1d4b375e STORM-187 FIXED Fixed chatbar not getting back its width after 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-22 18:20:01 +03:00
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Tofu Linden f310e6fd37 merge storm-123 2010-09-13 18:43:17 +01:00
Vadim Savchuk baeded61a7 STORM-101 FIXED Moved floater settings (rect, visibility, docked state) to 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-13 20:06:48 +03:00
Andrew Dyukov 026b2abf91 Little refactoring.
Removed unused "mask" arguments from three sidetray methods.
2010-09-13 18:19:59 +03:00
Andrew Dyukov 5bb98a3954 STORM-123 FIXED Fixed resize availability of nearby chat in bottomtray.
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-13 18:06:12 +03:00
Richard Nelson fbcde28736 EXP-23 FIX Tail for chat box hint should be slantways instead of horizontal 2010-09-10 18:06:42 -07:00
Tofu Linden eb10840623 Fix some build errors. 2010-09-07 18:16:46 +01:00
Andrew Dyukov a30bc718bb VWR-22690 FIXED Implemented save/load of bottomtray button order.
- 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-06 22:56:14 +03:00
Andrew Dyukov e04dabd2b3 VWR-20705 VWR-20706 FIXED Implemented drag'n'drop of buttons in bottomtray.
- 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-09-06 21:35:01 +03:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Linden 92db224e86 fixed regressions from changing layout panel to be a derived widget class 2010-08-25 16:46:37 -07:00
Richard Nelson 0daa627db4 removed LLLayoutStack::fromXML custom xml parsing 2010-08-24 11:44:28 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Richard Nelson 02d8197019 changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
2010-08-20 10:14:28 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Richard Linden bd897431e1 remaining hints defined 2010-08-12 12:20:38 -07:00
Richard Nelson be50a053ed first pass at hints 2010-08-12 09:46:45 -07:00
Richard Nelson 566e3969f9 deprecated LLPanel::child*() methods 2010-07-30 10:02:30 -07:00
Mike Antipov 5e05d94f13 EXT-7548 FIXED Reset control variable for "Build" & "Map" buttons on destroy.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/517/

--HG--
branch : product-engine
2010-06-04 15:41:04 +03:00
Mike Antipov 785abfcf41 EXT-7516 FIXED Completely removed bottomtray's "Sidebar" button and related settings/functionality
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/474/

--HG--
branch : product-engine
2010-06-01 13:24:40 +03:00
Mike Antipov 4cc5c7d2a4 EXT-7379 FIXED Add save_visibility=true to search floater to enable interaction with Search button
Also added reset of floaters visibility on exit to emulate save_visibility=false

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/463/

--HG--
branch : product-engine
2010-06-01 12:17:25 +03:00