aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lliconctrl.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/llui/lliconctrl.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/llui/lliconctrl.h')
-rw-r--r--linden/indra/llui/lliconctrl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llui/lliconctrl.h b/linden/indra/llui/lliconctrl.h
index 055b504..5cb8e98 100644
--- a/linden/indra/llui/lliconctrl.h
+++ b/linden/indra/llui/lliconctrl.h
@@ -48,17 +48,17 @@ class LLIconCtrl
48: public LLUICtrl 48: public LLUICtrl
49{ 49{
50public: 50public:
51 LLIconCtrl(const LLString& name, const LLRect &rect, const LLUUID &image_id); 51 LLIconCtrl(const std::string& name, const LLRect &rect, const LLUUID &image_id);
52 LLIconCtrl(const LLString& name, const LLRect &rect, const LLString &image_name); 52 LLIconCtrl(const std::string& name, const LLRect &rect, const std::string &image_name);
53 virtual ~LLIconCtrl(); 53 virtual ~LLIconCtrl();
54 54
55 // llview overrides 55 // llview overrides
56 virtual void draw(); 56 virtual void draw();
57 57
58 void setImage(const LLString& image_name); 58 void setImage(const std::string& image_name);
59 void setImage(const LLUUID& image_name); 59 void setImage(const LLUUID& image_name);
60 const LLUUID &getImage() const { return mImageID; } 60 const LLUUID &getImage() const { return mImageID; }
61 LLString getImageName() const { return mImageName; } 61 std::string getImageName() const { return mImageName; }
62 62
63 // Takes a UUID, wraps get/setImage 63 // Takes a UUID, wraps get/setImage
64 virtual void setValue(const LLSD& value ); 64 virtual void setValue(const LLSD& value );
@@ -71,7 +71,7 @@ public:
71 71
72private: 72private:
73 LLColor4 mColor; 73 LLColor4 mColor;
74 LLString mImageName; 74 std::string mImageName;
75 LLUUID mImageID; 75 LLUUID mImageID;
76 LLPointer<LLUIImage> mImagep; 76 LLPointer<LLUIImage> mImagep;
77}; 77};