diff options
author | McCabe Maxsted | 2011-05-27 20:25:26 -0700 |
---|---|---|
committer | Jacek Antonelli | 2011-06-02 23:00:45 -0500 |
commit | 5796f8e8bfb1809755327d1c51ac66c6509370a5 (patch) | |
tree | 1b1c752c6d038e6231c5f85d8fc111e0ba2426da /linden/indra | |
parent | Fix for #903 ATI star issue, ported from Phoenix via Shoytl and Singularity (diff) | |
download | meta-impy-5796f8e8bfb1809755327d1c51ac66c6509370a5.zip meta-impy-5796f8e8bfb1809755327d1c51ac66c6509370a5.tar.gz meta-impy-5796f8e8bfb1809755327d1c51ac66c6509370a5.tar.bz2 meta-impy-5796f8e8bfb1809755327d1c51ac66c6509370a5.tar.xz |
Fixed #875 by removing menu border introduced in 84ba6c13
(cherry picked from commit bcfe397d0f3ab2bd8df3f8055f089824dd082bf4)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/lllineeditor.cpp | 5 | ||||
-rw-r--r-- | linden/indra/llui/llmenugl.cpp | 44 | ||||
-rw-r--r-- | linden/indra/llui/llmenugl.h | 5 | ||||
-rw-r--r-- | linden/indra/llui/lltexteditor.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/colors_base.xml | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_login.xml | 22 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 65 |
8 files changed, 74 insertions, 79 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp index c4f9525..5f16853 100644 --- a/linden/indra/llui/lllineeditor.cpp +++ b/linden/indra/llui/lllineeditor.cpp | |||
@@ -223,18 +223,15 @@ LLLineEditor::LLLineEditor(const std::string& name, const LLRect& rect, | |||
223 | } | 223 | } |
224 | mImage = sImage; | 224 | mImage = sImage; |
225 | 225 | ||
226 | |||
227 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); | 226 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); |
228 | if (!menu) | 227 | if (!menu) |
229 | { | 228 | { |
230 | menu = new LLMenuGL(LLStringUtil::null); | 229 | menu = new LLMenuGL(LLStringUtil::null); |
231 | } | 230 | } |
232 | 231 | ||
233 | defineMenuCallbacks(menu); | 232 | defineMenuCallbacks(menu); |
234 | mPopupMenuHandle = menu->getHandle(); | 233 | mPopupMenuHandle = menu->getHandle(); |
235 | menu->setBorderColor(gColors.getColor("MenuItemDisabledColor")); | ||
236 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); | 234 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); |
237 | |||
238 | } | 235 | } |
239 | 236 | ||
240 | 237 | ||
diff --git a/linden/indra/llui/llmenugl.cpp b/linden/indra/llui/llmenugl.cpp index d5e1186..2d4a2f1 100644 --- a/linden/indra/llui/llmenugl.cpp +++ b/linden/indra/llui/llmenugl.cpp | |||
@@ -3099,8 +3099,7 @@ void LLMenuGL::draw( void ) | |||
3099 | 3099 | ||
3100 | if( mBgVisible ) | 3100 | if( mBgVisible ) |
3101 | { | 3101 | { |
3102 | gl_rect_2d( -1, getRect().getHeight()+2, getRect().getWidth()+2, -2, mBorderColor,FALSE); | 3102 | gl_rect_2d( 0, getRect().getHeight(), getRect().getWidth(), 0, mBackgroundColor ); |
3103 | gl_rect_2d( 0, getRect().getHeight(), getRect().getWidth(), 0, mBackgroundColor ); | ||
3104 | } | 3103 | } |
3105 | LLView::draw(); | 3104 | LLView::draw(); |
3106 | } | 3105 | } |
@@ -3157,37 +3156,18 @@ LLMenuGL* LLMenuGL::getChildMenuByName(const std::string& name, BOOL recurse) co | |||
3157 | } | 3156 | } |
3158 | 3157 | ||
3159 | 3158 | ||
3160 | void LLMenuGL::setBackgroundColor( const LLColor4& color ) { | 3159 | void LLMenuGL::setBackgroundColor( const LLColor4& color ) |
3161 | 3160 | { | |
3162 | mBackgroundColor = color; | 3161 | mBackgroundColor = color; |
3163 | item_list_t::iterator item_iter; | 3162 | item_list_t::iterator item_iter; |
3164 | for (item_iter = mItems.begin(); item_iter != mItems.end(); ++item_iter) | 3163 | for (item_iter = mItems.begin(); item_iter != mItems.end(); ++item_iter) |
3165 | { | ||
3166 | if((*item_iter)->getType()=="menu") | ||
3167 | { | ||
3168 | LLMenuItemBranchGL *menuBranchItem = (LLMenuItemBranchGL*)(*item_iter); | ||
3169 | menuBranchItem->getBranch()->setBackgroundColor(color); | ||
3170 | } | ||
3171 | } | ||
3172 | |||
3173 | |||
3174 | } | ||
3175 | |||
3176 | |||
3177 | void LLMenuGL::setBorderColor( const LLColor4& color ) { | ||
3178 | |||
3179 | mBorderColor = color; | ||
3180 | item_list_t::iterator item_iter; | ||
3181 | for (item_iter = mItems.begin(); item_iter != mItems.end(); ++item_iter) | ||
3182 | { | 3164 | { |
3183 | if((*item_iter)->getType()=="menu") | 3165 | if((*item_iter)->getType()=="menu") |
3184 | { | 3166 | { |
3185 | LLMenuItemBranchGL *menuBranchItem = (LLMenuItemBranchGL*)(*item_iter); | 3167 | LLMenuItemBranchGL *menuBranchItem = (LLMenuItemBranchGL*)(*item_iter); |
3186 | menuBranchItem->getBranch()->setBorderColor(color); | 3168 | menuBranchItem->getBranch()->setBackgroundColor(color); |
3187 | } | 3169 | } |
3188 | } | 3170 | } |
3189 | |||
3190 | |||
3191 | } | 3171 | } |
3192 | 3172 | ||
3193 | 3173 | ||
diff --git a/linden/indra/llui/llmenugl.h b/linden/indra/llui/llmenugl.h index 9a9d1b0..3b57a32 100644 --- a/linden/indra/llui/llmenugl.h +++ b/linden/indra/llui/llmenugl.h | |||
@@ -514,10 +514,8 @@ public: | |||
514 | 514 | ||
515 | // background colors | 515 | // background colors |
516 | static void setDefaultBackgroundColor( const LLColor4& color ) { sDefaultBackgroundColor = color; } | 516 | static void setDefaultBackgroundColor( const LLColor4& color ) { sDefaultBackgroundColor = color; } |
517 | void setBackgroundColor( const LLColor4& color ); | 517 | void setBackgroundColor( const LLColor4& color ); |
518 | void setBorderColor( const LLColor4& color ); | ||
519 | const LLColor4& getBackgroundColor() const { return mBackgroundColor; } | 518 | const LLColor4& getBackgroundColor() const { return mBackgroundColor; } |
520 | const LLColor4& getBorderColor() const { return mBorderColor; } | ||
521 | void setBackgroundVisible( BOOL b ) { mBgVisible = b; } | 519 | void setBackgroundVisible( BOOL b ) { mBgVisible = b; } |
522 | void setCanTearOff(BOOL tear_off, LLHandle<LLFloater> parent_floater_handle = LLHandle<LLFloater>()); | 520 | void setCanTearOff(BOOL tear_off, LLHandle<LLFloater> parent_floater_handle = LLHandle<LLFloater>()); |
523 | 521 | ||
@@ -631,7 +629,6 @@ private: | |||
631 | static BOOL sKeyboardMode; | 629 | static BOOL sKeyboardMode; |
632 | 630 | ||
633 | LLColor4 mBackgroundColor; | 631 | LLColor4 mBackgroundColor; |
634 | LLColor4 mBorderColor; | ||
635 | BOOL mBgVisible; | 632 | BOOL mBgVisible; |
636 | LLMenuItemGL* mParentMenuItem; | 633 | LLMenuItemGL* mParentMenuItem; |
637 | LLUIString mLabel; | 634 | LLUIString mLabel; |
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp index 79966c2..de05872 100644 --- a/linden/indra/llui/lltexteditor.cpp +++ b/linden/indra/llui/lltexteditor.cpp | |||
@@ -389,14 +389,12 @@ LLTextEditor::LLTextEditor( | |||
389 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); | 389 | LLMenuGL* menu = LLUICtrlFactory::getInstance()->buildMenu("menu_rightclick_text.xml",this); |
390 | if (!menu) | 390 | if (!menu) |
391 | { | 391 | { |
392 | menu = new LLMenuGL(LLStringUtil::null); | 392 | menu = new LLMenuGL(LLStringUtil::null); |
393 | } | 393 | } |
394 | 394 | ||
395 | defineMenuCallbacks(menu); | 395 | defineMenuCallbacks(menu); |
396 | mPopupMenuHandle = menu->getHandle(); | 396 | mPopupMenuHandle = menu->getHandle(); |
397 | menu->setBorderColor(gColors.getColor("MenuItemDisabledColor")); | ||
398 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); | 397 | menu->setBackgroundColor(gColors.getColor("MenuPopupBgColor")); |
399 | |||
400 | } | 398 | } |
401 | 399 | ||
402 | LLTextEditor::~LLTextEditor() | 400 | LLTextEditor::~LLTextEditor() |
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index c8adf7b..1fe2dde 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -564,7 +564,7 @@ void pre_init_menus() | |||
564 | // static information | 564 | // static information |
565 | LLColor4 color; | 565 | LLColor4 color; |
566 | color = gColors.getColor( "MenuDefaultBgColor" ); | 566 | color = gColors.getColor( "MenuDefaultBgColor" ); |
567 | LLMenuGL::setDefaultBackgroundColor( color ); | 567 | LLMenuGL::setDefaultBackgroundColor(color); |
568 | color = gColors.getColor( "MenuItemEnabledColor" ); | 568 | color = gColors.getColor( "MenuItemEnabledColor" ); |
569 | LLMenuItemGL::setEnabledColor( color ); | 569 | LLMenuItemGL::setEnabledColor( color ); |
570 | color = gColors.getColor( "MenuItemDisabledColor" ); | 570 | color = gColors.getColor( "MenuItemDisabledColor" ); |
@@ -662,7 +662,9 @@ void init_menus() | |||
662 | } | 662 | } |
663 | gMenuBarView = (LLMenuBarGL*)LLUICtrlFactory::getInstance()->buildMenu("menu_viewer.xml", gMenuHolder); | 663 | gMenuBarView = (LLMenuBarGL*)LLUICtrlFactory::getInstance()->buildMenu("menu_viewer.xml", gMenuHolder); |
664 | gMenuBarView->setRect(LLRect(0, top, 0, top - MENU_BAR_HEIGHT)); | 664 | gMenuBarView->setRect(LLRect(0, top, 0, top - MENU_BAR_HEIGHT)); |
665 | gMenuBarView->setBackgroundColor( color ); | 665 | |
666 | // main menu colors | ||
667 | gMenuBarView->setBackgroundColor(color); | ||
666 | 668 | ||
667 | // gMenuBarView->setItemVisible("Tools", FALSE); | 669 | // gMenuBarView->setItemVisible("Tools", FALSE); |
668 | gMenuBarView->arrange(); | 670 | gMenuBarView->arrange(); |
diff --git a/linden/indra/newview/skins/default/colors_base.xml b/linden/indra/newview/skins/default/colors_base.xml index b90f8aa..63ca3e0 100644 --- a/linden/indra/newview/skins/default/colors_base.xml +++ b/linden/indra/newview/skins/default/colors_base.xml | |||
@@ -85,7 +85,7 @@ | |||
85 | <ScrollReadOnlyColor value="100, 100, 100, 255" /> <!-- Color for inactive but not disabled lists --> | 85 | <ScrollReadOnlyColor value="100, 100, 100, 255" /> <!-- Color for inactive but not disabled lists --> |
86 | 86 | ||
87 | <!-- MENUS --> | 87 | <!-- MENUS --> |
88 | <MenuBarBgColor value="62, 62, 62, 255" /> <!-- Menu bar background --> | 88 | <MenuBarBgColor value="0, 0, 0, 255" /> <!-- Menu bar background --> |
89 | <MenuBarGodBgColor value="62, 128, 62, 255" /> <!-- Menu bar background with God Mode enabled --> | 89 | <MenuBarGodBgColor value="62, 128, 62, 255" /> <!-- Menu bar background with God Mode enabled --> |
90 | <MenuNonProductionGodBgColor value="0, 128, 0, 255" /> <!-- Beta viewer menu bar background --> | 90 | <MenuNonProductionGodBgColor value="0, 128, 0, 255" /> <!-- Beta viewer menu bar background --> |
91 | <MenuNonProductionBgColor value="128, 0, 0, 255" /> <!-- Beta viewer menu bar background with God Mode enabled --> | 91 | <MenuNonProductionBgColor value="128, 0, 0, 255" /> <!-- Beta viewer menu bar background with God Mode enabled --> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml index c65a737..d17fad5 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml | |||
@@ -1,18 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | 1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
2 | <menu_bar name="Login Menu" opaque="true" tear_off="false" height="18" bottom="-18" follows="left|top|right"> | 2 | <menu_bar name="Login Menu" opaque="true" tear_off="false" height="18" bottom="-18" follows="left|top|right"> |
3 | <menu create_jump_keys="true" label="File" name="File" opaque="true" tear_off="false"> | 3 | <menu create_jump_keys="true" label="File" name="File" opaque="true" tear_off="false" |
4 | <menu_item_call label="Quit" name="Quit" shortcut="control|Q"> | 4 | drop_shadow="true" mouse_opaque="false"> |
5 | <on_click function="File.Quit" userdata="" /> | 5 | <menu_item_call label="Quit" name="Quit" shortcut="control|Q"> |
6 | </menu_item_call> | 6 | <on_click function="File.Quit" userdata="" /> |
7 | </menu> | 7 | </menu_item_call> |
8 | <menu create_jump_keys="true" label="Edit" name="Edit" | 8 | </menu> |
9 | opaque="true" tear_off="false"> | 9 | <menu create_jump_keys="true" label="Edit" name="Edit" |
10 | opaque="true" tear_off="false" | ||
11 | drop_shadow="true" mouse_opaque="false"> | ||
10 | <menu_item_call label="Preferences..." name="Preferences..." shortcut="control|P"> | 12 | <menu_item_call label="Preferences..." name="Preferences..." shortcut="control|P"> |
11 | <on_click function="ShowFloater" userdata="preferences" /> | 13 | <on_click function="ShowFloater" userdata="preferences" /> |
12 | </menu_item_call> | 14 | </menu_item_call> |
13 | </menu> | 15 | </menu> |
14 | <menu create_jump_keys="true" label="Help" name="Help" | 16 | <menu create_jump_keys="true" label="Help" name="Help" |
15 | opaque="true" tear_off="false"> | 17 | opaque="true" tear_off="false" |
18 | drop_shadow="true" mouse_opaque="false"> | ||
16 | <menu_item_call label="Grid Help" name="Grid Help" shortcut="F1"> | 19 | <menu_item_call label="Grid Help" name="Grid Help" shortcut="F1"> |
17 | <on_click function="ShowFloater" userdata="help f1" /> | 20 | <on_click function="ShowFloater" userdata="help f1" /> |
18 | </menu_item_call> | 21 | </menu_item_call> |
@@ -32,7 +35,8 @@ | |||
32 | <on_click function="ShowFloater" userdata="about" /> | 35 | <on_click function="ShowFloater" userdata="about" /> |
33 | </menu_item_call> | 36 | </menu_item_call> |
34 | </menu> | 37 | </menu> |
35 | <menu name="Advanced" create_jump_keys="true" opaque="true"> | 38 | <menu name="Advanced" create_jump_keys="true" opaque="true" |
39 | drop_shadow="true" mouse_opaque="false"> | ||
36 | <menu_item_call name="Debug Settings" label="Debug Settings"> | 40 | <menu_item_call name="Debug Settings" label="Debug Settings"> |
37 | <on_click function="Advanced.ShowDebugSettings" userdata="" /> | 41 | <on_click function="Advanced.ShowDebugSettings" userdata="" /> |
38 | </menu_item_call> | 42 | </menu_item_call> |
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 9bd37a0..0ebbf74 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 | |||
@@ -7,6 +7,7 @@ | |||
7 | <!-- FILE --> | 7 | <!-- FILE --> |
8 | 8 | ||
9 | <menu name="File" create_jump_keys="true" label="File" | 9 | <menu name="File" create_jump_keys="true" label="File" |
10 | drop_shadow="true" mouse_opaque="false" | ||
10 | opaque="true" tear_off="true"> | 11 | opaque="true" tear_off="true"> |
11 | <menu label="Upload" create_jump_keys="true" name="Upload" | 12 | <menu label="Upload" create_jump_keys="true" name="Upload" |
12 | opaque="true" tear_off="true"> | 13 | opaque="true" tear_off="true"> |
@@ -103,6 +104,7 @@ | |||
103 | <!-- EDIT --> | 104 | <!-- EDIT --> |
104 | 105 | ||
105 | <menu name="Edit" create_jump_keys="true" label="Edit" | 106 | <menu name="Edit" create_jump_keys="true" label="Edit" |
107 | drop_shadow="true" mouse_opaque="false" | ||
106 | opaque="true" tear_off="true"> | 108 | opaque="true" tear_off="true"> |
107 | <menu_item_call name="Undo" enabled="false" label="Undo" | 109 | <menu_item_call name="Undo" enabled="false" label="Undo" |
108 | shortcut="control|Z"> | 110 | shortcut="control|Z"> |
@@ -156,13 +158,16 @@ | |||
156 | <menu_item_separator /> | 158 | <menu_item_separator /> |
157 | 159 | ||
158 | <menu name="Attach Object" create_jump_keys="true" | 160 | <menu name="Attach Object" create_jump_keys="true" |
161 | drop_shadow="true" mouse_opaque="false" | ||
159 | label="Attach Object" opaque="true" tear_off="true" /> | 162 | label="Attach Object" opaque="true" tear_off="true" /> |
160 | 163 | ||
161 | <menu name="Detach Object" create_jump_keys="true" | 164 | <menu name="Detach Object" create_jump_keys="true" |
165 | drop_shadow="true" mouse_opaque="false" | ||
162 | label="Detach Object" opaque="true" tear_off="true" /> | 166 | label="Detach Object" opaque="true" tear_off="true" /> |
163 | 167 | ||
164 | 168 | ||
165 | <menu name="Take Off Clothing" create_jump_keys="true" | 169 | <menu name="Take Off Clothing" create_jump_keys="true" |
170 | drop_shadow="true" mouse_opaque="false" | ||
166 | label="Take Off Clothing" opaque="true" tear_off="true"> | 171 | label="Take Off Clothing" opaque="true" tear_off="true"> |
167 | 172 | ||
168 | <menu_item_call name="Shirt" enabled="false" label="Shirt"> | 173 | <menu_item_call name="Shirt" enabled="false" label="Shirt"> |
@@ -295,6 +300,7 @@ | |||
295 | <!-- VIEW --> | 300 | <!-- VIEW --> |
296 | 301 | ||
297 | <menu name="View" create_jump_keys="true" label="View" | 302 | <menu name="View" create_jump_keys="true" label="View" |
303 | drop_shadow="true" mouse_opaque="false" | ||
298 | opaque="true" tear_off="true"> | 304 | opaque="true" tear_off="true"> |
299 | <menu_item_call name="Mouselook" label="Mouselook" | 305 | <menu_item_call name="Mouselook" label="Mouselook" |
300 | shortcut="M"> | 306 | shortcut="M"> |
@@ -406,6 +412,7 @@ | |||
406 | </menu_item_check> | 412 | </menu_item_check> |
407 | <menu_item_separator /> | 413 | <menu_item_separator /> |
408 | <menu name="Hover Tips" create_jump_keys="true" label="Hover Tips" | 414 | <menu name="Hover Tips" create_jump_keys="true" label="Hover Tips" |
415 | drop_shadow="true" mouse_opaque="false" | ||
409 | opaque="true" tear_off="true"> | 416 | opaque="true" tear_off="true"> |
410 | <menu_item_check name="Show Tips" label="Show Tips" | 417 | <menu_item_check name="Show Tips" label="Show Tips" |
411 | shortcut="control|shift|T"> | 418 | shortcut="control|shift|T"> |
@@ -449,8 +456,9 @@ | |||
449 | <on_check function="View.CheckHUDAttachments" /> | 456 | <on_check function="View.CheckHUDAttachments" /> |
450 | </menu_item_check> | 457 | </menu_item_check> |
451 | <menu_item_separator /> | 458 | <menu_item_separator /> |
452 | <menu name="Zoom Level" create_jump_keys="true" | 459 | <menu name="Zoom Level" label="Zoom Level" create_jump_keys="true" |
453 | label="Zoom Level" opaque="true" tear_off="true"> | 460 | drop_shadow="true" mouse_opaque="false" |
461 | opaque="true" tear_off="true"> | ||
454 | <menu_item_call name="Zoom In" label="Zoom In" | 462 | <menu_item_call name="Zoom In" label="Zoom In" |
455 | shortcut="control|0"> | 463 | shortcut="control|0"> |
456 | <on_click function="View.ZoomIn" userdata="" /> | 464 | <on_click function="View.ZoomIn" userdata="" /> |
@@ -483,6 +491,7 @@ | |||
483 | <!-- WORLD --> | 491 | <!-- WORLD --> |
484 | 492 | ||
485 | <menu name="World" create_jump_keys="true" label="World" | 493 | <menu name="World" create_jump_keys="true" label="World" |
494 | drop_shadow="true" mouse_opaque="false" | ||
486 | opaque="true" tear_off="true"> | 495 | opaque="true" tear_off="true"> |
487 | <menu_item_call name="Chat" label="Chat" shortcut=""> | 496 | <menu_item_call name="Chat" label="Chat" shortcut=""> |
488 | <on_click function="World.Chat" userdata="" /> | 497 | <on_click function="World.Chat" userdata="" /> |
@@ -562,8 +571,9 @@ | |||
562 | <on_click function="ShowFloater" userdata="about region" /> | 571 | <on_click function="ShowFloater" userdata="about region" /> |
563 | </menu_item_call> | 572 | </menu_item_call> |
564 | <menu_item_separator /> | 573 | <menu_item_separator /> |
565 | <menu name="Environment Settings" create_jump_keys="true" | 574 | <menu name="Environment Settings" label="Environment Settings" |
566 | label="Environment Settings" opaque="true" tear_off="true"> | 575 | create_jump_keys="true" drop_shadow="true" |
576 | mouse_opaque="false" opaque="true" tear_off="true"> | ||
567 | <menu_item_call name="Sunrise" label="Sunrise"> | 577 | <menu_item_call name="Sunrise" label="Sunrise"> |
568 | <on_click function="World.EnvSettings" userdata="sunrise" /> | 578 | <on_click function="World.EnvSettings" userdata="sunrise" /> |
569 | </menu_item_call> | 579 | </menu_item_call> |
@@ -595,8 +605,10 @@ | |||
595 | <!-- TOOLS --> | 605 | <!-- TOOLS --> |
596 | 606 | ||
597 | <menu name="Tools" create_jump_keys="true" label="Tools" | 607 | <menu name="Tools" create_jump_keys="true" label="Tools" |
608 | drop_shadow="true" mouse_opaque="false" | ||
598 | opaque="true" tear_off="true" visible="false"> | 609 | opaque="true" tear_off="true" visible="false"> |
599 | <menu name="Select Tool" create_jump_keys="true" label="Choose Tool" | 610 | <menu name="Select Tool" create_jump_keys="true" label="Choose Tool" |
611 | drop_shadow="true" mouse_opaque="false" | ||
600 | opaque="true" tear_off="true"> | 612 | opaque="true" tear_off="true"> |
601 | <menu_item_call name="Focus" label="Focus" shortcut="control|1"> | 613 | <menu_item_call name="Focus" label="Focus" shortcut="control|1"> |
602 | <on_click function="Tools.SelectTool" userdata="focus" /> | 614 | <on_click function="Tools.SelectTool" userdata="focus" /> |
@@ -626,6 +638,7 @@ | |||
626 | <on_enable function="Tools.SomethingSelectedNoHUD" /> | 638 | <on_enable function="Tools.SomethingSelectedNoHUD" /> |
627 | </menu_item_call> | 639 | </menu_item_call> |
628 | <menu name="Selection Options" label="Selection Options" | 640 | <menu name="Selection Options" label="Selection Options" |
641 | drop_shadow="true" mouse_opaque="false" | ||
629 | create_jump_keys="true" opaque="true" tear_off="true"> | 642 | create_jump_keys="true" opaque="true" tear_off="true"> |
630 | <menu_item_check name="Select Only My Objects" | 643 | <menu_item_check name="Select Only My Objects" |
631 | label="Select Only My Objects"> | 644 | label="Select Only My Objects"> |
@@ -774,6 +787,7 @@ | |||
774 | </menu_item_call> | 787 | </menu_item_call> |
775 | <menu name="Recompile Scripts in Selection" create_jump_keys="true" | 788 | <menu name="Recompile Scripts in Selection" create_jump_keys="true" |
776 | label="Recompile Scripts in Selection" opaque="true" | 789 | label="Recompile Scripts in Selection" opaque="true" |
790 | drop_shadow="true" mouse_opaque="false" | ||
777 | tear_off="true"> | 791 | tear_off="true"> |
778 | <menu_item_call name="Mono" label="Mono"> | 792 | <menu_item_call name="Mono" label="Mono"> |
779 | <on_click function="Tools.SelectedScriptAction" | 793 | <on_click function="Tools.SelectedScriptAction" |
@@ -820,6 +834,7 @@ | |||
820 | <!-- HELP --> | 834 | <!-- HELP --> |
821 | 835 | ||
822 | <menu name="Help" create_jump_keys="true" label="Help" | 836 | <menu name="Help" create_jump_keys="true" label="Help" |
837 | drop_shadow="true" mouse_opaque="false" | ||
823 | opaque="true" tear_off="true"> | 838 | opaque="true" tear_off="true"> |
824 | <menu_item_call name="Grid Help" label="Grid Help" | 839 | <menu_item_call name="Grid Help" label="Grid Help" |
825 | shortcut="F1"> | 840 | shortcut="F1"> |
@@ -869,13 +884,13 @@ | |||
869 | <!-- ADVANCED --> | 884 | <!-- ADVANCED --> |
870 | 885 | ||
871 | <menu label="Advanced" name="Advanced" drop_shadow="true" | 886 | <menu label="Advanced" name="Advanced" drop_shadow="true" |
872 | opaque="true" tear_off="true"> | 887 | mouse_opaque="false" opaque="true" tear_off="true"> |
873 | 888 | ||
874 | 889 | ||
875 | <!-- CONSOLES --> | 890 | <!-- CONSOLES --> |
876 | 891 | ||
877 | <menu label="Consoles" name="Consoles" drop_shadow="true" | 892 | <menu label="Consoles" name="Consoles" drop_shadow="true" |
878 | opaque="true" tear_off="true"> | 893 | mouse_opaque="false" opaque="true" tear_off="true"> |
879 | <menu_item_check name="Frame Console" label="Frame Console" | 894 | <menu_item_check name="Frame Console" label="Frame Console" |
880 | shortcut="control|shift|2"> | 895 | shortcut="control|shift|2"> |
881 | <on_click function="Advanced.ToggleConsole" | 896 | <on_click function="Advanced.ToggleConsole" |
@@ -959,7 +974,7 @@ | |||
959 | <!-- HUD INFO --> | 974 | <!-- HUD INFO --> |
960 | 975 | ||
961 | <menu label="HUD Info" name="HUD Info" drop_shadow="true" | 976 | <menu label="HUD Info" name="HUD Info" drop_shadow="true" |
962 | opaque="true" tear_off="true"> | 977 | mouse_opaque="false" opaque="true" tear_off="true"> |
963 | <menu_item_check name="Velocity" label="Velocity"> | 978 | <menu_item_check name="Velocity" label="Velocity"> |
964 | <on_click function="Advanced.ToggleHUDInfo" | 979 | <on_click function="Advanced.ToggleHUDInfo" |
965 | userdata="velocity" /> | 980 | userdata="velocity" /> |
@@ -1028,11 +1043,11 @@ | |||
1028 | <!-- RENDERING --> | 1043 | <!-- RENDERING --> |
1029 | 1044 | ||
1030 | <menu label="Rendering" name="Rendering" drop_shadow="true" | 1045 | <menu label="Rendering" name="Rendering" drop_shadow="true" |
1031 | opaque="true" tear_off="true"> | 1046 | mouse_opaque="false" opaque="true" tear_off="true"> |
1032 | 1047 | ||
1033 | <!-- TYPES --> | 1048 | <!-- TYPES --> |
1034 | <menu label="Types" name="Types" drop_shadow="true" | 1049 | <menu label="Types" name="Types" drop_shadow="true" |
1035 | opaque="true" tear_off="true"> | 1050 | mouse_opaque="false" opaque="true" tear_off="true"> |
1036 | <menu_item_check name="Simple" label="Simple" | 1051 | <menu_item_check name="Simple" label="Simple" |
1037 | shortcut="control|alt|shift|1"> | 1052 | shortcut="control|alt|shift|1"> |
1038 | <on_click function="Advanced.ToggleRenderType" | 1053 | <on_click function="Advanced.ToggleRenderType" |
@@ -1129,7 +1144,7 @@ | |||
1129 | 1144 | ||
1130 | <!-- FEATURES --> | 1145 | <!-- FEATURES --> |
1131 | <menu label="Features" name="Features" drop_shadow="true" | 1146 | <menu label="Features" name="Features" drop_shadow="true" |
1132 | opaque="true" tear_off="true"> | 1147 | mouse_opaque="false" opaque="true" tear_off="true"> |
1133 | <menu_item_check name="UI" label="UI" | 1148 | <menu_item_check name="UI" label="UI" |
1134 | shortcut="alt|shift|F1"> | 1149 | shortcut="alt|shift|F1"> |
1135 | <on_click function="Advanced.ToggleFeature" | 1150 | <on_click function="Advanced.ToggleFeature" |
@@ -1192,7 +1207,7 @@ | |||
1192 | 1207 | ||
1193 | <!-- INFO DISPLAYS --> | 1208 | <!-- INFO DISPLAYS --> |
1194 | <menu label="Info Displays" name="Info Displays" drop_shadow="true" | 1209 | <menu label="Info Displays" name="Info Displays" drop_shadow="true" |
1195 | opaque="true" tear_off="true"> | 1210 | mouse_opaque="false" opaque="true" tear_off="true"> |
1196 | <menu_item_check name="Verify" label="Verify"> | 1211 | <menu_item_check name="Verify" label="Verify"> |
1197 | <on_click function="Advanced.ToggleInfoDisplay" | 1212 | <on_click function="Advanced.ToggleInfoDisplay" |
1198 | userdata="verify" /> | 1213 | userdata="verify" /> |
@@ -1319,7 +1334,7 @@ | |||
1319 | 1334 | ||
1320 | <!-- RENDER TESTS --> | 1335 | <!-- RENDER TESTS --> |
1321 | <menu label="Render Tests" name="Render Tests" drop_shadow="true" | 1336 | <menu label="Render Tests" name="Render Tests" drop_shadow="true" |
1322 | opaque="true" tear_off="true"> | 1337 | mouse_opaque="false" opaque="true" tear_off="true"> |
1323 | <menu_item_check name="Camera Offset" label="Camera Offset"> | 1338 | <menu_item_check name="Camera Offset" label="Camera Offset"> |
1324 | <on_click function="ToggleControl" | 1339 | <on_click function="ToggleControl" |
1325 | userdata="CameraOffset" /> | 1340 | userdata="CameraOffset" /> |
@@ -1464,7 +1479,7 @@ | |||
1464 | <!-- WORLD --> | 1479 | <!-- WORLD --> |
1465 | 1480 | ||
1466 | <menu label="World" name="World" drop_shadow="true" | 1481 | <menu label="World" name="World" drop_shadow="true" |
1467 | opaque="true" tear_off="true"> | 1482 | mouse_opaque="false" opaque="true" tear_off="true"> |
1468 | <!-- Disabled because you can't do this in Windlight. | 1483 | <!-- Disabled because you can't do this in Windlight. |
1469 | <menu_item_check name="Mouse Moves Sun" | 1484 | <menu_item_check name="Mouse Moves Sun" |
1470 | label="Mouse Moves Sun" | 1485 | label="Mouse Moves Sun" |
@@ -1499,9 +1514,11 @@ | |||
1499 | 1514 | ||
1500 | <!-- RLVa --> | 1515 | <!-- RLVa --> |
1501 | 1516 | ||
1502 | <menu label="RLVa" name="RLVa" drop_shadow="true" opaque="true" tear_off="true"> | 1517 | <menu label="RLVa" name="RLVa" drop_shadow="true" |
1518 | mouse_opaque="false" opaque="true" tear_off="true"> | ||
1503 | 1519 | ||
1504 | <menu label="Debug" name="Debug" drop_shadow="true" opaque="true" tear_off="true"> | 1520 | <menu label="Debug" name="Debug" drop_shadow="true" |
1521 | mouse_opaque="false" opaque="true" tear_off="true"> | ||
1505 | 1522 | ||
1506 | <menu_item_check name="Show Debug Messages" | 1523 | <menu_item_check name="Show Debug Messages" |
1507 | label="Show Debug Messages"> | 1524 | label="Show Debug Messages"> |
@@ -1575,7 +1592,7 @@ | |||
1575 | <!-- UI --> | 1592 | <!-- UI --> |
1576 | 1593 | ||
1577 | <menu label="UI" name="UI" drop_shadow="true" | 1594 | <menu label="UI" name="UI" drop_shadow="true" |
1578 | opaque="true" tear_off="true"> | 1595 | mouse_opaque="false" opaque="true" tear_off="true"> |
1579 | 1596 | ||
1580 | 1597 | ||
1581 | <menu_item_check name="Use default system color picker" | 1598 | <menu_item_check name="Use default system color picker" |
@@ -1736,7 +1753,7 @@ | |||
1736 | <!-- XUI --> | 1753 | <!-- XUI --> |
1737 | 1754 | ||
1738 | <menu label="XUI" name="XUI" drop_shadow="true" | 1755 | <menu label="XUI" name="XUI" drop_shadow="true" |
1739 | opaque="true" tear_off="true"> | 1756 | mouse_opaque="false" opaque="true" tear_off="true"> |
1740 | <menu_item_call name="Floater Test" | 1757 | <menu_item_call name="Floater Test" |
1741 | label="Floater Test"> | 1758 | label="Floater Test"> |
1742 | <on_click function="Advanced.ShowFloaterTest" | 1759 | <on_click function="Advanced.ShowFloaterTest" |
@@ -1782,10 +1799,10 @@ | |||
1782 | <!-- CHARACTER --> | 1799 | <!-- CHARACTER --> |
1783 | 1800 | ||
1784 | <menu label="Character" name="Character" drop_shadow="true" | 1801 | <menu label="Character" name="Character" drop_shadow="true" |
1785 | opaque="true" tear_off="true"> | 1802 | mouse_opaque="false" opaque="true" tear_off="true"> |
1786 | 1803 | ||
1787 | <menu label="Grab Baked Texture" name="Grab Baked Texture" drop_shadow="true" | 1804 | <menu label="Grab Baked Texture" name="Grab Baked Texture" drop_shadow="true" |
1788 | opaque="true" tear_off="true"> | 1805 | mouse_opaque="false" opaque="true" tear_off="true"> |
1789 | 1806 | ||
1790 | <menu_item_call name="Iris" enabled="false" | 1807 | <menu_item_call name="Iris" enabled="false" |
1791 | label="Iris"> | 1808 | label="Iris"> |
@@ -1826,7 +1843,7 @@ | |||
1826 | 1843 | ||
1827 | <!-- CHARACTER TESTS --> | 1844 | <!-- CHARACTER TESTS --> |
1828 | <menu label="Character Tests" name="Character Tests" drop_shadow="true" | 1845 | <menu label="Character Tests" name="Character Tests" drop_shadow="true" |
1829 | opaque="true" tear_off="true"> | 1846 | mouse_opaque="false" opaque="true" tear_off="true"> |
1830 | <menu_item_call name="Appearance To XML" | 1847 | <menu_item_call name="Appearance To XML" |
1831 | label="Appearance To XML"> | 1848 | label="Appearance To XML"> |
1832 | <on_click function="Advanced.ToggleAppearanceToXML" | 1849 | <on_click function="Advanced.ToggleAppearanceToXML" |
@@ -1997,7 +2014,7 @@ | |||
1997 | <!-- CRASH --> | 2014 | <!-- CRASH --> |
1998 | 2015 | ||
1999 | <menu label="Crash" name="Crash" drop_shadow="true" | 2016 | <menu label="Crash" name="Crash" drop_shadow="true" |
2000 | opaque="true" tear_off="true"> | 2017 | mouse_opaque="false" opaque="true" tear_off="true"> |
2001 | <menu_item_call name="Force Bad Memory Access" | 2018 | <menu_item_call name="Force Bad Memory Access" |
2002 | label="Force Bad Memory Access"> | 2019 | label="Force Bad Memory Access"> |
2003 | <on_click function="Advanced.Crash" | 2020 | <on_click function="Advanced.Crash" |
@@ -2035,7 +2052,7 @@ | |||
2035 | <!-- NETWORK --> | 2052 | <!-- NETWORK --> |
2036 | 2053 | ||
2037 | <menu label="Network" name="Network" drop_shadow="true" | 2054 | <menu label="Network" name="Network" drop_shadow="true" |
2038 | opaque="true" tear_off="true"> | 2055 | mouse_opaque="false" opaque="true" tear_off="true"> |
2039 | <menu_item_call name="Enable Message Log" | 2056 | <menu_item_call name="Enable Message Log" |
2040 | label="Enable Message Log"> | 2057 | label="Enable Message Log"> |
2041 | <on_click function="Advanced.EnableMessageLog" | 2058 | <on_click function="Advanced.EnableMessageLog" |
@@ -2072,7 +2089,7 @@ | |||
2072 | <!-- RECORDER --> | 2089 | <!-- RECORDER --> |
2073 | 2090 | ||
2074 | <menu label="Recorder" name="Recorder" drop_shadow="true" | 2091 | <menu label="Recorder" name="Recorder" drop_shadow="true" |
2075 | opaque="true" tear_off="true"> | 2092 | mouse_opaque="false" opaque="true" tear_off="true"> |
2076 | <menu_item_check name="Full Session Logging" | 2093 | <menu_item_check name="Full Session Logging" |
2077 | label="Full Session Logging"> | 2094 | label="Full Session Logging"> |
2078 | <on_click function="ToggleControl" | 2095 | <on_click function="ToggleControl" |
@@ -2130,7 +2147,7 @@ | |||
2130 | <!-- ADMIN OPTIONS --> | 2147 | <!-- ADMIN OPTIONS --> |
2131 | 2148 | ||
2132 | <menu label="Admin Options" name="Admin Options" drop_shadow="true" | 2149 | <menu label="Admin Options" name="Admin Options" drop_shadow="true" |
2133 | opaque="true" tear_off="true"> | 2150 | mouse_opaque="false" opaque="true" tear_off="true"> |
2134 | <menu_item_check name="View Admin Options" | 2151 | <menu_item_check name="View Admin Options" |
2135 | label="View Admin Options" | 2152 | label="View Admin Options" |
2136 | shortcut="control|alt|V"> | 2153 | shortcut="control|alt|V"> |