aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llvisualparam.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcharacter/llvisualparam.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llcharacter/llvisualparam.h')
-rw-r--r--linden/indra/llcharacter/llvisualparam.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/linden/indra/llcharacter/llvisualparam.h b/linden/indra/llcharacter/llvisualparam.h
index 41b8a05..39fff0f 100644
--- a/linden/indra/llcharacter/llvisualparam.h
+++ b/linden/indra/llcharacter/llvisualparam.h
@@ -71,10 +71,10 @@ public:
71protected: 71protected:
72 S32 mID; // ID associated with VisualParam 72 S32 mID; // ID associated with VisualParam
73 73
74 LLString mName; // name (for internal purposes) 74 std::string mName; // name (for internal purposes)
75 LLString mDisplayName; // name displayed to the user 75 std::string mDisplayName; // name displayed to the user
76 LLString mMinName; // name associated with minimum value 76 std::string mMinName; // name associated with minimum value
77 LLString mMaxName; // name associated with maximum value 77 std::string mMaxName; // name associated with maximum value
78 EVisualParamGroup mGroup; // morph group for separating UI controls 78 EVisualParamGroup mGroup; // morph group for separating UI controls
79 F32 mMinWeight; // minimum weight that can be assigned to this morph target 79 F32 mMinWeight; // minimum weight that can be assigned to this morph target
80 F32 mMaxWeight; // maximum weight that can be assigned to this morph target 80 F32 mMaxWeight; // maximum weight that can be assigned to this morph target
@@ -114,14 +114,14 @@ public:
114 S32 getID() { return mID; } 114 S32 getID() { return mID; }
115 void setID(S32 id) { llassert(!mInfo); mID = id; } 115 void setID(S32 id) { llassert(!mInfo); mID = id; }
116 116
117 const LLString& getName() const { return mInfo->mName; } 117 const std::string& getName() const { return mInfo->mName; }
118 const LLString& getDisplayName() const { return mInfo->mDisplayName; } 118 const std::string& getDisplayName() const { return mInfo->mDisplayName; }
119 const LLString& getMaxDisplayName() const { return mInfo->mMaxName; } 119 const std::string& getMaxDisplayName() const { return mInfo->mMaxName; }
120 const LLString& getMinDisplayName() const { return mInfo->mMinName; } 120 const std::string& getMinDisplayName() const { return mInfo->mMinName; }
121 121
122 void setDisplayName(const LLString& s) { mInfo->mDisplayName = s; } 122 void setDisplayName(const std::string& s) { mInfo->mDisplayName = s; }
123 void setMaxDisplayName(const LLString& s) { mInfo->mMaxName = s; } 123 void setMaxDisplayName(const std::string& s) { mInfo->mMaxName = s; }
124 void setMinDisplayName(const LLString& s) { mInfo->mMinName = s; } 124 void setMinDisplayName(const std::string& s) { mInfo->mMinName = s; }
125 125
126 EVisualParamGroup getGroup() { return mInfo->mGroup; } 126 EVisualParamGroup getGroup() { return mInfo->mGroup; }
127 F32 getMinWeight() { return mInfo->mMinWeight; } 127 F32 getMinWeight() { return mInfo->mMinWeight; }