Commit Graph

82 Commits (dd61baa3401a09bd8ff1e894514c15390946cdb3)

Author SHA1 Message Date
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
Merov Linden 3b3a137073 EXP-1286 : DaD is functional though has bugs... Working on it... 2011-10-05 11:18:17 -07:00
Leslie Linden db2e763ff0 * Modified commands to add functions for is_enabled, is_running and is_starting,
currently not hooked to any functionality.
2011-10-04 14:09:03 -07:00
Richard Nelson 3689995fcf fixed build 2011-10-03 18:58:30 -07:00
Richard Nelson ca8bac2394 Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui 2011-10-03 18:52:55 -07:00
Richard Nelson edacb7b336 implemented Range and ClampedValue classes to standardize min/max settings
fixed not serializing named values when values provided from code
2011-10-03 18:52:22 -07:00
Merov Linden daae211fe3 EXP-1202 : pull from richard/viewer-experience-fui 2011-10-03 17:29:00 -07:00
Merov Linden 99ada9b047 EXP-1202 : pull from richard/viewer-experience-fui 2011-10-03 17:13:14 -07:00
Leslie Linden 2d0dfbca99 * Added tooltips to the toolbar buttons.
Reviewed by Richard.
2011-10-03 16:37:07 -07:00
Merov Linden cd467cc34f EXP-1286 : First pass at Drag and Drop of tools. Not functional. Most hooks into the LLToolDragAndDrop system in to support the new AT_WIDGET and SOURCE_VIEWER 2011-10-03 16:27:24 -07:00
Richard Nelson 63a8fce12b made toolbars conform to visual specs
added ability to specify clip rects in textures.xml
2011-09-30 18:51:17 -07:00
Richard Nelson 0991a8a870 Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui 2011-09-30 16:58:09 -07:00
Richard Nelson 09e179b238 param block cleanup
added Flag as value type
moved Batch to BatchBlock
renamed Choice to ChoiceBlock
made merging of parameters for ValueParams consistent (fillFrom and overwriteFrom are inverses of each other now)
made iteration over Multiple<T> type params easier
initial schema param blocks
2011-09-30 16:57:08 -07:00
Merov Linden b07e7c7198 EXP-1211, EXP-1257 : Save and load the button type along with the toolbars, add a force default load option, enforce consistency between menus and toolbars 2011-09-29 15:01:15 -07:00