diff options
author | Jacek Antonelli | 2011-06-15 02:17:15 -0500 |
---|---|---|
committer | Jacek Antonelli | 2011-06-15 02:17:15 -0500 |
commit | 58739a8262f655fa8255e73615d34f2c17a463b0 (patch) | |
tree | 4f6ac08a155cc2c8a658f3c44392b1bc33249c9a /linden/indra/newview | |
parent | Reverted ability to customize the Imprudence client tag color. (diff) | |
download | meta-impy-58739a8262f655fa8255e73615d34f2c17a463b0.zip meta-impy-58739a8262f655fa8255e73615d34f2c17a463b0.tar.gz meta-impy-58739a8262f655fa8255e73615d34f2c17a463b0.tar.bz2 meta-impy-58739a8262f655fa8255e73615d34f2c17a463b0.tar.xz |
Added "Show client name tag colors" checkbox in Preferences > Advanced.
That checkbox was removed from Preferences > Colors in the previous
commit (87219855).
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llprefsadvanced.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp index 087acc9..2311896 100644 --- a/linden/indra/newview/llprefsadvanced.cpp +++ b/linden/indra/newview/llprefsadvanced.cpp | |||
@@ -73,6 +73,7 @@ BOOL LLPrefsAdvanced::postBuild() | |||
73 | static BOOL* sShowClientNameTag = rebind_llcontrol<BOOL>("ShowClientNameTag", &gSavedSettings, true); | 73 | static BOOL* sShowClientNameTag = rebind_llcontrol<BOOL>("ShowClientNameTag", &gSavedSettings, true); |
74 | childSetValue("client_name_tag_check", (*sShowClientNameTag)); | 74 | childSetValue("client_name_tag_check", (*sShowClientNameTag)); |
75 | childSetValue("client_name_hover_check", gSavedSettings.getBOOL("ShowClientNameHoverTip")); | 75 | childSetValue("client_name_hover_check", gSavedSettings.getBOOL("ShowClientNameHoverTip")); |
76 | childSetValue("client_colors_check", gSavedSettings.getBOOL("ShowClientColor")); | ||
76 | childSetValue("client_name_tag_broadcast_check", gSavedSettings.getBOOL("ShowMyClientTagToOthers")); | 77 | childSetValue("client_name_tag_broadcast_check", gSavedSettings.getBOOL("ShowMyClientTagToOthers")); |
77 | 78 | ||
78 | childSetValue("appearance_anim_check", gSavedSettings.getBOOL("AppearanceAnimate")); | 79 | childSetValue("appearance_anim_check", gSavedSettings.getBOOL("AppearanceAnimate")); |
@@ -117,6 +118,7 @@ void LLPrefsAdvanced::apply() | |||
117 | gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); | 118 | gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); |
118 | gSavedSettings.setBOOL("ShowClientNameTag", childGetValue("client_name_tag_check")); | 119 | gSavedSettings.setBOOL("ShowClientNameTag", childGetValue("client_name_tag_check")); |
119 | gSavedSettings.setBOOL("ShowClientNameHoverTip", childGetValue("client_name_hover_check")); | 120 | gSavedSettings.setBOOL("ShowClientNameHoverTip", childGetValue("client_name_hover_check")); |
121 | gSavedSettings.setBOOL("ShowClientColor", childGetValue("client_colors_check")); | ||
120 | 122 | ||
121 | gSavedSettings.setBOOL("AppearanceAnimate", childGetValue("appearance_anim_check")); | 123 | gSavedSettings.setBOOL("AppearanceAnimate", childGetValue("appearance_anim_check")); |
122 | gSavedSettings.setBOOL("LanguageIsPublic", childGetValue("language_is_public")); | 124 | gSavedSettings.setBOOL("LanguageIsPublic", childGetValue("language_is_public")); |
@@ -332,4 +334,3 @@ void LLPrefsAdvanced::onSaveAnyoneCloudButton(void * data) | |||
332 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "cloud.xml"); | 334 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "cloud.xml"); |
333 | LLVOAvatar::saveCloud(filename, LLVOAvatar::sCloud); | 335 | LLVOAvatar::saveCloud(filename, LLVOAvatar::sCloud); |
334 | } | 336 | } |
335 | |||
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml index 8585a8e..b6deee9 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml | |||
@@ -74,7 +74,7 @@ USE left="270" FOR TABBING OPTIONS | |||
74 | 74 | ||
75 | <check_box bottom_delta="-25" enabled="true" follows="left|top" | 75 | <check_box bottom_delta="-25" enabled="true" follows="left|top" |
76 | font="SansSerifSmall" height="16" initial_value="false" | 76 | font="SansSerifSmall" height="16" initial_value="false" |
77 | label="Show client names in nametags" left_delta="30" mouse_opaque="true" | 77 | label="Show client names in nametags" left="50" mouse_opaque="true" |
78 | name="client_name_tag_check" radio_style="false" width="160" /> | 78 | name="client_name_tag_check" radio_style="false" width="160" /> |
79 | <check_box bottom_delta="0" enabled="true" follows="left|top" | 79 | <check_box bottom_delta="0" enabled="true" follows="left|top" |
80 | font="SansSerifSmall" height="16" initial_value="false" | 80 | font="SansSerifSmall" height="16" initial_value="false" |
@@ -82,12 +82,16 @@ USE left="270" FOR TABBING OPTIONS | |||
82 | name="client_name_hover_check" radio_style="false" width="160" /> | 82 | name="client_name_hover_check" radio_style="false" width="160" /> |
83 | <check_box bottom_delta="-18" enabled="true" follows="left|top" | 83 | <check_box bottom_delta="-18" enabled="true" follows="left|top" |
84 | font="SansSerifSmall" height="16" initial_value="false" | 84 | font="SansSerifSmall" height="16" initial_value="false" |
85 | label="Show your client name to others" left="50" mouse_opaque="true" | 85 | label="Show client name tag colors" left="50" mouse_opaque="true" |
86 | name="client_colors_check" radio_style="false" width="160" /> | ||
87 | <check_box bottom_delta="0" enabled="true" follows="left|top" | ||
88 | font="SansSerifSmall" height="16" initial_value="false" | ||
89 | label="Show your client name to others" left="270" mouse_opaque="true" | ||
86 | name="client_name_tag_broadcast_check" radio_style="false" width="217" /> | 90 | name="client_name_tag_broadcast_check" radio_style="false" width="217" /> |
87 | <check_box bottom_delta="-18" enabled="true" follows="left|top" | 91 | <check_box bottom_delta="-18" enabled="true" follows="left|top" |
88 | font="SansSerifSmall" height="16" initial_value="false" | 92 | font="SansSerifSmall" height="16" initial_value="false" |
89 | tool_tip="Toggle editing animation and standing up when entering appearance mode" | 93 | tool_tip="Toggle editing animation and standing up when entering appearance mode" |
90 | label="Animate avatar when editing appearance" left_delta="0" mouse_opaque="true" | 94 | label="Animate avatar when editing appearance" left="50" mouse_opaque="true" |
91 | name="appearance_anim_check" radio_style="false" width="217" /> | 95 | name="appearance_anim_check" radio_style="false" width="217" /> |
92 | <check_box bottom_delta="-18" control_name="HeadFollowsMouse" enabled="true" | 96 | <check_box bottom_delta="-18" control_name="HeadFollowsMouse" enabled="true" |
93 | follows="left|top" font="SansSerifSmall" height="16" | 97 | follows="left|top" font="SansSerifSmall" height="16" |