diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-10-05 16:28:40 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-05 16:28:40 -0700 |
commit | 93e3c8e4a51dd60c202bc2e3f11b9ae850b2b6c8 (patch) | |
tree | fddefdec4836432e37ec062fc29ff88711abd9be /indra/newview/app_settings/commands.xml | |
parent | 1c4d540afd488c5b64102fc14ea65433855f802a (diff) |
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.
Diffstat (limited to 'indra/newview/app_settings/commands.xml')
-rw-r--r-- | indra/newview/app_settings/commands.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml index 3a91ef490d..1fff95417b 100644 --- a/indra/newview/app_settings/commands.xml +++ b/indra/newview/app_settings/commands.xml @@ -7,6 +7,8 @@ tooltip_ref="Command_AboutLand_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="about_land" + is_running_function="Floater.IsOpen" + is_running_parameters="about_land" /> <command name="appearance" available_in_toybox="true" @@ -15,6 +17,8 @@ tooltip_ref="Command_Appearance_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="appearance" + is_running_function="Floater.IsOpen" + is_running_parameters="appearance" /> <command name="avatar" available_in_toybox="true" @@ -23,6 +27,8 @@ tooltip_ref="Command_Avatar_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="avatar_picker" + is_running_function="Floater.IsOpen" + is_running_parameters="avatar_picker" /> <command name="build" available_in_toybox="true" @@ -31,6 +37,8 @@ tooltip_ref="Command_Build_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="build" + is_running_function="Floater.IsOpen" + is_running_parameters="build" /> <command name="chat" available_in_toybox="true" @@ -39,6 +47,8 @@ tooltip_ref="Command_Chat_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="chat_bar" + is_running_function="Floater.IsOpen" + is_running_parameters="chat_bar" /> <command name="compass" available_in_toybox="false" @@ -47,6 +57,8 @@ tooltip_ref="Command_Compass_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="compass" + is_running_function="Floater.IsOpen" + is_running_parameters="compass" /> <command name="destinations" available_in_toybox="true" @@ -55,6 +67,8 @@ tooltip_ref="Command_Destinations_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="destinations" + is_running_function="Floater.IsOpen" + is_running_parameters="destinations" /> <command name="gestures" available_in_toybox="true" @@ -63,6 +77,8 @@ tooltip_ref="Command_Gestures_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="gestures" + is_running_function="Floater.IsOpen" + is_running_parameters="gestures" /> <command name="howto" available_in_toybox="true" @@ -71,6 +87,8 @@ tooltip_ref="Command_HowTo_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="help_browser" + is_running_function="Floater.IsOpen" + is_running_parameters="help_browser" /> <command name="inventory" available_in_toybox="true" @@ -79,6 +97,8 @@ tooltip_ref="Command_Inventory_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="inventory" + is_running_function="Floater.IsOpen" + is_running_parameters="inventory" /> <command name="map" available_in_toybox="true" @@ -87,6 +107,8 @@ tooltip_ref="Command_Map_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="world_map" + is_running_function="Floater.IsOpen" + is_running_parameters="world_map" /> <command name="marketplace" available_in_toybox="true" @@ -95,6 +117,8 @@ tooltip_ref="Command_Marketplace_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="marketplace" + is_running_function="Floater.IsOpen" + is_running_parameters="marketplace" /> <command name="minimap" available_in_toybox="true" @@ -103,6 +127,8 @@ tooltip_ref="Command_MiniMap_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="mini_map" + is_running_function="Floater.IsOpen" + is_running_parameters="mini_map" /> <command name="move" available_in_toybox="true" @@ -111,6 +137,8 @@ tooltip_ref="Command_Move_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="moveview" + is_running_function="Floater.IsOpen" + is_running_parameters="moveview" /> <command name="people" available_in_toybox="true" @@ -119,6 +147,8 @@ tooltip_ref="Command_People_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="people" + is_running_function="Floater.IsOpen" + is_running_parameters="people" /> <command name="places" available_in_toybox="true" @@ -127,6 +157,8 @@ tooltip_ref="Command_Places_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="places" + is_running_function="Floater.IsOpen" + is_running_parameters="places" /> <command name="preferences" available_in_toybox="true" @@ -135,6 +167,8 @@ tooltip_ref="Command_Preferences_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="preferences" + is_running_function="Floater.IsOpen" + is_running_parameters="preferences" /> <command name="profile" available_in_toybox="true" @@ -143,6 +177,8 @@ tooltip_ref="Command_Profile_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="my_profile" + is_running_function="Floater.IsOpen" + is_running_parameters="my_profile" /> <command name="search" available_in_toybox="true" @@ -151,6 +187,8 @@ tooltip_ref="Command_Search_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="search" + is_running_function="Floater.IsOpen" + is_running_parameters="search" /> <command name="snapshot" available_in_toybox="true" @@ -159,6 +197,8 @@ tooltip_ref="Command_Snapshot_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="snapshot" + is_running_function="Floater.IsOpen" + is_running_parameters="snapshot" /> <command name="speak" available_in_toybox="true" @@ -167,6 +207,8 @@ tooltip_ref="Command_Speak_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="speak" + is_running_function="Floater.IsOpen" + is_running_parameters="speak" /> <command name="view" available_in_toybox="true" @@ -175,6 +217,8 @@ tooltip_ref="Command_View_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="camera" + is_running_function="Floater.IsOpen" + is_running_parameters="camera" /> <command name="voice" available_in_toybox="true" @@ -183,5 +227,7 @@ tooltip_ref="Command_Voice_Tooltip" execute_function="Floater.ToolbarToggle" execute_parameters="voice_controls" + is_running_function="Floater.IsOpen" + is_running_parameters="voice_controls" /> </commands> |