#include <llstyle.h>
Public Member Functions | |
LLStyle () | |
LLStyle (const LLStyle &style) | |
LLStyle (BOOL is_visible, const LLColor4 &color, const LLString &font_name) | |
LLStyle & | operator= (const LLStyle &rhs) |
virtual void | init (BOOL is_visible, const LLColor4 &color, const LLString &font_name) |
virtual const LLColor4 & | getColor () const |
virtual void | setColor (const LLColor4 &color) |
virtual BOOL | isVisible () const |
virtual void | setVisible (BOOL is_visible) |
virtual const LLString & | getFontString () const |
virtual void | setFontName (const LLString &fontname) |
virtual LLFONT_ID | getFontID () const |
virtual const LLString & | getLinkHREF () const |
virtual void | setLinkHREF (const LLString &href) |
virtual BOOL | isLink () const |
virtual LLUIImagePtr | getImage () const |
virtual void | setImage (const LLUUID &src) |
virtual BOOL | isImage () const |
virtual void | setImageSize (S32 width, S32 height) |
BOOL | getIsEmbeddedItem () const |
void | setIsEmbeddedItem (BOOL b) |
bool | operator== (const LLStyle &rhs) const |
bool | operator!= (const LLStyle &rhs) const |
Public Attributes | |
BOOL | mItalic |
BOOL | mBold |
BOOL | mUnderline |
BOOL | mDropShadow |
S32 | mImageWidth |
S32 | mImageHeight |
Protected Member Functions | |
virtual | ~LLStyle () |
Private Attributes | |
BOOL | mVisible |
LLColor4 | mColor |
LLString | mFontName |
LLFONT_ID | mFontID |
LLString | mLink |
LLUIImagePtr | mImagep |
BOOL | mIsEmbeddedItem |
Definition at line 40 of file llstyle.h.
LLStyle::LLStyle | ( | ) |
LLStyle::LLStyle | ( | const LLStyle & | style | ) |
Definition at line 45 of file llstyle.cpp.
References getColor(), getFontString(), getLinkHREF(), init(), isLink(), isVisible(), mBold, mDropShadow, mImageHeight, mImagep, mImageWidth, mIsEmbeddedItem, mItalic, mUnderline, setLinkHREF(), and TRUE.
Definition at line 69 of file llstyle.cpp.
References init().
virtual LLStyle::~LLStyle | ( | ) | [inline, protected, virtual] |
Definition at line 91 of file llstyle.cpp.
References getColor(), getFontString(), getLinkHREF(), isVisible(), mBold, mDropShadow, mFontName, mImageHeight, mImagep, mImageWidth, mIsEmbeddedItem, mItalic, mLink, mUnderline, setColor(), and setVisible().
void LLStyle::init | ( | BOOL | is_visible, | |
const LLColor4 & | color, | |||
const LLString & | font_name | |||
) | [virtual] |
Definition at line 74 of file llstyle.cpp.
References FALSE, mBold, mColor, mDropShadow, mImageHeight, mImageWidth, mIsEmbeddedItem, mItalic, mUnderline, mVisible, setFontName(), and setLinkHREF().
Referenced by LLStyle().
virtual const LLColor4& LLStyle::getColor | ( | ) | const [inline, virtual] |
Definition at line 51 of file llstyle.h.
References mColor.
Referenced by LLStyle(), operator=(), and operator==().
virtual void LLStyle::setColor | ( | const LLColor4 & | color | ) | [inline, virtual] |
Definition at line 52 of file llstyle.h.
References mColor.
Referenced by operator=().
BOOL LLStyle::isVisible | ( | ) | const [virtual] |
Definition at line 151 of file llstyle.cpp.
References mVisible.
Referenced by LLStyle(), operator=(), and operator==().
void LLStyle::setVisible | ( | BOOL | is_visible | ) | [virtual] |
Definition at line 156 of file llstyle.cpp.
References mVisible.
Referenced by operator=().
virtual const LLString& LLStyle::getFontString | ( | ) | const [inline, virtual] |
Definition at line 57 of file llstyle.h.
References mFontName.
Referenced by LLStyle(), operator=(), and operator==().
void LLStyle::setFontName | ( | const LLString & | fontname | ) | [virtual] |
Definition at line 113 of file llstyle.cpp.
References LLFONT_OCRA, LLFONT_SANSSERIF, LLFONT_SANSSERIF_BIG, LLFONT_SANSSERIF_SMALL, LLFONT_SMALL, mFontID, mFontName, and LLStringBase< char >::toLower().
Referenced by init().
virtual LLFONT_ID LLStyle::getFontID | ( | ) | const [inline, virtual] |
virtual const LLString& LLStyle::getLinkHREF | ( | ) | const [inline, virtual] |
Definition at line 61 of file llstyle.h.
References mLink.
Referenced by LLStyle(), operator=(), and operator==().
void LLStyle::setLinkHREF | ( | const LLString & | href | ) | [virtual] |
Definition at line 141 of file llstyle.cpp.
References mLink.
Referenced by init(), and LLStyle().
BOOL LLStyle::isLink | ( | ) | const [virtual] |
Definition at line 146 of file llstyle.cpp.
References mLink.
Referenced by LLStyle().
LLUIImagePtr LLStyle::getImage | ( | ) | const [virtual] |
void LLStyle::setImage | ( | const LLUUID & | src | ) | [virtual] |
Definition at line 166 of file llstyle.cpp.
References LLImageProviderInterface::getUIImageByID(), mImagep, and LLUI::sImageProvider.
virtual BOOL LLStyle::isImage | ( | ) | const [inline, virtual] |
BOOL LLStyle::getIsEmbeddedItem | ( | ) | const [inline] |
void LLStyle::setIsEmbeddedItem | ( | BOOL | b | ) | [inline] |
bool LLStyle::operator== | ( | const LLStyle & | rhs | ) | const [inline] |
Definition at line 75 of file llstyle.h.
References getColor(), getFontString(), getLinkHREF(), isVisible(), mBold, mColor, mDropShadow, mFontName, mImageHeight, mImagep, mImageWidth, mIsEmbeddedItem, mItalic, mLink, mUnderline, and mVisible.
bool LLStyle::operator!= | ( | const LLStyle & | rhs | ) | const [inline] |
Definition at line 95 of file llstyle.h.
Referenced by init(), LLStyle(), operator=(), and operator==().
Definition at line 96 of file llstyle.h.
Referenced by init(), LLStyle(), operator=(), and operator==().
Definition at line 97 of file llstyle.h.
Referenced by init(), LLStyle(), operator=(), and operator==().
Definition at line 98 of file llstyle.h.
Referenced by init(), LLStyle(), operator=(), and operator==().
Definition at line 99 of file llstyle.h.
Referenced by init(), isImage(), LLStyle(), operator=(), operator==(), and setImageSize().
Definition at line 100 of file llstyle.h.
Referenced by init(), isImage(), LLStyle(), operator=(), operator==(), and setImageSize().
BOOL LLStyle::mVisible [private] |
Definition at line 106 of file llstyle.h.
Referenced by init(), isVisible(), operator==(), and setVisible().
LLColor4 LLStyle::mColor [private] |
Definition at line 107 of file llstyle.h.
Referenced by getColor(), init(), operator==(), and setColor().
LLString LLStyle::mFontName [private] |
Definition at line 108 of file llstyle.h.
Referenced by getFontString(), operator=(), operator==(), and setFontName().
LLFONT_ID LLStyle::mFontID [private] |
LLString LLStyle::mLink [private] |
Definition at line 110 of file llstyle.h.
Referenced by getLinkHREF(), isLink(), operator=(), operator==(), and setLinkHREF().
LLUIImagePtr LLStyle::mImagep [private] |
Definition at line 111 of file llstyle.h.
Referenced by getImage(), LLStyle(), operator=(), operator==(), and setImage().
BOOL LLStyle::mIsEmbeddedItem [private] |
Definition at line 112 of file llstyle.h.
Referenced by getIsEmbeddedItem(), init(), LLStyle(), operator=(), operator==(), and setIsEmbeddedItem().