#include <llfloaternewim.h>
Inheritance diagram for LLFloaterNewIM:
Public Member Functions | |
LLFloaterNewIM () | |
~LLFloaterNewIM () | |
BOOL | postBuild () |
BOOL | handleKeyHere (KEY key, MASK mask, BOOL called_from_parent) |
virtual BOOL | canClose () |
virtual void | close (bool app_quitting) |
void | clearAllTargets () |
void | addSpecial (const LLUUID &uuid, const std::string &name, void *data, BOOL bold, BOOL online) |
void | addAgent (const LLUUID &uuid, void *data, BOOL online) |
void | addGroup (const LLUUID &uuid, void *data, BOOL bold, BOOL online) |
void | addDefaultTargets () |
BOOL | isUUIDAvailable (const LLUUID &uuid) |
S32 | getScrollPos () |
void | setScrollPos (S32 pos) |
Static Public Member Functions | |
static void | onStart (void *userdata) |
static void | onClickClose (void *userdata) |
Protected Attributes | |
LLNameListCtrl * | mSelectionList |
Definition at line 39 of file llfloaternewim.h.
LLFloaterNewIM::LLFloaterNewIM | ( | ) |
Definition at line 62 of file llfloaternewim.cpp.
References LLUICtrlFactory::buildFloater(), and gUICtrlFactory.
LLFloaterNewIM::~LLFloaterNewIM | ( | ) |
Definition at line 154 of file llfloaternewim.cpp.
References LLNameListCtrl::addElement(), COL_1_WIDTH, DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, first, gCacheName, LLScrollListCtrl::getFirstSelectedIndex(), LLCacheName::getName(), mSelectionList, LLScrollListCtrl::selectFirstItem(), LLUIString::setArg(), LLScrollListItem::setUserdata(), sNameFormat, and sOnlineDescriptor.
void LLFloaterNewIM::addDefaultTargets | ( | ) |
Definition at line 133 of file llfloaternewim.cpp.
References LLNameListCtrl::addElement(), COL_1_WIDTH, LLScrollListCtrl::getFirstSelectedIndex(), mSelectionList, LLScrollListCtrl::selectFirstItem(), LLScrollListItem::setUserdata(), and sOnlineDescriptor.
void LLFloaterNewIM::addSpecial | ( | const LLUUID & | uuid, | |
const std::string & | name, | |||
void * | data, | |||
BOOL | bold, | |||
BOOL | online | |||
) |
Definition at line 110 of file llfloaternewim.cpp.
References LLNameListCtrl::addElement(), COL_1_WIDTH, LLScrollListCtrl::getFirstSelectedIndex(), mSelectionList, LLScrollListCtrl::selectFirstItem(), LLScrollListItem::setUserdata(), and sOnlineDescriptor.
BOOL LLFloaterNewIM::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 250 of file llfloaternewim.cpp.
References LLMultiFloater::getFloaterCount(), LLFloater::getHost(), and TRUE.
void LLFloaterNewIM::clearAllTargets | ( | ) |
Definition at line 105 of file llfloaternewim.cpp.
References LLScrollListCtrl::deleteAllItems(), and mSelectionList.
Referenced by ~LLFloaterNewIM().
void LLFloaterNewIM::close | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 261 of file llfloaternewim.cpp.
References LLFloater::close(), and LLFloater::getHost().
S32 LLFloaterNewIM::getScrollPos | ( | ) |
Definition at line 274 of file llfloaternewim.cpp.
References LLScrollListCtrl::getScrollPos(), and mSelectionList.
Reimplemented from LLPanel.
Definition at line 233 of file llfloaternewim.cpp.
References LLView::getVisible(), gIMMgr, LLPanel::handleKeyHere(), KEY_ESCAPE, LLView::mEnabled, NULL, LLIMMgr::toggle(), and TRUE.
Definition at line 183 of file llfloaternewim.cpp.
References FALSE, LLScrollListCtrl::getAllData(), mSelectionList, and TRUE.
Reimplemented from LLFloater.
Definition at line 227 of file llfloaternewim.cpp.
References FALSE, gIMMgr, and LLIMMgr::setFloaterOpen().
Referenced by postBuild().
Definition at line 198 of file llfloaternewim.cpp.
References LLIMMgr::addSession(), LLIMMgr::defaultIMTypeForAgent(), LLScrollListItem::getColumn(), LLScrollListCell::getText(), LLScrollListItem::getUserdata(), LLScrollListItem::getUUID(), gIMMgr, make_ui_sound(), t, and type.
Referenced by postBuild().
BOOL LLFloaterNewIM::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 67 of file llfloaternewim.cpp.
References LLSD::asString(), LLPanel::checkRequirements(), LLPanel::childGetValue(), LLPanel::childSetAction(), FALSE, LLViewerUICtrlFactory::getNameListByName(), llendl, llwarns, mSelectionList, onClickClose(), onStart(), LLPanel::requires(), LLUICtrl::setCallbackUserData(), LLPanel::setDefaultBtn(), LLScrollListCtrl::setDoubleClickCallback(), sNameFormat, sOnlineDescriptor, TRUE, WIDGET_TYPE_BUTTON, WIDGET_TYPE_NAME_LIST, and WIDGET_TYPE_TEXT_BOX.
Definition at line 279 of file llfloaternewim.cpp.
References mSelectionList, and LLScrollListCtrl::setScrollPos().
LLNameListCtrl* LLFloaterNewIM::mSelectionList [protected] |
Definition at line 73 of file llfloaternewim.h.
Referenced by addAgent(), addGroup(), addSpecial(), clearAllTargets(), getScrollPos(), isUUIDAvailable(), postBuild(), and setScrollPos().