summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingcharacters.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-06 13:37:11 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-06 13:37:11 -0700
commit8d9863f4ef039af4f6af7f41909e212b9101ce0f (patch)
treedf383dfc2b0d50f70bac8af964ec1cea056a7c2e /indra/newview/llfloaterpathfindingcharacters.cpp
parent2ddae4e363fb84c8d755ae006a8f5d025c8077d3 (diff)
Altering the layout of the pathfinding console based on feedback.
Diffstat (limited to 'indra/newview/llfloaterpathfindingcharacters.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingcharacters.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llfloaterpathfindingcharacters.cpp b/indra/newview/llfloaterpathfindingcharacters.cpp
index 6fc1b8f051..9998d25c7d 100644
--- a/indra/newview/llfloaterpathfindingcharacters.cpp
+++ b/indra/newview/llfloaterpathfindingcharacters.cpp
@@ -456,7 +456,8 @@ LLSD LLFloaterPathfindingCharacters::buildCharacterScrollListElement(const LLPat
void LLFloaterPathfindingCharacters::updateStatusMessage()
{
- static const LLColor4 warningColor = LLUIColorTable::instance().getColor("DrYellow");
+ static const LLColor4 errorColor = LLUIColorTable::instance().getColor("PathfindingErrorColor");
+ static const LLColor4 warningColor = LLUIColorTable::instance().getColor("PathfindingWarningColor");
std::string statusText("");
LLStyle::Params styleParams;
@@ -465,13 +466,15 @@ void LLFloaterPathfindingCharacters::updateStatusMessage()
{
case kMessagingUnknown:
statusText = getString("characters_messaging_initial");
+ styleParams.color = errorColor;
break;
case kMessagingGetRequestSent :
statusText = getString("characters_messaging_get_inprogress");
+ styleParams.color = warningColor;
break;
case kMessagingGetError :
statusText = getString("characters_messaging_get_error");
- styleParams.color = warningColor;
+ styleParams.color = errorColor;
break;
case kMessagingComplete :
if (mCharactersScrollList->isEmpty())
@@ -498,10 +501,11 @@ void LLFloaterPathfindingCharacters::updateStatusMessage()
break;
case kMessagingNotEnabled:
statusText = getString("characters_messaging_not_enabled");
- styleParams.color = warningColor;
+ styleParams.color = errorColor;
break;
default:
statusText = getString("characters_messaging_initial");
+ styleParams.color = errorColor;
llassert(0);
break;
}