diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelavatar.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp index 288dbcd..5828870 100644 --- a/linden/indra/newview/llpanelavatar.cpp +++ b/linden/indra/newview/llpanelavatar.cpp | |||
@@ -1509,13 +1509,15 @@ void LLPanelAvatar::resetGroupList() | |||
1509 | row["columns"][0]["width"] = 0; | 1509 | row["columns"][0]["width"] = 0; |
1510 | if (group_data.mListInProfile) | 1510 | if (group_data.mListInProfile) |
1511 | { | 1511 | { |
1512 | static LLColor4 *sScrollUnselectedColor = rebind_llcontrol<LLColor4>("ScrollUnselectedColor", LLUI::sColorsGroup, true); | ||
1512 | row["columns"][0]["value"] = group_string; | 1513 | row["columns"][0]["value"] = group_string; |
1513 | row["columns"][0]["color"] = gColors.getColor("ScrollUnselectedColor").getValue(); | 1514 | row["columns"][0]["color"] = (*sScrollUnselectedColor).getValue(); |
1514 | } | 1515 | } |
1515 | else | 1516 | else |
1516 | { | 1517 | { |
1518 | static LLColor4 *sScrollReadOnlyColor = rebind_llcontrol<LLColor4>("ScrollReadOnlyColor", LLUI::sColorsGroup, true); | ||
1517 | row["columns"][0]["value"] = group_string + " " + getString("HiddenLabel"); | 1519 | row["columns"][0]["value"] = group_string + " " + getString("HiddenLabel"); |
1518 | row["columns"][0]["color"] = gColors.getColor("ScrollReadOnlyColor").getValue(); | 1520 | row["columns"][0]["color"] = (*sScrollReadOnlyColor).getValue(); |
1519 | } | 1521 | } |
1520 | group_list->addElement(row); | 1522 | group_list->addElement(row); |
1521 | } | 1523 | } |
@@ -2073,13 +2075,15 @@ void LLPanelAvatar::processAvatarGroupsReply(LLMessageSystem *msg, void**) | |||
2073 | // Set normal color if not found or if group is visible in profile | 2075 | // Set normal color if not found or if group is visible in profile |
2074 | if (!group_data || group_data->mListInProfile) | 2076 | if (!group_data || group_data->mListInProfile) |
2075 | { | 2077 | { |
2078 | static LLColor4 *sScrollUnselectedColor = rebind_llcontrol<LLColor4>("ScrollUnselectedColor", LLUI::sColorsGroup, true); | ||
2076 | row["columns"][0]["value"] = group_string; | 2079 | row["columns"][0]["value"] = group_string; |
2077 | row["columns"][0]["color"] = gColors.getColor("ScrollUnselectedColor").getValue(); | 2080 | row["columns"][0]["color"] = (*sScrollUnselectedColor).getValue(); |
2078 | } | 2081 | } |
2079 | else | 2082 | else |
2080 | { | 2083 | { |
2084 | static LLColor4 *sScrollReadOnlyColor = rebind_llcontrol<LLColor4>("ScrollReadOnlyColor", LLUI::sColorsGroup, true); | ||
2081 | row["columns"][0]["value"] = group_string + " " + self->getString("HiddenLabel"); | 2085 | row["columns"][0]["value"] = group_string + " " + self->getString("HiddenLabel"); |
2082 | row["columns"][0]["color"] = gColors.getColor("ScrollReadOnlyColor").getValue(); | 2086 | row["columns"][0]["color"] = (*sScrollReadOnlyColor).getValue(); |
2083 | } | 2087 | } |
2084 | if (group_list) | 2088 | if (group_list) |
2085 | { | 2089 | { |