summaryrefslogtreecommitdiff
path: root/indra/llui/llstyle.h
diff options
context:
space:
mode:
authorgabriel lee <gabriel@lindenlab.com>2010-02-02 10:58:47 +0000
committergabriel lee <gabriel@lindenlab.com>2010-02-02 10:58:47 +0000
commit95d0df4ab05c4cfcc78f684ab28d36b9cc84410e (patch)
treeb1621cd22044edade98019af9d1b77383e3b88ef /indra/llui/llstyle.h
parent5dfdb0d5a41143512180390193ce79644bcb9469 (diff)
parent4ad357ec70e15afdfe78816990cb23c7ba17619c (diff)
merged back my last changes
Diffstat (limited to 'indra/llui/llstyle.h')
-rw-r--r--indra/llui/llstyle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llstyle.h b/indra/llui/llstyle.h
index ee9ca730e9..2067e8e8be 100644
--- a/indra/llui/llstyle.h
+++ b/indra/llui/llstyle.h
@@ -59,11 +59,12 @@ public:
void setColor(const LLColor4 &color) { mColor = color; }
const LLColor4& getReadOnlyColor() const { return mReadOnlyColor; }
+ void setReadOnlyColor(const LLColor4& color) { mReadOnlyColor = color; }
BOOL isVisible() const;
void setVisible(BOOL is_visible);
- LLFontGL::ShadowType getShadowType() { return mDropShadow; }
+ LLFontGL::ShadowType getShadowType() const { return mDropShadow; }
void setFont(const LLFontGL* font);
const LLFontGL* getFont() const;
@@ -116,5 +117,6 @@ private:
};
typedef LLPointer<LLStyle> LLStyleSP;
+typedef LLPointer<const LLStyle> LLStyleConstSP;
#endif // LL_LLSTYLE_H