diff options
author | Jacek Antonelli | 2010-03-12 03:06:56 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-03-12 03:07:53 -0600 |
commit | cd401f259a46e5e0e030a0672e574bfcd1a1f314 (patch) | |
tree | 47e1add330c580e96f6997426b25a3925be77f27 /linden/indra/newview | |
parent | Removed "Advanced > UI > Double-Click Auto-Pilot". (#227) (diff) | |
download | meta-impy-cd401f259a46e5e0e030a0672e574bfcd1a1f314.zip meta-impy-cd401f259a46e5e0e030a0672e574bfcd1a1f314.tar.gz meta-impy-cd401f259a46e5e0e030a0672e574bfcd1a1f314.tar.bz2 meta-impy-cd401f259a46e5e0e030a0672e574bfcd1a1f314.tar.xz |
Restored some missing Advanced menu items from SL 1.23. (#175)
* Advanced > UI > Use default system color picker
* Advanced > UI > Show search panel in overlay bar
* Advanced > UI > Show Matrices
* Advanced > XUI > Font Test...
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 21 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 28 |
2 files changed, 45 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index c5964d5..0aec752 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -1046,14 +1046,11 @@ extern BOOL gDebugSelectMgr; | |||
1046 | 1046 | ||
1047 | void init_debug_ui_menu(LLMenuGL* menu) | 1047 | void init_debug_ui_menu(LLMenuGL* menu) |
1048 | { | 1048 | { |
1049 | // For Imprudence 1.3 - need to XUIfy (or move back to preferences?) | ||
1050 | menu->append(new LLMenuItemCheckGL("Use default system color picker", menu_toggle_control, NULL, menu_check_control, (void*)"UseDefaultColorPicker")); | 1049 | menu->append(new LLMenuItemCheckGL("Use default system color picker", menu_toggle_control, NULL, menu_check_control, (void*)"UseDefaultColorPicker")); |
1051 | // For Imprudence 1.3 - need to XUIfy (or remove to advance our marxist schemes!) | ||
1052 | menu->append(new LLMenuItemCheckGL("Show search panel in overlay bar", menu_toggle_control, NULL, menu_check_control, (void*)"ShowSearchBar")); | 1050 | menu->append(new LLMenuItemCheckGL("Show search panel in overlay bar", menu_toggle_control, NULL, menu_check_control, (void*)"ShowSearchBar")); |
1053 | menu->appendSeparator(); | 1051 | menu->appendSeparator(); |
1054 | 1052 | ||
1055 | menu->append(new LLMenuItemCallGL("Web Browser Test", &handle_web_browser_test)); | 1053 | menu->append(new LLMenuItemCallGL("Web Browser Test", &handle_web_browser_test)); |
1056 | // For Imprudence 1.3 - need to XUIfy | ||
1057 | // commented out until work is complete: DEV-32268 | 1054 | // commented out until work is complete: DEV-32268 |
1058 | // menu->append(new LLMenuItemCallGL("Buy Currency Test", &handle_buy_currency_test)); | 1055 | // menu->append(new LLMenuItemCallGL("Buy Currency Test", &handle_buy_currency_test)); |
1059 | menu->append(new LLMenuItemCallGL("Editable UI", &edit_ui)); | 1056 | menu->append(new LLMenuItemCallGL("Editable UI", &edit_ui)); |
@@ -1079,7 +1076,6 @@ void init_debug_ui_menu(LLMenuGL* menu) | |||
1079 | menu->appendSeparator(); | 1076 | menu->appendSeparator(); |
1080 | menu->append(new LLMenuItemCheckGL("Show Time", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowTime")); | 1077 | menu->append(new LLMenuItemCheckGL("Show Time", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowTime")); |
1081 | menu->append(new LLMenuItemCheckGL("Show Render Info", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowRenderInfo")); | 1078 | menu->append(new LLMenuItemCheckGL("Show Render Info", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowRenderInfo")); |
1082 | // For Imprudence 1.3 - need to XUIfy | ||
1083 | menu->append(new LLMenuItemCheckGL("Show Matrices", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowRenderMatrices")); | 1079 | menu->append(new LLMenuItemCheckGL("Show Matrices", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowRenderMatrices")); |
1084 | menu->append(new LLMenuItemCheckGL("Show Color Under Cursor", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowColor")); | 1080 | menu->append(new LLMenuItemCheckGL("Show Color Under Cursor", menu_toggle_control, NULL, menu_check_control, (void*)"DebugShowColor")); |
1085 | 1081 | ||
@@ -9586,6 +9582,22 @@ class LLAdvancedShowFloaterTest : public view_listener_t | |||
9586 | 9582 | ||
9587 | 9583 | ||
9588 | 9584 | ||
9585 | //////////////////// | ||
9586 | // SHOW FONT TEST // | ||
9587 | //////////////////// | ||
9588 | |||
9589 | |||
9590 | class LLAdvancedShowFontTest : public view_listener_t | ||
9591 | { | ||
9592 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
9593 | { | ||
9594 | LLFloaterFontTest::show(NULL); | ||
9595 | return true; | ||
9596 | } | ||
9597 | }; | ||
9598 | |||
9599 | |||
9600 | |||
9589 | ///////////////////////// | 9601 | ///////////////////////// |
9590 | // EXPORT MENUS TO XML // | 9602 | // EXPORT MENUS TO XML // |
9591 | ///////////////////////// | 9603 | ///////////////////////// |
@@ -10964,6 +10976,7 @@ void initialize_menus() | |||
10964 | 10976 | ||
10965 | // Advanced > XUI | 10977 | // Advanced > XUI |
10966 | addMenu(new LLAdvancedShowFloaterTest(), "Advanced.ShowFloaterTest"); | 10978 | addMenu(new LLAdvancedShowFloaterTest(), "Advanced.ShowFloaterTest"); |
10979 | addMenu(new LLAdvancedShowFontTest(), "Advanced.ShowFontTest"); | ||
10967 | addMenu(new LLAdvancedExportMenusToXML(), "Advanced.ExportMenusToXML"); | 10980 | addMenu(new LLAdvancedExportMenusToXML(), "Advanced.ExportMenusToXML"); |
10968 | addMenu(new LLAdvancedEditUI(), "Advanced.EditUI"); | 10981 | addMenu(new LLAdvancedEditUI(), "Advanced.EditUI"); |
10969 | addMenu(new LLAdvancedLoadUIFromXML(), "Advanced.LoadUIFromXML"); | 10982 | addMenu(new LLAdvancedLoadUIFromXML(), "Advanced.LoadUIFromXML"); |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index f1c7a47..9c02f07 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -1510,6 +1510,23 @@ | |||
1510 | <menu name="UI" drop_shadow="true" | 1510 | <menu name="UI" drop_shadow="true" |
1511 | opaque="true" tear_off="true"> | 1511 | opaque="true" tear_off="true"> |
1512 | 1512 | ||
1513 | |||
1514 | <menu_item_check name="Use default system color picker" | ||
1515 | label="Use default system color picker"> | ||
1516 | <on_click function="ToggleControl" | ||
1517 | userdata="UseDefaultColorPicker" /> | ||
1518 | <on_check control="UseDefaultColorPicker" /> | ||
1519 | </menu_item_check> | ||
1520 | |||
1521 | <menu_item_check name="Show search panel in overlay bar" | ||
1522 | label="Show search panel in overlay bar"> | ||
1523 | <on_click function="ToggleControl" | ||
1524 | userdata="ShowSearchBar" /> | ||
1525 | <on_check control="ShowSearchBar" /> | ||
1526 | </menu_item_check> | ||
1527 | |||
1528 | <menu_item_separator /> | ||
1529 | |||
1513 | <menu_item_call name="Web Browser Test" label="Web Browser Test"> | 1530 | <menu_item_call name="Web Browser Test" label="Web Browser Test"> |
1514 | <on_click function="Advanced.WebBrowserTest" userdata="" /> | 1531 | <on_click function="Advanced.WebBrowserTest" userdata="" /> |
1515 | </menu_item_call> | 1532 | </menu_item_call> |
@@ -1623,6 +1640,12 @@ | |||
1623 | userdata="DebugShowRenderInfo" /> | 1640 | userdata="DebugShowRenderInfo" /> |
1624 | <on_check control="DebugShowRenderInfo" /> | 1641 | <on_check control="DebugShowRenderInfo" /> |
1625 | </menu_item_check> | 1642 | </menu_item_check> |
1643 | <menu_item_check name="Show Matrices" | ||
1644 | label="Show Matrices"> | ||
1645 | <on_click function="ToggleControl" | ||
1646 | userdata="DebugShowRenderMatrices" /> | ||
1647 | <on_check control="DebugShowRenderMatrices" /> | ||
1648 | </menu_item_check> | ||
1626 | <menu_item_check name="Show Color Under Cursor" | 1649 | <menu_item_check name="Show Color Under Cursor" |
1627 | label="Show Color Under Cursor"> | 1650 | label="Show Color Under Cursor"> |
1628 | <on_click function="ToggleControl" | 1651 | <on_click function="ToggleControl" |
@@ -1642,6 +1665,11 @@ | |||
1642 | <on_click function="Advanced.ShowFloaterTest" | 1665 | <on_click function="Advanced.ShowFloaterTest" |
1643 | userdata="" /> | 1666 | userdata="" /> |
1644 | </menu_item_call> | 1667 | </menu_item_call> |
1668 | <menu_item_call name="Font Test..." | ||
1669 | label="Font Test..."> | ||
1670 | <on_click function="Advanced.ShowFontTest" | ||
1671 | userdata="" /> | ||
1672 | </menu_item_call> | ||
1645 | <menu_item_call name="Export Menus to XML..." | 1673 | <menu_item_call name="Export Menus to XML..." |
1646 | label="Export Menus to XML..."> | 1674 | label="Export Menus to XML..."> |
1647 | <on_click function="Advanced.ExportMenusToXML" | 1675 | <on_click function="Advanced.ExportMenusToXML" |