LLFloaterOpenObject Class Reference

#include <llfloateropenobject.h>

Inheritance diagram for LLFloaterOpenObject:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterOpenObject:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void show ()
static void dirty ()

Protected Member Functions

 LLFloaterOpenObject ()
 ~LLFloaterOpenObject ()
void refresh ()
void draw ()
void moveToInventory (bool wear)

Static Protected Member Functions

static void onClickMoveToInventory (void *data)
static void onClickMoveAndWear (void *data)
static void callbackMoveInventory (S32 result, void *data)
static voidcreatePanelInventory (void *data)

Protected Attributes

LLPanelInventorymPanelInventory
LLHandle< LLObjectSelectionmObjectSelection
BOOL mDirty

Static Protected Attributes

static LLFloaterOpenObjectsInstance = NULL

Classes

struct  LLCatAndWear

Detailed Description

Definition at line 45 of file llfloateropenobject.h.


Constructor & Destructor Documentation

LLFloaterOpenObject::LLFloaterOpenObject (  )  [protected]

Definition at line 59 of file llfloateropenobject.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetTextArg(), createPanelInventory(), gUICtrlFactory, onClickMoveAndWear(), and onClickMoveToInventory().

Referenced by show().

LLFloaterOpenObject::~LLFloaterOpenObject (  )  [protected]

Definition at line 73 of file llfloateropenobject.cpp.

References NULL, and sInstance.


Member Function Documentation

void LLFloaterOpenObject::callbackMoveInventory ( S32  result,
void data 
) [static, protected]

Definition at line 180 of file llfloateropenobject.cpp.

References LLInventoryView::getActiveInventory(), LLInventoryView::getPanel(), LLFloaterOpenObject::LLCatAndWear::mCatID, LLInventoryPanel::setSelection(), LLInventoryView::showAgentInventory(), and TAKE_FOCUS_NO.

Referenced by moveToInventory().

void * LLFloaterOpenObject::createPanelInventory ( void data  )  [static, protected]

Definition at line 215 of file llfloateropenobject.cpp.

References mPanelInventory.

Referenced by LLFloaterOpenObject().

void LLFloaterOpenObject::dirty (  )  [static]

Definition at line 101 of file llfloateropenobject.cpp.

References mDirty, sInstance, and TRUE.

Referenced by LLFloaterTools::dirty().

void LLFloaterOpenObject::draw (  )  [protected, virtual]

Reimplemented from LLFloater.

Definition at line 90 of file llfloateropenobject.cpp.

References LLFloater::draw(), FALSE, mDirty, and refresh().

void LLFloaterOpenObject::moveToInventory ( bool  wear  )  [protected]

Definition at line 130 of file llfloateropenobject.cpp.

References LLViewerWindow::alertXml(), LLAssetType::AT_CLOTHING, LLAssetType::AT_NONE, callbackMoveInventory(), LLInventoryModel::createNewCategory(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLViewerObject::getID(), LLAgent::getInventoryRootID(), LLSelectNode::getObject(), gInventory, gViewerWindow, LLFloaterOpenObject::LLCatAndWear::mCatID, LLSelectNode::mName, mObjectSelection, move_inv_category_world_to_agent(), LLFloaterOpenObject::LLCatAndWear::mWear, NULL, and TRUE.

void LLFloaterOpenObject::onClickMoveAndWear ( void data  )  [static, protected]

Definition at line 207 of file llfloateropenobject.cpp.

Referenced by LLFloaterOpenObject().

void LLFloaterOpenObject::onClickMoveToInventory ( void data  )  [static, protected]

Definition at line 199 of file llfloateropenobject.cpp.

Referenced by LLFloaterOpenObject().

void LLFloaterOpenObject::refresh (  )  [protected, virtual]

Reimplemented from LLPanel.

Definition at line 78 of file llfloateropenobject.cpp.

References LLPanel::childSetTextArg(), LLSelectNode::mName, mObjectSelection, mPanelInventory, and LLPanelInventory::refresh().

Referenced by draw().

void LLFloaterOpenObject::show (  )  [static]

Definition at line 107 of file llfloateropenobject.cpp.

References LLViewerWindow::alertXml(), LLFloater::center(), LLSelectMgr::getEditSelection(), LLSelectMgr::getSelection(), gSelectMgr, gViewerWindow, LLFloaterOpenObject(), mObjectSelection, LLFloater::open(), LLFloater::setFocus(), sInstance, and TRUE.

Referenced by handle_object_open().


Member Data Documentation

BOOL LLFloaterOpenObject::mDirty [protected]

Definition at line 77 of file llfloateropenobject.h.

Referenced by dirty(), and draw().

LLHandle<LLObjectSelection> LLFloaterOpenObject::mObjectSelection [protected]

Definition at line 76 of file llfloateropenobject.h.

Referenced by moveToInventory(), refresh(), and show().

LLPanelInventory* LLFloaterOpenObject::mPanelInventory [protected]

Definition at line 75 of file llfloateropenobject.h.

Referenced by createPanelInventory(), and refresh().

LLFloaterOpenObject * LLFloaterOpenObject::sInstance = NULL [static, protected]

Definition at line 73 of file llfloateropenobject.h.

Referenced by dirty(), show(), and ~LLFloaterOpenObject().


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