#include <llfloaterdirectory.h>
Public Member Functions | |
LLFloaterDirectory (const std::string &name) | |
~LLFloaterDirectory () | |
void | setVisible (BOOL visible) |
void | hideAllDetailPanels () |
Static Public Member Functions | |
static void | requestClassifieds () |
static void | showFindAll (const std::string &search_text) |
static void | showClassified (const LLUUID &classified_id) |
static void | showEvents (S32 event_id) |
static void | showLandForSale (const LLUUID &parcel_id) |
static void | showGroups () |
static void | refreshGroup (const LLUUID &group_id) |
static void | hide (void *) |
static void | toggleEvents (void *) |
static void | toggleFind (void *) |
static void | onTabChanged (void *, bool) |
Public Attributes | |
LLPanelAvatar * | mPanelAvatarp |
LLPanelEvent * | mPanelEventp |
LLPanelGroup * | mPanelGroupp |
LLPanel * | mPanelGroupHolderp |
LLPanelPlace * | mPanelPlacep |
LLPanelPlace * | mPanelPlaceSmallp |
LLPanelClassified * | mPanelClassifiedp |
Static Public Attributes | |
static S32 | sOldSearchCount = 0 |
static S32 | sNewSearchCount = 0 |
Private Member Functions | |
void | onClose (bool app_quitting) |
void | focusCurrentPanel () |
Static Private Member Functions | |
static void | showPanel (const std::string &tabname) |
static void * | createFindAll (void *userdata) |
static void * | createClassified (void *userdata) |
static void * | createEvents (void *userdata) |
static void * | createShowcase (void *userdata) |
static void * | createPlaces (void *userdata) |
static void * | createLand (void *userdata) |
static void * | createPeople (void *userdata) |
static void * | createGroups (void *userdata) |
static void * | createClassifiedDetail (void *userdata) |
static void * | createAvatarDetail (void *userdata) |
static void * | createEventDetail (void *userdata) |
static void * | createGroupDetail (void *userdata) |
static void * | createGroupDetailHolder (void *userdata) |
static void * | createPlaceDetail (void *userdata) |
static void * | createPlaceDetailSmall (void *userdata) |
static void * | createPanelAvatar (void *data) |
Private Attributes | |
LLPanelDirFindAll * | mFindAllPanel |
LLPanelDirClassified * | mClassifiedPanel |
LLPanelDirEvents * | mEventsPanel |
LLPanelDirLand * | mLandPanel |
bool | mMinimizing |
Static Private Attributes | |
static LLFloaterDirectory * | sInstance = NULL |
Definition at line 59 of file llfloaterdirectory.h.
LLFloaterDirectory::LLFloaterDirectory | ( | const std::string & | name | ) |
Definition at line 73 of file llfloaterdirectory.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetTabChangeCallback(), createClassified(), createClassifiedDetail(), createEventDetail(), createEvents(), createFindAll(), createGroupDetail(), createGroupDetailHolder(), createGroups(), createLand(), createPanelAvatar(), createPeople(), createPlaceDetail(), createPlaceDetailSmall(), createPlaces(), createShowcase(), LLSingleton< LLUICtrlFactory >::getInstance(), mClassifiedPanel, mEventsPanel, mFindAllPanel, mLandPanel, LLFloater::moveResizeHandlesToFront(), mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, NULL, onTabChanged(), LLPanelAvatar::selectTab(), and sInstance.
Referenced by showPanel().
LLFloaterDirectory::~LLFloaterDirectory | ( | ) |
Definition at line 131 of file llfloaterdirectory.cpp.
References FALSE, gSavedSettings, mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, NULL, LLControlGroup::setBOOL(), LLFloater::setMinimized(), and sInstance.
void LLFloaterDirectory::setVisible | ( | BOOL | visible | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 455 of file llfloaterdirectory.cpp.
References gSavedSettings, LLControlGroup::setBOOL(), and LLFloater::setVisible().
Referenced by onClose().
void LLFloaterDirectory::requestClassifieds | ( | ) | [static] |
Definition at line 287 of file llfloaterdirectory.cpp.
References mClassifiedPanel, LLPanelDirClassified::performQuery(), and sInstance.
Referenced by set_god_level().
void LLFloaterDirectory::showFindAll | ( | const std::string & | search_text | ) | [static] |
Definition at line 295 of file llfloaterdirectory.cpp.
References mFindAllPanel, LLPanelDirFindAllInterface::search(), showPanel(), and sInstance.
Referenced by LLStatusBar::onClickSearch().
void LLFloaterDirectory::showClassified | ( | const LLUUID & | classified_id | ) | [static] |
Definition at line 302 of file llfloaterdirectory.cpp.
References mClassifiedPanel, LLPanelDirBrowser::selectByUUID(), showPanel(), and sInstance.
Referenced by LLWorldMapView::handleDoubleClick().
void LLFloaterDirectory::showEvents | ( | S32 | event_id | ) | [static] |
Definition at line 314 of file llfloaterdirectory.cpp.
References mEventsPanel, LLPanelDirEvents::performQuery(), LLPanelDirBrowser::selectEventByID(), LLPanelDirEvents::setDay(), showPanel(), and sInstance.
Referenced by LLWorldMapView::handleDoubleClick(), LLEventNotifier::notifyCallback(), and toggleEvents().
void LLFloaterDirectory::showLandForSale | ( | const LLUUID & | parcel_id | ) | [static] |
Definition at line 331 of file llfloaterdirectory.cpp.
References mLandPanel, LLPanelDirBrowser::selectByUUID(), showPanel(), and sInstance.
Referenced by LLWorldMapView::handleDoubleClick().
void LLFloaterDirectory::showGroups | ( | ) | [static] |
Definition at line 342 of file llfloaterdirectory.cpp.
References showPanel().
Referenced by LLPanelGroups::search().
void LLFloaterDirectory::refreshGroup | ( | const LLUUID & | group_id | ) | [static] |
Definition at line 348 of file llfloaterdirectory.cpp.
References LLGroupMgrObserver::getID(), mPanelGroupp, LLPanelGroup::refreshData(), and sInstance.
Referenced by LLAgentDropGroupViewerNode::post(), LLAgent::processAgentDropGroup(), LLGroupMgr::processJoinGroupReply(), and LLGroupMgr::processLeaveGroupReply().
void LLFloaterDirectory::hide | ( | void * | ) | [static] |
Definition at line 446 of file llfloaterdirectory.cpp.
References LLFloater::close(), and sInstance.
Referenced by handle_track_avatar(), and LLAgent::teleportCore().
void LLFloaterDirectory::toggleEvents | ( | void * | ) | [static] |
Definition at line 417 of file llfloaterdirectory.cpp.
References LLPanel::childGetVisibleTab(), LLFloater::close(), LLView::getVisible(), mEventsPanel, LLFloater::open(), showEvents(), and sInstance.
Referenced by handle_events().
void LLFloaterDirectory::toggleFind | ( | void * | ) | [static] |
Definition at line 384 of file llfloaterdirectory.cpp.
References LLFloater::close(), focusCurrentPanel(), LLControlGroup::getString(), LLView::getVisible(), gSavedSettings, mEventsPanel, NULL, LLFloater::open(), LLPanelDirEvents::setDay(), showPanel(), and sInstance.
Referenced by handle_find(), and LLEditSearch::handleEvent().
void LLFloaterDirectory::onTabChanged | ( | void * | data, | |
bool | from_click | |||
) | [static] |
Definition at line 467 of file llfloaterdirectory.cpp.
References LLView::getName(), gSavedSettings, and LLControlGroup::setString().
Referenced by LLFloaterDirectory().
void LLFloaterDirectory::hideAllDetailPanels | ( | ) |
Definition at line 479 of file llfloaterdirectory.cpp.
References FALSE, mPanelAvatarp, mPanelClassifiedp, mPanelEventp, mPanelGroupHolderp, mPanelGroupp, mPanelPlacep, mPanelPlaceSmallp, and LLView::setVisible().
Referenced by LLPanelDirFind::onVisibilityChange(), LLPanelDirBrowser::setupNewSearch(), and LLPanelDirBrowser::showEvent().
void LLFloaterDirectory::showPanel | ( | const std::string & | tabname | ) | [static, private] |
Definition at line 369 of file llfloaterdirectory.cpp.
References LLPanel::childShowTab(), focusCurrentPanel(), LLFloaterDirectory(), LLFloater::open(), and sInstance.
Referenced by showClassified(), showEvents(), showFindAll(), showGroups(), showLandForSale(), and toggleFind().
void LLFloaterDirectory::onClose | ( | bool | app_quitting | ) | [private, virtual] |
Reimplemented from LLFloater.
Definition at line 461 of file llfloaterdirectory.cpp.
References FALSE, and setVisible().
void LLFloaterDirectory::focusCurrentPanel | ( | ) | [private] |
Definition at line 357 of file llfloaterdirectory.cpp.
References LLTabContainer::getCurrentPanel(), LLPanel::setFocus(), and TRUE.
Referenced by showPanel(), and toggleFind().
void * LLFloaterDirectory::createFindAll | ( | void * | userdata | ) | [static, private] |
Definition at line 151 of file llfloaterdirectory.cpp.
References LLPanelDirFindAllInterface::create().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createClassified | ( | void * | userdata | ) | [static, private] |
Definition at line 159 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createEvents | ( | void * | userdata | ) | [static, private] |
Definition at line 167 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createShowcase | ( | void * | userdata | ) | [static, private] |
Definition at line 175 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createPlaces | ( | void * | userdata | ) | [static, private] |
Definition at line 182 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createLand | ( | void * | userdata | ) | [static, private] |
Definition at line 189 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createPeople | ( | void * | userdata | ) | [static, private] |
Definition at line 198 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createGroups | ( | void * | userdata | ) | [static, private] |
Definition at line 205 of file llfloaterdirectory.cpp.
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createClassifiedDetail | ( | void * | userdata | ) | [static, private] |
Definition at line 212 of file llfloaterdirectory.cpp.
References FALSE.
Referenced by LLFloaterDirectory().
static void* LLFloaterDirectory::createAvatarDetail | ( | void * | userdata | ) | [static, private] |
void * LLFloaterDirectory::createEventDetail | ( | void * | userdata | ) | [static, private] |
Definition at line 236 of file llfloaterdirectory.cpp.
References LLUICtrlFactory::buildPanel(), FALSE, and LLSingleton< LLUICtrlFactory >::getInstance().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createGroupDetail | ( | void * | userdata | ) | [static, private] |
Definition at line 246 of file llfloaterdirectory.cpp.
References FALSE, gAgent, and LLAgent::getGroupID().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createGroupDetailHolder | ( | void * | userdata | ) | [static, private] |
Definition at line 258 of file llfloaterdirectory.cpp.
References FALSE, and LLPanel::LLPanel().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createPlaceDetail | ( | void * | userdata | ) | [static, private] |
Definition at line 267 of file llfloaterdirectory.cpp.
References LLUICtrlFactory::buildPanel(), FALSE, and LLSingleton< LLUICtrlFactory >::getInstance().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createPlaceDetailSmall | ( | void * | userdata | ) | [static, private] |
Definition at line 277 of file llfloaterdirectory.cpp.
References LLUICtrlFactory::buildPanel(), FALSE, and LLSingleton< LLUICtrlFactory >::getInstance().
Referenced by LLFloaterDirectory().
void * LLFloaterDirectory::createPanelAvatar | ( | void * | data | ) | [static, private] |
Definition at line 222 of file llfloaterdirectory.cpp.
References FALSE.
Referenced by LLFloaterDirectory().
Definition at line 95 of file llfloaterdirectory.h.
Referenced by LLFloaterDirectory(), and showFindAll().
Definition at line 96 of file llfloaterdirectory.h.
Referenced by LLFloaterDirectory(), requestClassifieds(), and showClassified().
LLPanelDirEvents* LLFloaterDirectory::mEventsPanel [private] |
Definition at line 97 of file llfloaterdirectory.h.
Referenced by LLFloaterDirectory(), showEvents(), toggleEvents(), and toggleFind().
LLPanelDirLand* LLFloaterDirectory::mLandPanel [private] |
Definition at line 98 of file llfloaterdirectory.h.
Referenced by LLFloaterDirectory(), and showLandForSale().
Definition at line 120 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
Definition at line 121 of file llfloaterdirectory.h.
Referenced by LLPanelDirBrowser::getSelectedEventID(), hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::selectEventByID(), LLPanelDirBrowser::showEvent(), and ~LLFloaterDirectory().
Definition at line 122 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), refreshGroup(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
Definition at line 123 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
Definition at line 124 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
Definition at line 125 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
Definition at line 126 of file llfloaterdirectory.h.
Referenced by hideAllDetailPanels(), LLFloaterDirectory(), LLPanelDirBrowser::newClassified(), LLPanelDirBrowser::showDetailPanel(), and ~LLFloaterDirectory().
S32 LLFloaterDirectory::sOldSearchCount = 0 [static] |
Definition at line 128 of file llfloaterdirectory.h.
Referenced by LLPanelDirBrowser::onClickSearchCore(), and send_stats().
S32 LLFloaterDirectory::sNewSearchCount = 0 [static] |
Definition at line 129 of file llfloaterdirectory.h.
Referenced by LLPanelDirFind::onClickSearch(), and send_stats().
bool LLFloaterDirectory::mMinimizing [private] |
Definition at line 132 of file llfloaterdirectory.h.
LLFloaterDirectory * LLFloaterDirectory::sInstance = NULL [static, private] |
Definition at line 133 of file llfloaterdirectory.h.
Referenced by hide(), LLFloaterDirectory(), refreshGroup(), requestClassifieds(), showClassified(), showEvents(), showFindAll(), showLandForSale(), showPanel(), toggleEvents(), toggleFind(), and ~LLFloaterDirectory().