LLFloaterScriptDebugOutput Class Reference

#include <llfloaterscriptdebug.h>

Inheritance diagram for LLFloaterScriptDebugOutput:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterScriptDebugOutput:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFloaterScriptDebugOutput ()
 LLFloaterScriptDebugOutput (const LLUUID &object_id)
 ~LLFloaterScriptDebugOutput ()
virtual void init (const LLString &title, BOOL resizable, S32 min_width, S32 min_height, BOOL drag_on_left, BOOL minimizable, BOOL close_btn)
void addLine (const std::string &utf8mesg, const std::string &user_name, const LLColor4 &color)

Static Public Member Functions

static LLFloaterScriptDebugOutputshow (const LLUUID &object_id)
static LLFloaterScriptDebugOutputgetFloaterByID (const LLUUID &id)

Protected Types

typedef std::map< LLUUID,
LLFloaterScriptDebugOutput * > 
instance_map_t

Protected Attributes

LLTextEditormHistoryEditor
LLUUID mObjectID

Static Protected Attributes

static instance_map_t sInstanceMap

Detailed Description

Definition at line 58 of file llfloaterscriptdebug.h.


Member Typedef Documentation

typedef std::map<LLUUID, LLFloaterScriptDebugOutput*> LLFloaterScriptDebugOutput::instance_map_t [protected]

Definition at line 77 of file llfloaterscriptdebug.h.


Constructor & Destructor Documentation

LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput (  ) 

Definition at line 157 of file llfloaterscriptdebug.cpp.

References mObjectID, and sInstanceMap.

Referenced by show().

LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput ( const LLUUID object_id  ) 

Definition at line 163 of file llfloaterscriptdebug.cpp.

References LLView::addChild(), FALSE, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLFLOATER_HEADER_SIZE, LLFLOATER_HPAD, LLFLOATER_VPAD, mHistoryEditor, LLView::mRect, S32, S32_MAX, LLFontGL::sSansSerif, TRUE, x, and y.

LLFloaterScriptDebugOutput::~LLFloaterScriptDebugOutput (  ) 

Definition at line 207 of file llfloaterscriptdebug.cpp.

References mObjectID, and sInstanceMap.


Member Function Documentation

void LLFloaterScriptDebugOutput::addLine ( const std::string &  utf8mesg,
const std::string &  user_name,
const LLColor4 color 
)

Definition at line 212 of file llfloaterscriptdebug.cpp.

References LLTextEditor::appendColoredText(), FALSE, LLUUID::isNull(), mHistoryEditor, mObjectID, LLFloater::setCanClose(), LLFloater::setCanTearOff(), and LLFloater::setTitle().

Referenced by LLFloaterScriptDebug::addScriptLine().

LLFloaterScriptDebugOutput * LLFloaterScriptDebugOutput::getFloaterByID ( const LLUUID id  )  [static]

Definition at line 248 of file llfloaterscriptdebug.cpp.

References NULL, and sInstanceMap.

Referenced by LLFloaterScriptDebug::addScriptLine().

void LLFloaterScriptDebugOutput::init ( const LLString title,
BOOL  resizable,
S32  min_width,
S32  min_height,
BOOL  drag_on_left,
BOOL  minimizable,
BOOL  close_btn 
) [virtual]

Reimplemented from LLFloater.

Definition at line 184 of file llfloaterscriptdebug.cpp.

References LLView::addChild(), FALSE, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLPanel::init(), LLFLOATER_HEADER_SIZE, LLFLOATER_HPAD, LLFLOATER_VPAD, mHistoryEditor, LLView::mRect, S32, S32_MAX, LLFontGL::sSansSerif, TRUE, x, and y.

LLFloaterScriptDebugOutput * LLFloaterScriptDebugOutput::show ( const LLUUID object_id  )  [static]

Definition at line 229 of file llfloaterscriptdebug.cpp.

References LLFloaterScriptDebugOutput(), NULL, LLFloater::open(), and sInstanceMap.

Referenced by LLFloaterScriptDebug::addOutputWindow().


Member Data Documentation

LLTextEditor* LLFloaterScriptDebugOutput::mHistoryEditor [protected]

Definition at line 75 of file llfloaterscriptdebug.h.

Referenced by addLine(), init(), and LLFloaterScriptDebugOutput().

LLUUID LLFloaterScriptDebugOutput::mObjectID [protected]

Definition at line 80 of file llfloaterscriptdebug.h.

Referenced by addLine(), LLFloaterScriptDebugOutput(), and ~LLFloaterScriptDebugOutput().

std::map< LLUUID, LLFloaterScriptDebugOutput * > LLFloaterScriptDebugOutput::sInstanceMap [static, protected]

Definition at line 78 of file llfloaterscriptdebug.h.

Referenced by getFloaterByID(), LLFloaterScriptDebugOutput(), show(), and ~LLFloaterScriptDebugOutput().


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