aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelavatar.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp
index 33f4cd6..e88a16a 100644
--- a/linden/indra/newview/llpanelavatar.cpp
+++ b/linden/indra/newview/llpanelavatar.cpp
@@ -1499,13 +1499,15 @@ void LLPanelAvatar::resetGroupList()
1499 row["columns"][0]["width"] = 0; 1499 row["columns"][0]["width"] = 0;
1500 if (group_data.mListInProfile) 1500 if (group_data.mListInProfile)
1501 { 1501 {
1502 static LLColor4 *sScrollUnselectedColor = rebind_llcontrol<LLColor4>("ScrollUnselectedColor", LLUI::sColorsGroup, true);
1502 row["columns"][0]["value"] = group_string; 1503 row["columns"][0]["value"] = group_string;
1503 row["columns"][0]["color"] = gColors.getColor("ScrollUnselectedColor").getValue(); 1504 row["columns"][0]["color"] = (*sScrollUnselectedColor).getValue();
1504 } 1505 }
1505 else 1506 else
1506 { 1507 {
1508 static LLColor4 *sScrollReadOnlyColor = rebind_llcontrol<LLColor4>("ScrollReadOnlyColor", LLUI::sColorsGroup, true);
1507 row["columns"][0]["value"] = group_string + " " + getString("HiddenLabel"); 1509 row["columns"][0]["value"] = group_string + " " + getString("HiddenLabel");
1508 row["columns"][0]["color"] = gColors.getColor("ScrollReadOnlyColor").getValue(); 1510 row["columns"][0]["color"] = (*sScrollReadOnlyColor).getValue();
1509 } 1511 }
1510 group_list->addElement(row); 1512 group_list->addElement(row);
1511 } 1513 }
@@ -2063,13 +2065,15 @@ void LLPanelAvatar::processAvatarGroupsReply(LLMessageSystem *msg, void**)
2063 // Set normal color if not found or if group is visible in profile 2065 // Set normal color if not found or if group is visible in profile
2064 if (!group_data || group_data->mListInProfile) 2066 if (!group_data || group_data->mListInProfile)
2065 { 2067 {
2068 static LLColor4 *sScrollUnselectedColor = rebind_llcontrol<LLColor4>("ScrollUnselectedColor", LLUI::sColorsGroup, true);
2066 row["columns"][0]["value"] = group_string; 2069 row["columns"][0]["value"] = group_string;
2067 row["columns"][0]["color"] = gColors.getColor("ScrollUnselectedColor").getValue(); 2070 row["columns"][0]["color"] = (*sScrollUnselectedColor).getValue();
2068 } 2071 }
2069 else 2072 else
2070 { 2073 {
2074 static LLColor4 *sScrollReadOnlyColor = rebind_llcontrol<LLColor4>("ScrollReadOnlyColor", LLUI::sColorsGroup, true);
2071 row["columns"][0]["value"] = group_string + " " + self->getString("HiddenLabel"); 2075 row["columns"][0]["value"] = group_string + " " + self->getString("HiddenLabel");
2072 row["columns"][0]["color"] = gColors.getColor("ScrollReadOnlyColor").getValue(); 2076 row["columns"][0]["color"] = (*sScrollReadOnlyColor).getValue();
2073 } 2077 }
2074 if (group_list) 2078 if (group_list)
2075 { 2079 {