#include <llfloaterscriptdebug.h>
Inheritance diagram for LLFloaterScriptDebugOutput:
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 LLFloaterScriptDebugOutput * | show (const LLUUID &object_id) |
static LLFloaterScriptDebugOutput * | getFloaterByID (const LLUUID &id) |
Protected Types | |
typedef std::map< LLUUID, LLFloaterScriptDebugOutput * > | instance_map_t |
Protected Attributes | |
LLTextEditor * | mHistoryEditor |
LLUUID | mObjectID |
Static Protected Attributes | |
static instance_map_t | sInstanceMap |
Definition at line 58 of file llfloaterscriptdebug.h.
typedef std::map<LLUUID, LLFloaterScriptDebugOutput*> LLFloaterScriptDebugOutput::instance_map_t [protected] |
Definition at line 77 of file llfloaterscriptdebug.h.
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 | ( | ) |
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().
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().