Commit Graph

95 Commits (07cc38e9cbd3dafe1373fa59aedbe7fb868cfd68)

Author SHA1 Message Date
Richard Linden d56be1f175 EXP-1181 WIP as a designer I would like to specify default floater positions using realtive coordinates
refactored LLCoord code to be templated, ultimately to support arbitrary conversions
2012-02-07 12:31:48 -08:00
Merov Linden 33a17d8a83 EXP-1549 : Disable the Remove button menu item in the toolbar contextual menu if no button clicked 2012-01-11 17:43:17 -08:00
Paul ProductEngine d58b5342dc EXP-1476 FIXED (Moving speak button to empty toolbar while incoming/outgoing call dialog is open does not move the dialog as well)
Reason:
A floater can be docked only to a button which is in visible chain, the visibility of the button itself is not enough.
After the button was added to the empty toolbar: mButtonAddSignal is called and the floater tries to dock to the button, but the button's parent(mButtonPanel) is yet invisible at this moment (so the button is not in visible chain). mButtonPanel visibility updates in draw() depending on whether it contains some buttons or not.

Solution:
Updating mButtonPanel visibility right after the button was added, before mButtonAddSignal
2011-12-02 19:10:08 +02:00
Leslie Linden ede74731ab EXP-1533 FIX -- As a FUI user, I'd like to be able to remove toolbar buttons without having to drag them anywhere
* Added "Remove this button" option to the toolbar context menu
* Added code to track the right mouse click and execute the action to remove the
  appropriate button on the toolbar.

Reviewed by surly leyla
2011-11-03 14:36:40 -07:00
Leyla Farazha eee8a0e113 merge 2011-10-25 17:35:50 -07:00
Leyla Farazha a64f7e1c7b EXP-1468 Incoming/outgoing call floater tongue position doesn't follow floater 2011-10-25 17:32:40 -07:00
Leslie Linden a5f3c70eef EXP-1469 FIX -- Changing toolbar from "icons only" to "icons with text" while incoming/outgoing call floater is open causes crash on mac
* Updated LLToolBar to call remove and add on all buttons when rebuilding the toolbar.
2011-10-25 15:52:08 -07:00
Leslie Linden 8448e3b86e EXP-1398 FIX -- Viewer Crash when moving Speak button from bottom toolbar to side toolbar with call request dialog active on Mac
* Added "on button removed" callback for toolbars.
* Changed docking on incoming and outgoing call floaters to be undocked when "speak" button removed.

Reviewed by Leyla.
2011-10-25 14:14:46 -07:00
Leslie Linden 8d6e7fa02c * Fixed destination guide floater to display on login based on per account
"DisplayDestinationsOnInitialRun" setting or initial agent SL login.
* Added toolbar enumeration for toolbar view so queries for commands can now
  indicate where the command currently is on the left, right or bottom toolbars.
* Updated toybox toolbar button tooltips to indicate where the command currently
  resides in the view.
* Added unused function to allow toolbar buttons to be changed to flash
  indefinitely.

Reviewed by Richard.
2011-10-24 16:49:00 -07:00
Seth ProductEngine 0297f55c6d EXP-1416 FIXED "Speak" and "Voice controls" buttons added as control views in LLTransientFloaterMgr to prevent hiding the transient IM floater. 2011-10-21 17:26:47 +02:00
Leslie Linden 4a90d9f3d6 * Moved the name storage on the LLCommandId back to the LLCommand itself.
Reviewed by Merov.
2011-10-20 12:40:02 -07:00
Leslie Linden f3a4a48d8e * Fixed issue where dragging disabled buttons from the toybox to the toybox
would remove them from the surrounding toolbars.
* Removed dead drag & drop code
* Fixed issue where saving didn't necessarily work because toolbar populated
  with command id's that didn't have associated names.
2011-10-19 17:33:10 -07:00
Leslie Linden d6be2b4904 EXP-1348 FIX -- Speak button activated when dragging and dropping between toolbars and moving back to Tool box
* Dragging and dropping the speak button will aggressively turn off the
  microphone now, regardless of the initial state of the button.

