LLStyle Class Reference

#include <llstyle.h>

Inheritance diagram for LLStyle:

Inheritance graph
[legend]
Collaboration diagram for LLStyle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLStyle ()
 LLStyle (const LLStyle &style)
 LLStyle (BOOL is_visible, const LLColor4 &color, const LLString &font_name)
LLStyleoperator= (const LLStyle &rhs)
virtual void init (BOOL is_visible, const LLColor4 &color, const LLString &font_name)
virtual const LLColor4getColor () const
virtual void setColor (const LLColor4 &color)
virtual BOOL isVisible () const
virtual void setVisible (BOOL is_visible)
virtual const LLStringgetFontString () const
virtual void setFontName (const LLString &fontname)
virtual LLFONT_ID getFontID () const
virtual const LLStringgetLinkHREF () 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


Detailed Description

Definition at line 40 of file llstyle.h.


Constructor & Destructor Documentation

LLStyle::LLStyle (  ) 

Definition at line 40 of file llstyle.cpp.

References init(), and TRUE.

Here is the call graph for this function:

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.

Here is the call graph for this function:

LLStyle::LLStyle ( BOOL  is_visible,
const LLColor4 color,
const LLString font_name 
)

Definition at line 69 of file llstyle.cpp.

References init().

Here is the call graph for this function:

virtual LLStyle::~LLStyle (  )  [inline, protected, virtual]

Definition at line 103 of file llstyle.h.


Member Function Documentation

LLStyle & LLStyle::operator= ( const LLStyle rhs  ) 

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual const LLColor4& LLStyle::getColor (  )  const [inline, virtual]

Definition at line 51 of file llstyle.h.

References mColor.

Referenced by LLStyle(), operator=(), and operator==().

Here is the caller graph for this function:

virtual void LLStyle::setColor ( const LLColor4 color  )  [inline, virtual]

Definition at line 52 of file llstyle.h.

References mColor.

Referenced by operator=().

Here is the caller graph for this function:

BOOL LLStyle::isVisible (  )  const [virtual]

Definition at line 151 of file llstyle.cpp.

References mVisible.

Referenced by LLStyle(), operator=(), and operator==().

Here is the caller graph for this function:

void LLStyle::setVisible ( BOOL  is_visible  )  [virtual]

Definition at line 156 of file llstyle.cpp.

References mVisible.

Referenced by operator=().

Here is the caller graph for this function:

virtual const LLString& LLStyle::getFontString (  )  const [inline, virtual]

Definition at line 57 of file llstyle.h.

References mFontName.

Referenced by LLStyle(), operator=(), and operator==().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual LLFONT_ID LLStyle::getFontID (  )  const [inline, virtual]

Definition at line 59 of file llstyle.h.

References mFontID.

virtual const LLString& LLStyle::getLinkHREF (  )  const [inline, virtual]

Definition at line 61 of file llstyle.h.

References mLink.

Referenced by LLStyle(), operator=(), and operator==().

Here is the caller graph for this function:

void LLStyle::setLinkHREF ( const LLString href  )  [virtual]

Definition at line 141 of file llstyle.cpp.

References mLink.

Referenced by init(), and LLStyle().

Here is the caller graph for this function:

BOOL LLStyle::isLink (  )  const [virtual]

Definition at line 146 of file llstyle.cpp.

References mLink.

Referenced by LLStyle().

Here is the caller graph for this function:

LLUIImagePtr LLStyle::getImage (  )  const [virtual]

Definition at line 161 of file llstyle.cpp.

References mImagep.

void LLStyle::setImage ( const LLUUID src  )  [virtual]

Definition at line 166 of file llstyle.cpp.

References LLImageProviderInterface::getUIImageByID(), mImagep, and LLUI::sImageProvider.

Here is the call graph for this function:

virtual BOOL LLStyle::isImage (  )  const [inline, virtual]

Definition at line 68 of file llstyle.h.

References mImageHeight, and mImageWidth.

void LLStyle::setImageSize ( S32  width,
S32  height 
) [virtual]

Definition at line 172 of file llstyle.cpp.

References mImageHeight, and mImageWidth.

BOOL LLStyle::getIsEmbeddedItem (  )  const [inline]

Definition at line 71 of file llstyle.h.

References mIsEmbeddedItem.

void LLStyle::setIsEmbeddedItem ( BOOL  b  )  [inline]

Definition at line 72 of file llstyle.h.

References mIsEmbeddedItem.

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.

Here is the call graph for this function:

bool LLStyle::operator!= ( const LLStyle rhs  )  const [inline]

Definition at line 92 of file llstyle.h.


Member Data Documentation

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().

Definition at line 106 of file llstyle.h.

Referenced by init(), isVisible(), operator==(), and setVisible().

Definition at line 107 of file llstyle.h.

Referenced by getColor(), init(), operator==(), and setColor().

Definition at line 108 of file llstyle.h.

Referenced by getFontString(), operator=(), operator==(), and setFontName().

Definition at line 109 of file llstyle.h.

Referenced by getFontID(), and setFontName().

Definition at line 110 of file llstyle.h.

Referenced by getLinkHREF(), isLink(), operator=(), operator==(), and setLinkHREF().

Definition at line 111 of file llstyle.h.

Referenced by getImage(), LLStyle(), operator=(), operator==(), and setImage().

Definition at line 112 of file llstyle.h.

Referenced by getIsEmbeddedItem(), init(), LLStyle(), operator=(), operator==(), and setIsEmbeddedItem().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:08:17 2008 for SecondLife by  doxygen 1.5.5