diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-07-10 12:30:15 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-07-10 12:30:15 -0700 |
commit | 241a446224013f76fee83e786568862068b60309 (patch) | |
tree | 3b7a8986a5ea9547c8b5f6038fd6aa4b25329ba5 /indra/newview/llfloaterpathfindinglinksets.cpp | |
parent | 2b7bb483e81f7a30c73d03d1f1931f186d4ef46f (diff) |
Adding the example use type labels to the pathfinding linksets floater.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.cpp')
-rw-r--r-- | indra/newview/llfloaterpathfindinglinksets.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp index 9516b4b0c1..bb0ac8f4b9 100644 --- a/indra/newview/llfloaterpathfindinglinksets.cpp +++ b/indra/newview/llfloaterpathfindinglinksets.cpp @@ -86,12 +86,16 @@ LLFloaterPathfindingLinksets::LLFloaterPathfindingLinksets(const LLSD& pSeed) mEditLinksetUseDynamicPhantom(NULL), mLabelWalkabilityCoefficients(NULL), mLabelEditA(NULL), + mLabelSuggestedUseA(NULL), mEditA(NULL), mLabelEditB(NULL), + mLabelSuggestedUseB(NULL), mEditB(NULL), mLabelEditC(NULL), + mLabelSuggestedUseC(NULL), mEditC(NULL), mLabelEditD(NULL), + mLabelSuggestedUseD(NULL), mEditD(NULL), mApplyEditsButton(NULL), mBeaconColor() @@ -158,6 +162,9 @@ BOOL LLFloaterPathfindingLinksets::postBuild() mLabelEditA = findChild<LLTextBase>("edit_a_label"); llassert(mLabelEditA != NULL); + mLabelSuggestedUseA = findChild<LLTextBase>("suggested_use_a_label"); + llassert(mLabelSuggestedUseA != NULL); + mEditA = findChild<LLLineEditor>("edit_a_value"); llassert(mEditA != NULL); mEditA->setPrevalidate(LLTextValidate::validateNonNegativeS32); @@ -166,6 +173,9 @@ BOOL LLFloaterPathfindingLinksets::postBuild() mLabelEditB = findChild<LLTextBase>("edit_b_label"); llassert(mLabelEditB != NULL); + mLabelSuggestedUseB = findChild<LLTextBase>("suggested_use_b_label"); + llassert(mLabelSuggestedUseB != NULL); + mEditB = findChild<LLLineEditor>("edit_b_value"); llassert(mEditB != NULL); mEditB->setPrevalidate(LLTextValidate::validateNonNegativeS32); @@ -174,6 +184,9 @@ BOOL LLFloaterPathfindingLinksets::postBuild() mLabelEditC = findChild<LLTextBase>("edit_c_label"); llassert(mLabelEditC != NULL); + mLabelSuggestedUseC = findChild<LLTextBase>("suggested_use_c_label"); + llassert(mLabelSuggestedUseC != NULL); + mEditC = findChild<LLLineEditor>("edit_c_value"); llassert(mEditC != NULL); mEditC->setPrevalidate(LLTextValidate::validateNonNegativeS32); @@ -182,6 +195,9 @@ BOOL LLFloaterPathfindingLinksets::postBuild() mLabelEditD = findChild<LLTextBase>("edit_d_label"); llassert(mLabelEditD != NULL); + mLabelSuggestedUseD = findChild<LLTextBase>("suggested_use_d_label"); + llassert(mLabelSuggestedUseD != NULL); + mEditD = findChild<LLLineEditor>("edit_d_value"); llassert(mEditD != NULL); mEditD->setPrevalidate(LLTextValidate::validateNonNegativeS32); @@ -500,6 +516,10 @@ void LLFloaterPathfindingLinksets::updateStateOnEditFields() mLabelEditB->setEnabled(isEditEnabled); mLabelEditC->setEnabled(isEditEnabled); mLabelEditD->setEnabled(isEditEnabled); + mLabelSuggestedUseA->setEnabled(isEditEnabled); + mLabelSuggestedUseB->setEnabled(isEditEnabled); + mLabelSuggestedUseC->setEnabled(isEditEnabled); + mLabelSuggestedUseD->setEnabled(isEditEnabled); mEditA->setEnabled(isEditEnabled); mEditB->setEnabled(isEditEnabled); mEditC->setEnabled(isEditEnabled); |