diff options
Diffstat (limited to 'linden/indra/llui/lliconctrl.h')
-rw-r--r-- | linden/indra/llui/lliconctrl.h | 10 |
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 | { |
50 | public: | 50 | public: |
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 | ||
72 | private: | 72 | private: |
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 | }; |