LLTextSegment Class Reference

#include <lltexteditor.h>

Collaboration diagram for LLTextSegment:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextSegment (S32 start)
 LLTextSegment (const LLStyle &style, S32 start, S32 end)
 LLTextSegment (const LLColor4 &color, S32 start, S32 end, BOOL is_visible)
 LLTextSegment (const LLColor4 &color, S32 start, S32 end)
 LLTextSegment (const LLColor3 &color, S32 start, S32 end)
S32 getStart ()
S32 getEnd ()
void setEnd (S32 end)
const LLColor4getColor ()
void setColor (const LLColor4 &color)
const LLStylegetStyle ()
void setStyle (const LLStyle &style)
void setIsDefault (BOOL b)
BOOL getIsDefault ()
void setToken (LLKeywordToken *token)
LLKeywordTokengetToken ()
BOOL getToolTip (LLString &msg)
void dump ()

Private Attributes

LLStyle mStyle
S32 mStart
S32 mEnd
LLKeywordTokenmToken
BOOL mIsDefault

Classes

struct  compare

Detailed Description

Definition at line 446 of file lltexteditor.h.


Constructor & Destructor Documentation

LLTextSegment::LLTextSegment ( S32  start  ) 

Definition at line 3992 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLStyle style,
S32  start,
S32  end 
)

Definition at line 3995 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor4 color,
S32  start,
S32  end,
BOOL  is_visible 
)

Definition at line 4003 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor4 color,
S32  start,
S32  end 
)

Definition at line 4012 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor3 color,
S32  start,
S32  end 
)

Definition at line 4020 of file lltexteditor.cpp.


Member Function Documentation

void LLTextSegment::dump (  ) 

Definition at line 4042 of file lltexteditor.cpp.

References getEnd(), llendl, llinfos, and mStart.

const LLColor4& LLTextSegment::getColor (  )  [inline]

Definition at line 459 of file lltexteditor.h.

References LLStyle::getColor(), and mStyle.

S32 LLTextSegment::getEnd (  )  [inline]

Definition at line 457 of file lltexteditor.h.

References mEnd.

Referenced by LLTextEditor::drawText(), dump(), LLTextEditor::getLineStart(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), and LLTextEditor::updateLineStartList().

BOOL LLTextSegment::getIsDefault (  )  [inline]

Definition at line 464 of file lltexteditor.h.

References mIsDefault.

S32 LLTextSegment::getStart (  )  [inline]

Definition at line 456 of file lltexteditor.h.

References mStart.

Referenced by LLTextEditor::drawText(), LLTextEditor::getLineStart(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleToolTip(), LLKeywords::insertSegment(), LLTextEditor::pruneSegments(), and LLTextEditor::updateLineStartList().

const LLStyle& LLTextSegment::getStyle (  )  [inline]

Definition at line 461 of file lltexteditor.h.

References mStyle.

Referenced by LLTextEditor::drawText(), LLViewerTextEditor::handleDoubleClick(), LLViewerTextEditor::handleRightMouseDown(), and LLViewerTextEditor::handleToolTip().

LLKeywordToken* LLTextSegment::getToken (  )  [inline]

Definition at line 467 of file lltexteditor.h.

References mToken.

Referenced by LLScriptEdCore::updateDynamicHelp().

BOOL LLTextSegment::getToolTip ( LLString msg  ) 

Definition at line 4029 of file lltexteditor.cpp.

References FALSE, LLKeywordToken::getToolTip(), mToken, TRUE, and wstring_to_utf8str().

Referenced by LLViewerTextEditor::handleToolTip(), and LLTextEditor::handleToolTip().

void LLTextSegment::setColor ( const LLColor4 color  )  [inline]

Definition at line 460 of file lltexteditor.h.

References mStyle, and LLStyle::setColor().

void LLTextSegment::setEnd ( S32  end  )  [inline]

Definition at line 458 of file lltexteditor.h.

References mEnd.

Referenced by LLKeywords::insertSegment(), and LLTextEditor::pruneSegments().

void LLTextSegment::setIsDefault ( BOOL  b  )  [inline]

Definition at line 463 of file lltexteditor.h.

References mIsDefault.

Referenced by LLTextEditor::updateSegments().

void LLTextSegment::setStyle ( const LLStyle style  )  [inline]

Definition at line 462 of file lltexteditor.h.

References mStyle.

void LLTextSegment::setToken ( LLKeywordToken token  )  [inline]

Definition at line 466 of file lltexteditor.h.

References mToken.

Referenced by LLKeywords::findSegments().


Member Data Documentation

S32 LLTextSegment::mEnd [private]

Definition at line 483 of file lltexteditor.h.

Referenced by getEnd(), and setEnd().

BOOL LLTextSegment::mIsDefault [private]

Definition at line 485 of file lltexteditor.h.

Referenced by getIsDefault(), and setIsDefault().

S32 LLTextSegment::mStart [private]

Definition at line 482 of file lltexteditor.h.

Referenced by dump(), and getStart().

LLStyle LLTextSegment::mStyle [private]

Definition at line 481 of file lltexteditor.h.

Referenced by getColor(), getStyle(), setColor(), and setStyle().

LLKeywordToken* LLTextSegment::mToken [private]

Definition at line 484 of file lltexteditor.h.

Referenced by getToken(), getToolTip(), and setToken().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:51 2010 for Second Life Viewer by  doxygen 1.4.7