From 9ec432034dc3c45d7ce763eb02dae4cc7f6b8da8 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Sun, 21 Jun 2009 08:04:56 +0000 Subject: merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3 ignore-dead-branch --- 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