#include <llfloateropenobject.h>
Inheritance diagram for LLFloaterOpenObject:
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 void * | createPanelInventory (void *data) |
Protected Attributes | |
LLPanelInventory * | mPanelInventory |
LLHandle< LLObjectSelection > | mObjectSelection |
BOOL | mDirty |
Static Protected Attributes | |
static LLFloaterOpenObject * | sInstance = NULL |
Classes | |
struct | LLCatAndWear |
Definition at line 45 of file llfloateropenobject.h.
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 180 of file llfloateropenobject.cpp.
References LLInventoryView::getActiveInventory(), LLInventoryView::getPanel(), LLFloaterOpenObject::LLCatAndWear::mCatID, LLInventoryPanel::setSelection(), LLInventoryView::showAgentInventory(), and TAKE_FOCUS_NO.
Referenced by moveToInventory().
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::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().
BOOL LLFloaterOpenObject::mDirty [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().