LLFloaterGesture Class Reference

#include <llfloatergesture.h>

Inheritance diagram for LLFloaterGesture:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterGesture:

Collaboration graph
[legend]
List of all members.

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 LLFloaterGesturesInstance = NULL
static LLFloaterGestureObserversObserver = NULL
static LLFloaterGestureInventoryObserver * sInventoryObserver

Detailed Description

Definition at line 54 of file llfloatergesture.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

void LLFloaterGesture::onClickEdit ( void data  )  [static, protected]

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

void LLFloaterGesture::onClickInventory ( void data  )  [static, protected]

Definition at line 319 of file llfloatergesture.cpp.

References tut::inv(), list, LLInventoryView::showAgentInventory(), and TRUE.

Referenced by postBuild().

void LLFloaterGesture::onClickNew ( void data  )  [static, protected]

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

void LLFloaterGesture::onClickPlay ( void data  )  [static, protected]

Definition at line 333 of file llfloatergesture.cpp.

References gGestureManager, LLGestureManager::isGesturePlaying(), list, LLGestureManager::playGesture(), and LLGestureManager::stopGesture().

Referenced by postBuild().

void LLFloaterGesture::onCommitList ( LLUICtrl ctrl,
void data 
) [static, protected]

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


Member Data Documentation

LLUUID LLFloaterGesture::mSelectedID [protected]

Definition at line 79 of file llfloatergesture.h.

Referenced by refreshAll().

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


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