From 8d9863f4ef039af4f6af7f41909e212b9101ce0f Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Fri, 6 Apr 2012 13:37:11 -0700 Subject: Altering the layout of the pathfinding console based on feedback. --- indra/newview/llfloaterpathfindingcharacters.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'indra/newview/llfloaterpathfindingcharacters.cpp') 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; } -- cgit v1.2.3