#include <llfloaterchatterbox.h>
Inheritance diagram for LLFloaterChatterBox:
Public Member Functions | |
LLFloaterChatterBox (const LLSD &seed) | |
virtual | ~LLFloaterChatterBox () |
BOOL | handleKeyHere (KEY key, MASK mask, BOOL called_from_parent) |
void | draw () |
void | onOpen () |
void | onClose (bool app_quitting) |
void | removeFloater (LLFloater *floaterp) |
void | addFloater (LLFloater *floaterp, BOOL select_added_floater, LLTabContainerCommon::eInsertionPoint insertion_point=LLTabContainerCommon::END) |
Static Public Member Functions | |
static LLFloaterChatterBox * | showInstance (const LLSD &seed) |
static BOOL | instanceVisible (const LLSD &seed) |
static LLFloater * | getCurrentVoiceFloater () |
Protected Attributes | |
LLFloater * | mActiveVoiceFloater |
Definition at line 64 of file llfloaterchatterbox.h.
LLFloaterChatterBox::LLFloaterChatterBox | ( | const LLSD & | seed | ) |
Definition at line 121 of file llfloaterchatterbox.cpp.
References LLView::addChild(), addFloater(), LLUICtrlFactory::buildFloater(), FALSE, LLControlGroup::getBOOL(), LLUIInstanceMgr< LLFloaterChat, LLFloaterChat >::getInstance(), LLUIInstanceMgr< LLFloaterMyFriends, LLFloaterMyFriends >::getInstance(), gFloaterView, gSavedSettings, gUICtrlFactory, LLTabContainerCommon::lockTabs(), LLMultiFloater::mAutoResize, LLMultiFloater::mTabContainer, NULL, removeFloater(), and TRUE.
LLFloaterChatterBox::~LLFloaterChatterBox | ( | ) | [virtual] |
Definition at line 144 of file llfloaterchatterbox.cpp.
void LLFloaterChatterBox::addFloater | ( | LLFloater * | floaterp, | |
BOOL | select_added_floater, | |||
LLTabContainerCommon::eInsertionPoint | insertion_point = LLTabContainerCommon::END | |||
) | [virtual] |
Reimplemented from LLMultiFloater.
Definition at line 246 of file llfloaterchatterbox.cpp.
References LLMultiFloater::addFloater(), FALSE, LLView::getName(), gSavedSettings, LLTabContainerCommon::lockTabs(), mActiveVoiceFloater, LLMultiFloater::mTabContainer, LLTabContainerCommon::RIGHT_OF_CURRENT, LLTabContainerCommon::selectFirstTab(), LLControlGroup::setBOOL(), LLFloater::setCanClose(), and LLTabContainerCommon::setTabImage().
Referenced by LLIMMgr::createFloater(), and LLFloaterChatterBox().
void LLFloaterChatterBox::draw | ( | ) | [virtual] |
Reimplemented from LLMultiFloater.
Definition at line 177 of file llfloaterchatterbox.cpp.
References LLIMMgr::clearNewIMNotification(), LLFloater::draw(), LLVoiceChannel::getCurrentVoiceChannel(), getCurrentVoiceFloater(), LLVoiceChannel::getState(), gIMMgr, LLColor4::green, LLVoiceChannel::isActive(), LLFloater::isMinimized(), mActiveVoiceFloater, LLMultiFloater::mTabContainer, LLColor4::red, LLTabContainerCommon::setTabImage(), LLVoiceChannel::STATE_ERROR, LLColor4::white, and LLColor4::yellow.
LLFloater * LLFloaterChatterBox::getCurrentVoiceFloater | ( | ) | [static] |
Definition at line 315 of file llfloaterchatterbox.cpp.
References LLVoiceChannel::getCurrentVoiceChannel(), LLMultiFloater::getFloaterCount(), LLUIInstanceMgr< LLFloaterChatterBox, LLFloaterChatterBox >::getInstance(), LLUIInstanceMgr< LLFloaterChat, LLFloaterChat >::getInstance(), LLSingleton< LLVoiceChannelProximal >::getInstance(), LLTabContainerCommon::getPanelByIndex(), i, LLMultiFloater::mTabContainer, NULL, S32, and LLVoiceClient::voiceEnabled().
Referenced by draw(), instanceVisible(), and showInstance().
Reimplemented from LLMultiFloater.
Definition at line 148 of file llfloaterchatterbox.cpp.
References LLFloater::canClose(), LLFloater::close(), LLMultiFloater::getActiveFloater(), LLView::getEnabled(), LLMultiFloater::handleKeyHere(), LLFloater::isCloseable(), MASK_CONTROL, and TRUE.
Reimplemented from LLUIInstanceMgr< LLFloaterChatterBox, LLFloaterChatterBox >.
Definition at line 300 of file llfloaterchatterbox.cpp.
References LLSD::asBoolean(), getCurrentVoiceFloater(), LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::instanceVisible(), and LLView::isInVisibleChain().
Referenced by LLIMMgr::getFloaterOpen().
void LLFloaterChatterBox::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLMultiFloater.
Definition at line 228 of file llfloaterchatterbox.cpp.
References FALSE, gSavedSettings, LLControlGroup::setBOOL(), and LLMultiFloater::setVisible().
void LLFloaterChatterBox::onOpen | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 223 of file llfloaterchatterbox.cpp.
References gSavedSettings, LLControlGroup::setBOOL(), and TRUE.
Reimplemented from LLMultiFloater.
Definition at line 234 of file llfloaterchatterbox.cpp.
References LLView::getName(), gSavedSettings, LLTabContainerCommon::lockTabs(), LLMultiFloater::mTabContainer, LLMultiFloater::removeFloater(), LLControlGroup::setBOOL(), LLFloater::setCanClose(), and TRUE.
Referenced by LLFloaterChatterBox(), and LLIMMgr::removeSession().
LLFloaterChatterBox * LLFloaterChatterBox::showInstance | ( | const LLSD & | seed | ) | [static] |
Reimplemented from LLUIInstanceMgr< LLFloaterChatterBox, LLFloaterChatterBox >.
Definition at line 277 of file llfloaterchatterbox.cpp.
References LLSD::asBoolean(), getCurrentVoiceFloater(), LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::getInstance(), LLFloater::open(), and LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::showInstance().
Referenced by LLIMMgr::inviteUserResponse(), LLViewerChatterBoxInvitationAcceptResponder::result(), and LLIMMgr::setFloaterOpen().
LLFloater* LLFloaterChatterBox::mActiveVoiceFloater [protected] |