diff options
author | McCabe Maxsted | 2010-08-26 11:04:43 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-25 08:35:35 -0700 |
commit | db9616811d45e168d81c8e464fb8a9cf27e51172 (patch) | |
tree | a8539baeb46297d51072285d946f925a8544eb64 /linden/indra/newview/llpanelavatar.cpp | |
parent | Revert "Updated boost 1.36 libs for Windows to support local textures (todo: ... (diff) | |
download | meta-impy-db9616811d45e168d81c8e464fb8a9cf27e51172.zip meta-impy-db9616811d45e168d81c8e464fb8a9cf27e51172.tar.gz meta-impy-db9616811d45e168d81c8e464fb8a9cf27e51172.tar.bz2 meta-impy-db9616811d45e168d81c8e464fb8a9cf27e51172.tar.xz |
Ported gSavedSettings changes from Emerald (as well as modifying a few of ours)
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 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 | { |