diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llstyle.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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/llstyle.h')
-rw-r--r-- | linden/indra/llui/llstyle.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/llui/llstyle.h b/linden/indra/llui/llstyle.h index 56f1398..d235e15 100644 --- a/linden/indra/llui/llstyle.h +++ b/linden/indra/llui/llstyle.h | |||
@@ -42,11 +42,11 @@ class LLStyle : public LLRefCount | |||
42 | public: | 42 | public: |
43 | LLStyle(); | 43 | LLStyle(); |
44 | LLStyle(const LLStyle &style); | 44 | LLStyle(const LLStyle &style); |
45 | LLStyle(BOOL is_visible, const LLColor4 &color, const LLString& font_name); | 45 | LLStyle(BOOL is_visible, const LLColor4 &color, const std::string& font_name); |
46 | 46 | ||
47 | LLStyle &operator=(const LLStyle &rhs); | 47 | LLStyle &operator=(const LLStyle &rhs); |
48 | 48 | ||
49 | virtual void init (BOOL is_visible, const LLColor4 &color, const LLString& font_name); | 49 | virtual void init (BOOL is_visible, const LLColor4 &color, const std::string& font_name); |
50 | 50 | ||
51 | virtual const LLColor4& getColor() const { return mColor; } | 51 | virtual const LLColor4& getColor() const { return mColor; } |
52 | virtual void setColor(const LLColor4 &color) { mColor = color; } | 52 | virtual void setColor(const LLColor4 &color) { mColor = color; } |
@@ -54,12 +54,12 @@ public: | |||
54 | virtual BOOL isVisible() const; | 54 | virtual BOOL isVisible() const; |
55 | virtual void setVisible(BOOL is_visible); | 55 | virtual void setVisible(BOOL is_visible); |
56 | 56 | ||
57 | virtual const LLString& getFontString() const { return mFontName; } | 57 | virtual const std::string& getFontString() const { return mFontName; } |
58 | virtual void setFontName(const LLString& fontname); | 58 | virtual void setFontName(const std::string& fontname); |
59 | virtual LLFONT_ID getFontID() const { return mFontID; } | 59 | virtual LLFONT_ID getFontID() const { return mFontID; } |
60 | 60 | ||
61 | virtual const LLString& getLinkHREF() const { return mLink; } | 61 | virtual const std::string& getLinkHREF() const { return mLink; } |
62 | virtual void setLinkHREF(const LLString& href); | 62 | virtual void setLinkHREF(const std::string& href); |
63 | virtual BOOL isLink() const; | 63 | virtual BOOL isLink() const; |
64 | 64 | ||
65 | virtual LLUIImagePtr getImage() const; | 65 | virtual LLUIImagePtr getImage() const; |
@@ -105,9 +105,9 @@ protected: | |||
105 | private: | 105 | private: |
106 | BOOL mVisible; | 106 | BOOL mVisible; |
107 | LLColor4 mColor; | 107 | LLColor4 mColor; |
108 | LLString mFontName; | 108 | std::string mFontName; |
109 | LLFONT_ID mFontID; | 109 | LLFONT_ID mFontID; |
110 | LLString mLink; | 110 | std::string mLink; |
111 | LLUIImagePtr mImagep; | 111 | LLUIImagePtr mImagep; |
112 | BOOL mIsEmbeddedItem; | 112 | BOOL mIsEmbeddedItem; |
113 | }; | 113 | }; |