LLFloaterInspect Class Reference

#include <llfloaterinspect.h>

Inheritance diagram for LLFloaterInspect:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterInspect:

Collaboration graph
[legend]
List of all members.

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

LLScrollListCtrlmObjectList

Protected Member Functions

 LLFloaterInspect ()
void setDirty ()

Protected Attributes

bool mDirty

Private Attributes

LLHandle< LLObjectSelectionmObjectSelection

Static Private Attributes

static LLFloaterInspectsInstance = NULL

Detailed Description

Definition at line 44 of file llfloaterinspect.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 73 of file llfloaterinspect.cpp.

References sInstance.

void LLFloaterInspect::onClickCreatorProfile ( void ctrl  )  [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().

void LLFloaterInspect::onClickOwnerProfile ( void ctrl  )  [static]

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().

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().

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().

Referenced by draw(), and show().

void LLFloaterInspect::setDirty (  )  [inline, protected]

Definition at line 63 of file llfloaterinspect.h.

References mDirty, and TRUE.

Referenced by dirty().

void LLFloaterInspect::show ( void ignored = NULL  )  [static]

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().


Member Data Documentation

bool LLFloaterInspect::mDirty [protected]

Definition at line 64 of file llfloaterinspect.h.

Referenced by draw(), and setDirty().

LLScrollListCtrl* LLFloaterInspect::mObjectList

Definition at line 59 of file llfloaterinspect.h.

Referenced by getSelectedUUID(), onClickCreatorProfile(), onClickOwnerProfile(), postBuild(), and refresh().

LLHandle<LLObjectSelection> LLFloaterInspect::mObjectSelection [private]

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:19 2010 for Second Life Viewer by  doxygen 1.4.7