#include <llfloatergesture.h>
Inheritance diagram for LLFloaterGesture:
Public Member Functions | |
LLFloaterGesture () | |
virtual | ~LLFloaterGesture () |
virtual BOOL | postBuild () |
Static Public Member Functions | |
static void | show () |
static void | toggleVisibility () |
static void | refreshAll () |
Protected Member Functions | |
void | buildGestureList () |
Static Protected Member Functions | |
static void | onClickInventory (void *data) |
static void | onClickEdit (void *data) |
static void | onClickPlay (void *data) |
static void | onClickNew (void *data) |
static void | onCommitList (LLUICtrl *ctrl, void *data) |
Protected Attributes | |
LLUUID | mSelectedID |
Static Protected Attributes | |
static LLFloaterGesture * | sInstance = NULL |
static LLFloaterGestureObserver * | sObserver = NULL |
static LLFloaterGestureInventoryObserver * | sInventoryObserver |
Definition at line 54 of file llfloatergesture.h.
LLFloaterGesture::LLFloaterGesture | ( | ) |
Definition at line 82 of file llfloatergesture.cpp.
References LLGestureManager::addObserver(), gGestureManager, sInstance, and sObserver.
Referenced by show().
LLFloaterGesture::~LLFloaterGesture | ( | ) | [virtual] |
Definition at line 92 of file llfloatergesture.cpp.
References gGestureManager, gSavedSettings, LLView::mRect, NULL, LLGestureManager::removeObserver(), LLControlGroup::setRect(), sInstance, and sObserver.
void LLFloaterGesture::buildGestureList | ( | ) | [protected] |
Definition at line 213 of file llfloatergesture.cpp.
References ADD_BOTTOM, LLPanel::childGetListInterface(), LLInventoryModel::getItem(), LLInventoryObject::getName(), gGestureManager, gInventory, KEY_NONE, list, LLGestureManager::mActive, MASK_ALT, MASK_CONTROL, MASK_SHIFT, LLCtrlSelectionInterface::OP_DELETE, and LLKeyboard::stringFromKey().
Referenced by refreshAll().
Reimplemented from LLFloater.
Definition at line 379 of file llfloatergesture.cpp.
References LLFloaterView::findNeighboringPosition(), LLFloater::getHost(), LLInventoryModel::getItem(), LLInventoryObject::getName(), gFloaterView, gInventory, list, LLUUID::null, LLView::setRect(), and LLPreviewGesture::show().
Referenced by postBuild().
Definition at line 319 of file llfloatergesture.cpp.
References tut::inv(), list, LLInventoryView::showAgentInventory(), and TRUE.
Referenced by postBuild().
Definition at line 367 of file llfloatergesture.cpp.
References LLAssetType::AT_GESTURE, create_inventory_item(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), LLInventoryType::IT_GESTURE, NOT_WEARABLE, LLUUID::null, PERM_MOVE, PERM_TRANSFER, and LLTransactionID::tnull.
Referenced by postBuild().
Definition at line 333 of file llfloatergesture.cpp.
References gGestureManager, LLGestureManager::isGesturePlaying(), list, LLGestureManager::playGesture(), and LLGestureManager::stopGesture().
Referenced by postBuild().
Definition at line 401 of file llfloatergesture.cpp.
References gGestureManager, and LLGestureManager::isGesturePlaying().
Referenced by postBuild(), refreshAll(), and show().
BOOL LLFloaterGesture::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 106 of file llfloatergesture.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetVisible(), LLFloater::getTitle(), onClickEdit(), onClickInventory(), onClickNew(), onClickPlay(), onCommitList(), LLPanel::setDefaultBtn(), LLFloater::setTitle(), and TRUE.
void LLFloaterGesture::refreshAll | ( | ) | [static] |
Definition at line 182 of file llfloatergesture.cpp.
References buildGestureList(), LLPanel::childGetListInterface(), LLPanel::childGetScrollInterface(), LLUUID::isNull(), list, mSelectedID, NULL, onCommitList(), LLCtrlScrollInterface::scrollToShowSelected(), and sInstance.
Referenced by LLFloaterGestureObserver::changed(), and LLGestureInventoryFetchObserver::done().
void LLFloaterGesture::show | ( | ) | [static] |
Definition at line 136 of file llfloatergesture.cpp.
References LLUICtrlFactory::buildFloater(), LLRectBase< Type >::getHeight(), LLControlGroup::getRect(), LLRectBase< Type >::getWidth(), gSavedSettings, gUICtrlFactory, list, LLFloaterGesture(), NULL, LLUUID::null, onCommitList(), LLFloater::open(), and sInstance.
Referenced by toggleVisibility().
void LLFloaterGesture::toggleVisibility | ( | ) | [static] |
Definition at line 169 of file llfloatergesture.cpp.
References LLFloater::close(), LLView::getVisible(), show(), and sInstance.
Referenced by LLShowFloater::handleEvent().
LLUUID LLFloaterGesture::mSelectedID [protected] |
LLFloaterGesture * LLFloaterGesture::sInstance = NULL [static, protected] |
Definition at line 81 of file llfloatergesture.h.
Referenced by LLFloaterGesture(), refreshAll(), show(), toggleVisibility(), and ~LLFloaterGesture().
LLFloaterGestureInventoryObserver* LLFloaterGesture::sInventoryObserver [static, protected] |
Definition at line 83 of file llfloatergesture.h.
LLFloaterGestureObserver * LLFloaterGesture::sObserver = NULL [static, protected] |
Definition at line 82 of file llfloatergesture.h.
Referenced by LLFloaterGesture(), and ~LLFloaterGesture().