#include <llfloaterinspect.h>
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 | |
LLSafeHandle< 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(), LLSingleton< LLToolCompInspect >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLView::getVisible(), gFloaterTools, NULL, LLToolMgr::setCurrentToolset(), LLFloater::setFocus(), sInstance, and TRUE.
LLFloaterInspect::LLFloaterInspect | ( | void | ) | [protected] |
Definition at line 47 of file llfloaterinspect.cpp.
References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), and sInstance.
void LLFloaterInspect::show | ( | void * | ignored = NULL |
) | [static] |
Definition at line 78 of file llfloaterinspect.cpp.
References LLSingleton< LLToolCompInspect >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), mObjectSelection, LLFloater::open(), refresh(), LLSelectMgr::setForceSelection(), LLToolMgr::setTransientTool(), sInstance, and TRUE.
Referenced by LLObjectInspect::handleEvent().
BOOL LLFloaterInspect::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 153 of file llfloaterinspect.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), mObjectList, onClickCreatorProfile(), onClickOwnerProfile(), onSelectObject(), and TRUE.
void LLFloaterInspect::dirty | ( | ) | [static] |
Definition at line 263 of file llfloaterinspect.cpp.
References setDirty(), and sInstance.
Referenced by dialog_refresh_all().
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().
void LLFloaterInspect::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 271 of file llfloaterinspect.cpp.
References LLFloater::draw(), FALSE, mDirty, and refresh().
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, LLPermissions::getCreator(), LLScrollListCtrl::getFirstSelected(), LLScrollListCtrl::getFirstSelectedIndex(), LLCacheName::getFullName(), LLViewerObject::getID(), LLScrollListCtrl::getItemIndex(), LLSelectNode::getObject(), LLPermissions::getOwner(), LLScrollListCtrl::getScrollPos(), LLScrollListItem::getUUID(), LLXform::isRoot(), LLXform::isRootEdit(), MAX_STRING, LLSelectNode::mCreationDate, LLSelectNode::mName, mObjectList, mObjectSelection, LLSelectNode::mPermissions, NULL, onSelectObject(), LLCtrlSelectionInterface::OP_DELETE, LLScrollListCtrl::operateOnAll(), S32, LLScrollListCtrl::selectNthItem(), and LLScrollListCtrl::setScrollPos().
Referenced by draw(), and show().
BOOL LLFloaterInspect::isVisible | ( | ) | [static] |
void LLFloaterInspect::onFocusReceived | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 257 of file llfloaterinspect.cpp.
References LLSingleton< LLToolCompInspect >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLUICtrl::onFocusReceived(), and LLToolMgr::setTransientTool().
void LLFloaterInspect::onClickCreatorProfile | ( | void * | ctrl | ) | [static] |
Definition at line 98 of file llfloaterinspect.cpp.
References LLScrollListCtrl::getAllSelected(), LLScrollListCtrl::getFirstSelected(), LLViewerObject::getID(), LLSelectNode::getObject(), LLScrollListItem::getUUID(), mObjectList, mObjectSelection, LLFloaterAvatarInfo::showFromDirectory(), and sInstance.
Referenced by postBuild().
void LLFloaterInspect::onClickOwnerProfile | ( | void * | ctrl | ) | [static] |
Definition at line 126 of file llfloaterinspect.cpp.
References 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::onSelectObject | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 162 of file llfloaterinspect.cpp.
References LLPanel::childSetEnabled(), getSelectedUUID(), LLUUID::null, and sInstance.
Referenced by postBuild(), and refresh().
void LLFloaterInspect::setDirty | ( | ) | [inline, protected] |
Definition at line 63 of file llfloaterinspect.h.
Referenced by dirty().
Definition at line 59 of file llfloaterinspect.h.
Referenced by getSelectedUUID(), onClickCreatorProfile(), onClickOwnerProfile(), postBuild(), and refresh().
bool LLFloaterInspect::mDirty [protected] |
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().
Definition at line 70 of file llfloaterinspect.h.
Referenced by onClickCreatorProfile(), onClickOwnerProfile(), refresh(), and show().