#include <llfloaterinspect.h>
Inheritance diagram for LLFloaterInspect:
Public Member Functions | |
virtual | ~LLFloaterInspect (void) |
virtual BOOL | postBuild () |
virtual void | draw () |
virtual void | refresh () |
virtual void | onFocusReceived () |
Static Public Member Functions | |
static void | show (void *ignored=NULL) |
static void | dirty () |
static LLUUID | getSelectedUUID () |
static BOOL | isVisible () |
static void | onClickCreatorProfile (void *ctrl) |
static void | onClickOwnerProfile (void *ctrl) |
static void | onSelectObject (LLUICtrl *ctrl, void *user_data) |
Public Attributes | |
LLScrollListCtrl * | mObjectList |
Protected Member Functions | |
LLFloaterInspect () | |
void | setDirty () |
Protected Attributes | |
bool | mDirty |
Private Attributes | |
LLHandle< LLObjectSelection > | mObjectSelection |
Static Private Attributes | |
static LLFloaterInspect * | sInstance = NULL |
Definition at line 44 of file llfloaterinspect.h.
LLFloaterInspect::~LLFloaterInspect | ( | void | ) | [virtual] |
Definition at line 55 of file llfloaterinspect.cpp.
References LLToolMgr::clearTransientTool(), gBasicToolset, LLToolMgr::getBaseTool(), LLView::getVisible(), gFloaterTools, gToolInspect, gToolMgr, NULL, LLToolMgr::setCurrentToolset(), LLFloater::setFocus(), sInstance, and TRUE.
LLFloaterInspect::LLFloaterInspect | ( | ) | [protected] |
Definition at line 47 of file llfloaterinspect.cpp.
References LLUICtrlFactory::buildFloater(), gUICtrlFactory, and sInstance.
void LLFloaterInspect::dirty | ( | ) | [static] |
Definition at line 267 of file llfloaterinspect.cpp.
References setDirty(), and sInstance.
Referenced by dialog_refresh_all().
void LLFloaterInspect::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 275 of file llfloaterinspect.cpp.
References LLFloater::draw(), FALSE, mDirty, and refresh().
LLUUID LLFloaterInspect::getSelectedUUID | ( | ) | [static] |
Definition at line 171 of file llfloaterinspect.cpp.
References LLScrollListCtrl::getAllSelected(), LLScrollListCtrl::getFirstSelected(), LLScrollListItem::getUUID(), mObjectList, LLUUID::null, and sInstance.
Referenced by onSelectObject(), and LLSelectMgr::renderSilhouettes().
BOOL LLFloaterInspect::isVisible | ( | ) | [static] |
Definition at line 98 of file llfloaterinspect.cpp.
References f, func, LLScrollListCtrl::getAllSelected(), LLScrollListCtrl::getFirstSelected(), LLViewerObject::getID(), LLSelectNode::getObject(), LLScrollListItem::getUUID(), mObjectList, mObjectSelection, LLFloaterAvatarInfo::showFromDirectory(), and sInstance.
Referenced by postBuild().
Definition at line 126 of file llfloaterinspect.cpp.
References f, func, LLScrollListCtrl::getAllSelected(), LLScrollListCtrl::getFirstSelected(), LLViewerObject::getID(), LLSelectNode::getObject(), LLPermissions::getOwner(), LLScrollListItem::getUUID(), mObjectList, mObjectSelection, LLSelectNode::mPermissions, LLFloaterAvatarInfo::showFromDirectory(), and sInstance.
Referenced by postBuild().
void LLFloaterInspect::onFocusReceived | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 262 of file llfloaterinspect.cpp.
References gToolInspect, gToolMgr, and LLToolMgr::setTransientTool().
Definition at line 162 of file llfloaterinspect.cpp.
References LLPanel::childSetEnabled(), getSelectedUUID(), LLUUID::null, and sInstance.
Referenced by postBuild(), and refresh().
BOOL LLFloaterInspect::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 153 of file llfloaterinspect.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLUICtrlFactory::getScrollListByName(), mObjectList, onClickCreatorProfile(), onClickOwnerProfile(), onSelectObject(), and TRUE.
void LLFloaterInspect::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 188 of file llfloaterinspect.cpp.
References ADD_TOP, LLScrollListCtrl::addElement(), LLPanel::childSetEnabled(), LLStringBase< char >::copy(), gCacheName, LLScrollListCtrl::getFirstSelected(), LLScrollListCtrl::getFirstSelectedIndex(), LLScrollListCtrl::getItemIndex(), LLCacheName::getName(), LLScrollListCtrl::getScrollPos(), LLScrollListItem::getUUID(), MAX_STRING, mObjectList, mObjectSelection, NULL, onSelectObject(), LLCtrlSelectionInterface::OP_DELETE, LLScrollListCtrl::operateOnAll(), S32, LLScrollListCtrl::selectNthItem(), and LLScrollListCtrl::setScrollPos().
void LLFloaterInspect::setDirty | ( | ) | [inline, protected] |
Definition at line 78 of file llfloaterinspect.cpp.
References LLSelectMgr::getSelection(), gSelectMgr, gToolInspect, gToolMgr, mObjectSelection, LLFloater::open(), refresh(), LLSelectMgr::setForceSelection(), LLToolMgr::setTransientTool(), sInstance, and TRUE.
Referenced by LLObjectInspect::handleEvent().
bool LLFloaterInspect::mDirty [protected] |
Definition at line 59 of file llfloaterinspect.h.
Referenced by getSelectedUUID(), onClickCreatorProfile(), onClickOwnerProfile(), postBuild(), and refresh().
Definition at line 70 of file llfloaterinspect.h.
Referenced by onClickCreatorProfile(), onClickOwnerProfile(), refresh(), and show().
LLFloaterInspect * LLFloaterInspect::sInstance = NULL [static, private] |
Definition at line 68 of file llfloaterinspect.h.
Referenced by dirty(), getSelectedUUID(), isVisible(), LLFloaterInspect(), onClickCreatorProfile(), onClickOwnerProfile(), onSelectObject(), show(), and ~LLFloaterInspect().