From a4000c3744e42fcbb638e742f3b63fa31a0dee15 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Fri, 8 May 2009 07:43:08 +0000 Subject: merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7 --- indra/llui/llstyle.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'indra/llui/llstyle.h') diff --git a/indra/llui/llstyle.h b/indra/llui/llstyle.h index 3ad379cdd9..890abc7d67 100644 --- a/indra/llui/llstyle.h +++ b/indra/llui/llstyle.h @@ -34,10 +34,11 @@ #define LL_LLSTYLE_H #include "v4color.h" -#include "llresmgr.h" #include "llfont.h" #include "llui.h" +class LLFontGL; + class LLStyle : public LLRefCount { public: @@ -55,9 +56,9 @@ public: virtual BOOL isVisible() const; virtual void setVisible(BOOL is_visible); - virtual const std::string& getFontString() const { return mFontName; } + virtual const std::string& getFontString() const; virtual void setFontName(const std::string& fontname); - virtual LLFONT_ID getFontID() const { return mFontID; } + virtual LLFontGL* getFont() const; virtual const std::string& getLinkHREF() const { return mLink; } virtual void setLinkHREF(const std::string& href); @@ -107,7 +108,7 @@ private: BOOL mVisible; LLColor4 mColor; std::string mFontName; - LLFONT_ID mFontID; + LLFontGL* mFont; // cached for performance std::string mLink; LLUIImagePtr mImagep; BOOL mIsEmbeddedItem; -- cgit v1.2.3