LLFloaterChat Class Reference

#include <llfloaterchat.h>

Inheritance diagram for LLFloaterChat:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterChat:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterChat (const LLSD &seed)
 ~LLFloaterChat ()
virtual void setVisible (BOOL b)
virtual void draw ()
virtual BOOL postBuild ()
virtual void onClose (bool app_quitting)
virtual void onVisibilityChange (BOOL cur_visibility)
virtual void setMinimized (BOOL)
void updateConsoleVisibility ()

Static Public Member Functions

static void setHistoryCursorAndScrollToEnd ()
static void addChat (const LLChat &chat, BOOL from_im=FALSE, BOOL local_agent=FALSE)
static void addChatHistory (const LLChat &chat, bool log_to_file=true)
static void onClickMute (void *data)
static void onClickToggleShowMute (LLUICtrl *caller, void *data)
static void onClickToggleActiveSpeakers (void *userdata)
static void chatFromLogFile (LLLogChat::ELogLineType type, LLString line, void *userdata)
static void loadHistory ()
static void * createSpeakersPanel (void *data)
static void * createChatPanel (void *data)
static bool visible (LLFloater *instance, const LLSD &key)
static void show (LLFloater *instance, const LLSD &key)
static void hide (LLFloater *instance, const LLSD &key)

Public Attributes

LLPanelActiveSpeakersmPanel
BOOL mScrolledToEnd


Detailed Description

Definition at line 53 of file llfloaterchat.h.


Constructor & Destructor Documentation

LLFloaterChat::LLFloaterChat ( const LLSD seed  ) 

LLFloaterChat::~LLFloaterChat (  ) 

Definition at line 113 of file llfloaterchat.cpp.


Member Function Documentation

void LLFloaterChat::setVisible ( BOOL  b  )  [virtual]

Reimplemented from LLFloater.

Definition at line 118 of file llfloaterchat.cpp.

References gSavedSettings, LLControlGroup::setBOOL(), and LLFloater::setVisible().

Referenced by onClose().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterChat::draw ( void   )  [virtual]

Reimplemented from LLFloater.

Definition at line 125 of file llfloaterchat.cpp.

References LLPanel::childIsVisible(), LLPanel::childSetValue(), LLFloater::draw(), mPanel, LLChatBar::refresh(), LLPanelActiveSpeakers::refreshSpeakers(), and TRUE.

Here is the call graph for this function:

BOOL LLFloaterChat::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 141 of file llfloaterchat.cpp.

References mPanel, LLChatBar::setGestureCombo(), and TRUE.

Here is the call graph for this function:

void LLFloaterChat::onClose ( bool  app_quitting  )  [virtual]

Reimplemented from LLFloater.

Definition at line 154 of file llfloaterchat.cpp.

References FALSE, gSavedSettings, LLControlGroup::setBOOL(), and setVisible().

Here is the call graph for this function:

void LLFloaterChat::onVisibilityChange ( BOOL  cur_visibility  )  [virtual]

void LLFloaterChat::setMinimized ( BOOL  minimized  )  [virtual]

Reimplemented from LLFloater.

Definition at line 177 of file llfloaterchat.cpp.

References LLFloater::setMinimized(), and updateConsoleVisibility().

Here is the call graph for this function:

void LLFloaterChat::updateConsoleVisibility (  ) 

Definition at line 184 of file llfloaterchat.cpp.

References gConsole, LLFloater::getHost(), LLView::isInVisibleChain(), LLFloater::isMinimized(), and LLView::setVisible().

Referenced by onVisibilityChange(), LLFloaterChatterBox::setMinimized(), and setMinimized().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterChat::setHistoryCursorAndScrollToEnd (  )  [static]

Definition at line 283 of file llfloaterchat.cpp.

References LLView::getChild(), LLUIFactory< LLFloaterChat, LLUISingleton< LLFloaterChat, LLFloaterChat >, LLFloaterChat >::getInstance(), and LLTextEditor::setCursorAndScrollToEnd().

Referenced by LLChatBar::onInputEditorGainFocus().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterChat::addChat ( const LLChat chat,
BOOL  from_im = FALSE,
BOOL  local_agent = FALSE 
) [static]

void LLFloaterChat::addChatHistory ( const LLChat chat,
bool  log_to_file = true 
) [static]

void LLFloaterChat::onClickMute ( void *  data  )  [static]

void LLFloaterChat::onClickToggleShowMute ( LLUICtrl caller,
void *  data 
) [static]

Definition at line 319 of file llfloaterchat.cpp.

References FALSE, LLView::getChild(), LLTextEditor::setCursorAndScrollToEnd(), LLView::setVisible(), and TRUE.

Referenced by LLFloaterChat().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterChat::onClickToggleActiveSpeakers ( void *  userdata  )  [static]

Definition at line 500 of file llfloaterchat.cpp.

Referenced by LLFloaterChat().

Here is the caller graph for this function:

void LLFloaterChat::chatFromLogFile ( LLLogChat::ELogLineType  type,
LLString  line,
void *  userdata 
) [static]

Definition at line 465 of file llfloaterchat.cpp.

References addChatHistory(), FALSE, LLLogChat::LOG_EMPTY, LLLogChat::LOG_END, LLLogChat::LOG_LINE, and LLChat::mText.

Referenced by loadHistory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterChat::loadHistory (  )  [static]

Definition at line 459 of file llfloaterchat.cpp.

References chatFromLogFile(), LLUIFactory< LLFloaterChat, LLUISingleton< LLFloaterChat, LLFloaterChat >, LLFloaterChat >::getInstance(), and LLLogChat::loadHistory().

Referenced by LLViewerWindow::initWorldUI().

Here is the call graph for this function:

Here is the caller graph for this function:

void * LLFloaterChat::createSpeakersPanel ( void *  data  )  [static]

Definition at line 487 of file llfloaterchat.cpp.

References LLSingleton< LLLocalSpeakerMgr >::getInstance(), and TRUE.

Referenced by LLFloaterChat().

Here is the call graph for this function:

Here is the caller graph for this function:

void * LLFloaterChat::createChatPanel ( void *  data  )  [static]

Definition at line 493 of file llfloaterchat.cpp.

Referenced by LLFloaterChat().

Here is the caller graph for this function:

bool LLFloaterChat::visible ( LLFloater instance,
const LLSD key 
) [static]

Definition at line 508 of file llfloaterchat.cpp.

References VisibilityPolicy< T >::visible().

Here is the call graph for this function:

void LLFloaterChat::show ( LLFloater instance,
const LLSD key 
) [static]

Definition at line 514 of file llfloaterchat.cpp.

References VisibilityPolicy< T >::show().

Here is the call graph for this function:

void LLFloaterChat::hide ( LLFloater instance,
const LLSD key 
) [static]


Member Data Documentation

Definition at line 90 of file llfloaterchat.h.

Referenced by addChatHistory(), draw(), and postBuild().

Definition at line 91 of file llfloaterchat.h.


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

Generated on Fri May 16 08:45:10 2008 for SecondLife by  doxygen 1.5.5