Reviewed by Richard.
2011-10-18 17:11:05 -07:00
Leslie Linden ae3b5a4907 * Fixed icon opacity on selected and unselected buttons 2011-10-17 15:15:40 -07:00
Richard Nelson a2e32429bb fix for not being able to drag disabled buttons 2011-10-17 13:42:35 -07:00
Leslie Linden e653e924fe Mac build fix 2011-10-17 09:25:07 -07:00
Richard Linden 6d1ae4e0d6 wip on dragging disabled toolbar buttons 2011-10-16 23:37:55 -07:00
Richard Nelson 7c2f2b526a Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui 2011-10-15 18:10:44 -07:00
Richard Nelson 0976964f83 EXP-1336 FIX Move Notifications to upper right
also made toolbar buttons not trigger if enabled callback returns false
2011-10-14 18:25:30 -07:00
Merov Linden 4c6f04c502 EXP-1363 : Fix caret position in multiple lines or columns situation 2011-10-14 16:47:43 -07:00
Merov Linden 1a9eaf09b0 EXP-1331 : Fix the drag to position 0 case I broke while fixing the drag on itself case... Aaagh... 2011-10-13 08:58:36 -07:00
Merov Linden 303579309d Pull from richard/viewer-experience-fui 2011-10-12 19:49:09 -07:00
Merov Linden c14aa1b64e EXP-1331 : Avoid showing the caret if the tool is dragged over itself 2011-10-12 19:48:13 -07:00
Richard Nelson 86cbb16e27 Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui 2011-10-12 18:17:18 -07:00
Richard Nelson 9206226a37 tooltips now only show labels for toolbar buttons when label is hidden or truncated
tooltips are no longer instantaneous once a tooltip is visible
2011-10-12 18:16:59 -07:00
Merov Linden 40ebe180a6 Pull from richard/viewer-experience-fui 2011-10-12 18:13:01 -07:00
Merov Linden aa1f0215c7 EXP-1331 : Implement new longer caret and make it work on multi lines or columns of tools. EXP-1304 : handle only tools in DaD on toolbars 2011-10-12 18:01:50 -07:00
Leslie Linden 1181e7c757 Merge 2011-10-12 17:50:03 -07:00
Leslie Linden 20358ea89d * Added mModified flag and isModified() query to check it.
(currently it is not connect to actual data)
2011-10-12 17:45:21 -07:00
Richard Nelson d5d7e264ad don't highlight toolbar buttons during drag and drop (for real) 2011-10-12 16:51:00 -07:00
Richard Nelson 3594853d0e don't highlight toolbar buttons during drag and drop
added mVisibleWhenMinimized to floaters
2011-10-12 16:17:24 -07:00
Merov Linden dacfe7b2bd EXP-1300 : Fix caret position in bottom bar, fix misplacement when moving within same toolbar, suppress visible caret in some situations, no caret if toolbar empty 2011-10-11 16:20:02 -07:00
Merov Linden 682609d254 Pull from richard/viewer-experience-fui 2011-10-11 15:16:45 -07:00
Merov Linden 3596c0f7e1 EXP-1300 : Implemented carets for DaD. Works with small bugs but OK for demo. Still in need of some cleanup 2011-10-11 15:06:16 -07:00
Leslie Linden aec61c579a Added 'execute_stop_function' command parameter to handle mouse down/up actions on toolbar buttons 2011-10-11 10:07:19 -07:00
Merov Linden 8b5a905bdb pull from richard/viewer-experience-fui 2011-10-10 18:22:56 -07:00
Merov Linden 1478f22857 EXP-1300 : Simplify and clean up of the DaD which now doesn't duplicate the dragged tool. 2011-10-10 18:00:24 -07:00
Richard Nelson 6a570a9bdc fixed icons moving when clicking on icon-only toolbars 2011-10-10 17:52:37 -07:00
Merov Linden ec5ea33c81 EXP-1300 : drop tool animation. First shot. Works but still a bit hacky and with some bugs (tools can be duplicated at times). 2011-10-09 15:52:45 -07:00
Merov Linden feabe29f35 EXP-1300 : Completed the drawing of drop zones on toolbars when dragging tools 2011-10-07 18:30:57 -07:00
Merov Linden ea02a6a80d EXP-1301 : Init some members that were not initialized correctly 2011-10-06 17:14:54 -07:00
Richard Nelson 740b3547d6 EXP-1303 FIX Drag and dropping button over viewer area can select objects inworld
fixed close button not working on floaters against right edge of window
fixed drag and drop only working once per toolbar button
reimplemented drag and drop threshold
2011-10-06 16:48:19 -07:00
Richard Nelson adeaf71e33 EXP-1300 WIP Visual feedback for Drag and Drop
removed hover highlighting of buttons when dragging over them
also updated toolbar button art to match spec
2011-10-06 15:19:15 -07:00
Leslie Linden 55d2e0020b Merge! 2011-10-05 17:38:56 -07:00
Merov Linden 64d005bfed EXP-1286 : Add DaD to toybox 2011-10-05 17:04:07 -07:00
Leslie Linden 70495f6f2f Fixing merge mistakes! 2011-10-05 16:56:49 -07:00
Leslie Linden d848916664 Merge with latest 2011-10-05 16:39:32 -07:00
Leslie Linden 93e3c8e4a5 EXP-1280 FIX -- Minimized floaters associated with toolbar buttons should change the state of their parent button
* Toolbar buttons now display green when its corresponding floater is open or
  minimized.
* Made changes to buttons so flash time and rate is configurable
* Removed unused "highlight_color" attribute from LLButton
* Implemented "isVisible" function for toolbar button floaters.  It returns true
  when the floater is visible or minimized.
* Toolbar floater unminimize now also puts focus to the floater
* All commands now specify their "is_running_function" for toolbar button state
* ButtonFlashCount and ButtonFlashRate have been moved to button.xml settings
  and are now configurable on the button.  Toolbar buttons are set to never
  flash and this functionality is used to show which buttons have windows open.
* All toybox buttons show hover glow even when disabled

Reviewed by Richard.
2011-10-05 16:28:40 -07:00
Merov Linden 00dc8b3982 EXP-1286 : DaD works between all toolbars, button drops in correct place, removal of button works too 2011-10-05 14:47:50 -07:00
Merov Linden fb7af4d001 EXP-1202 : pull from richard/viewer-experience-fui 2011-10-05 11:49:12 -07:00