#include <llpreviewgesture.h>


Public Member Functions | |
| virtual BOOL | handleKeyHere (KEY key, MASK mask) |
| virtual BOOL | handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg) |
| virtual BOOL | postBuild () |
| virtual BOOL | canClose () |
| virtual void | setMinimized (BOOL minimize) |
| virtual void | onClose (bool app_quitting) |
| virtual void | onUpdateSucceeded () |
Static Public Member Functions | |
| static LLPreviewGesture * | show (const std::string &title, const LLUUID &item_id, const LLUUID &object_id, BOOL take_focus=TRUE) |
Protected Member Functions | |
| LLPreviewGesture () | |
| virtual | ~LLPreviewGesture () |
| void | init (const LLUUID &item_id, const LLUUID &object_id) |
| void | addModifiers () |
| void | addKeys () |
| void | addAnimations () |
| void | addSounds () |
| void | refresh () |
| void | initDefaultGesture () |
| void | loadAsset () |
| void | loadUIFromGesture (LLMultiGesture *gesture) |
| void | saveIfNeeded () |
| LLMultiGesture * | createGesture () |
| LLScrollListItem * | addStep (const std::string &step_name) |
| virtual const char * | getTitleName () const |
Static Protected Member Functions | |
| static void | onLoadComplete (LLVFS *vfs, const LLUUID &asset_uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status) |
| static void | onSaveComplete (const LLUUID &asset_uuid, void *user_data, S32 status, LLExtStat ext_status) |
| static void | handleSaveChangesDialog (S32 option, void *userdata) |
| static void | updateLabel (LLScrollListItem *item) |
| static void | onCommitSetDirty (LLUICtrl *ctrl, void *data) |
| static void | onCommitLibrary (LLUICtrl *ctrl, void *data) |
| static void | onCommitStep (LLUICtrl *ctrl, void *data) |
| static void | onCommitAnimation (LLUICtrl *ctrl, void *data) |
| static void | onCommitSound (LLUICtrl *ctrl, void *data) |
| static void | onCommitChat (LLUICtrl *ctrl, void *data) |
| static void | onCommitWait (LLUICtrl *ctrl, void *data) |
| static void | onCommitWaitTime (LLUICtrl *ctrl, void *data) |
| static void | onCommitAnimationTrigger (LLUICtrl *ctrl, void *data) |
| static void | onKeystrokeCommit (LLLineEditor *caller, void *data) |
| static void | onClickAdd (void *data) |
| static void | onClickUp (void *data) |
| static void | onClickDown (void *data) |
| static void | onClickDelete (void *data) |
| static void | onCommitActive (LLUICtrl *ctrl, void *data) |
| static void | onClickSave (void *data) |
| static void | onClickPreview (void *data) |
| static void | onDonePreview (LLMultiGesture *gesture, void *data) |
Protected Attributes | |
| LLLineEditor * | mTriggerEditor |
| LLTextBox * | mReplaceText |
| LLLineEditor * | mReplaceEditor |
| LLComboBox * | mModifierCombo |
| LLComboBox * | mKeyCombo |
| LLScrollListCtrl * | mLibraryList |
| LLButton * | mAddBtn |
| LLButton * | mUpBtn |
| LLButton * | mDownBtn |
| LLButton * | mDeleteBtn |
| LLScrollListCtrl * | mStepList |
| LLTextBox * | mOptionsText |
| LLRadioGroup * | mAnimationRadio |
| LLComboBox * | mAnimationCombo |
| LLComboBox * | mSoundCombo |
| LLLineEditor * | mChatEditor |
| LLCheckBoxCtrl * | mWaitAnimCheck |
| LLCheckBoxCtrl * | mWaitTimeCheck |
| LLLineEditor * | mWaitTimeEditor |
| LLCheckBoxCtrl * | mActiveCheck |
| LLButton * | mSaveBtn |
| LLButton * | mPreviewBtn |
| LLMultiGesture * | mPreviewGesture |
| BOOL | mDirty |
Definition at line 48 of file llpreviewgesture.h.
| LLPreviewGesture::LLPreviewGesture | ( | ) | [protected] |
Definition at line 350 of file llpreviewgesture.cpp.
Referenced by show().

| LLPreviewGesture::~LLPreviewGesture | ( | ) | [protected, virtual] |
Definition at line 374 of file llpreviewgesture.cpp.
References LLScrollListCtrl::getAllData(), LLScrollListItem::getUserdata(), mStepList, and NULL.

| LLPreviewGesture * LLPreviewGesture::show | ( | const std::string & | title, | |
| const LLUUID & | item_id, | |||
| const LLUUID & | object_id, | |||
| BOOL | take_focus = TRUE | |||
| ) | [static] |
Definition at line 119 of file llpreviewgesture.cpp.
References LLMultiFloater::addFloater(), LLInventoryModel::addObserver(), LLAssetType::AT_ANIMATION, LLAssetType::AT_SOUND, LLUICtrlFactory::buildFloater(), LLViewerInventoryItem::fetchFromServer(), LLPreview::find(), LLInventoryModel::findCategoryUUIDForType(), LLRectBase< Type >::getHeight(), LLSingleton< LLUICtrlFactory >::getInstance(), LLView::getRect(), LLRectBase< Type >::getWidth(), gFloaterView, gInventory, LLViewerInventoryItem::isComplete(), LLPreviewGesture(), NULL, LLPreview::open(), r, LLFloater::setFocus(), LLRectBase< Type >::setLeftTopAndSize(), LLInventoryModel::startBackgroundFetch(), TRUE, and LLInventoryCompletionObserver::watchItem().
Referenced by CreateGestureCallback::fire(), GestureShowCallback::fire(), LLFloaterGesture::onClickEdit(), LLTaskGestureBridge::openItem(), and LLGestureBridge::openItem().


Reimplemented from LLPanel.
Definition at line 189 of file llpreviewgesture.cpp.
References LLPanel::handleKeyHere(), MASK_CONTROL, saveIfNeeded(), and TRUE.

| BOOL LLPreviewGesture::handleDragAndDrop | ( | S32 | x, | |
| S32 | y, | |||
| MASK | mask, | |||
| BOOL | drop, | |||
| EDragAndDropType | cargo_type, | |||
| void * | cargo_data, | |||
| EAcceptance * | accept, | |||
| LLString & | tooltip_msg | |||
| ) | [virtual] |
Reimplemented from LLView.
Definition at line 202 of file llpreviewgesture.cpp.
References ACCEPT_NO, ACCEPT_YES_COPY_MULTI, addStep(), DAD_ANIMATION, DAD_SOUND, LLInventoryItem::getAssetUUID(), LLInventoryModel::getItem(), LLPermissions::getMaskBase(), LLInventoryObject::getName(), LLInventoryItem::getPermissions(), LLScrollListItem::getUserdata(), LLInventoryObject::getUUID(), gInventory, LLGestureStepAnimation::mAnimAssetID, LLGestureStepAnimation::mAnimName, mDirty, LLGestureStepSound::mSoundAssetID, LLGestureStepSound::mSoundName, NULL, PERM_ITEM_UNRESTRICTED, refresh(), TRUE, and updateLabel().

| BOOL LLPreviewGesture::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 389 of file llpreviewgesture.cpp.
References addAnimations(), addKeys(), addModifiers(), addSounds(), LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetText(), FALSE, LLInventoryItem::getDescription(), LLPreview::getItem(), mActiveCheck, mAddBtn, mAnimationCombo, mAnimationRadio, mChatEditor, mDeleteBtn, mDownBtn, mKeyCombo, mLibraryList, mModifierCombo, mOptionsText, mPreviewBtn, mReplaceEditor, mReplaceText, mSaveBtn, mSoundCombo, mStepList, mTriggerEditor, mUpBtn, mWaitAnimCheck, mWaitTimeCheck, mWaitTimeEditor, onClickAdd(), onClickDelete(), onClickDown(), onClickPreview(), onClickSave(), onClickUp(), onCommitActive(), onCommitAnimation(), onCommitAnimationTrigger(), onCommitChat(), onCommitLibrary(), onCommitSetDirty(), onCommitSound(), onCommitStep(), onCommitWait(), onCommitWaitTime(), onKeystrokeCommit(), LLPreview::onText(), LLLineEditor::prevalidateFloat(), LLLineEditor::prevalidatePrintableNotPipe(), LLTextBox::setBorderVisible(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLUICtrl::setCommitCallback(), LLLineEditor::setCommitOnFocusLost(), LLScrollListCtrl::setDoubleClickCallback(), LLLineEditor::setEnabled(), LLView::setEnabled(), LLLineEditor::setIgnoreTab(), LLLineEditor::setKeystrokeCallback(), LLLineEditor::setPrevalidate(), LLView::setVisible(), and TRUE.

| BOOL LLPreviewGesture::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 277 of file llpreviewgesture.cpp.
References LLViewerWindow::alertXml(), FALSE, gViewerWindow, handleSaveChangesDialog(), mDirty, LLPreview::mForceClose, and TRUE.

| void LLPreviewGesture::setMinimized | ( | BOOL | minimize | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 308 of file llpreviewgesture.cpp.
References LLFloater::isMinimized(), refresh(), and LLFloater::setMinimized().

| void LLPreviewGesture::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 295 of file llpreviewgesture.cpp.
References gGestureManager, mPreviewGesture, LLFloater::onClose(), and LLGestureManager::stopGesture().

| void LLPreviewGesture::onUpdateSucceeded | ( | ) | [virtual] |
Definition at line 302 of file llpreviewgesture.cpp.
References refresh().
Referenced by LLUpdateAgentInventoryResponder::uploadComplete().


Definition at line 683 of file llpreviewgesture.cpp.
References LLPreview::setItemID(), and LLPreview::setObjectID().

| void LLPreviewGesture::addModifiers | ( | ) | [protected] |
Definition at line 557 of file llpreviewgesture.cpp.
References LLComboBox::add(), ADD_BOTTOM, CTRL_LABEL, mModifierCombo, NONE_LABEL, LLComboBox::setCurrentByIndex(), and SHIFT_LABEL.
Referenced by postBuild().


| void LLPreviewGesture::addKeys | ( | ) | [protected] |
Definition at line 567 of file llpreviewgesture.cpp.
References LLComboBox::add(), ADD_BOTTOM, KEY_F12, KEY_F2, mKeyCombo, NONE_LABEL, LLComboBox::setCurrentByIndex(), and LLKeyboard::stringFromKey().
Referenced by postBuild().


| void LLPreviewGesture::addAnimations | ( | ) | [protected] |
Definition at line 581 of file llpreviewgesture.cpp.
References LLComboBox::add(), ADD_BOTTOM, LLAssetType::AT_ANIMATION, LLInventoryModel::collectDescendentsIf(), LLInventoryModel::EXCLUDE_TRASH, gAgent, LLInventoryItem::getAssetUUID(), LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getInventoryRootID(), LLInventoryObject::getName(), LLAnimStateLabels::getStateLabel(), LLPanel::getString(), gInventory, gUserAnimStates, gUserAnimStatesCount, i, mAnimationCombo, LLAnimStateEntry::mID, LLView::mName, LLUUID::null, PERM_ITEM_UNRESTRICTED, LLComboBox::removeall(), and S32.
Referenced by postBuild(), and refresh().


| void LLPreviewGesture::addSounds | ( | ) | [protected] |
Definition at line 637 of file llpreviewgesture.cpp.
References LLComboBox::add(), ADD_BOTTOM, LLAssetType::AT_SOUND, LLInventoryModel::collectDescendentsIf(), LLInventoryModel::EXCLUDE_TRASH, gAgent, LLInventoryItem::getAssetUUID(), LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getInventoryRootID(), LLInventoryObject::getName(), LLPanel::getString(), gInventory, i, mSoundCombo, LLUUID::null, PERM_ITEM_UNRESTRICTED, LLComboBox::removeall(), and S32.
Referenced by postBuild(), and refresh().


| void LLPreviewGesture::refresh | ( | ) | [protected, virtual] |
Reimplemented from LLPanel.
Definition at line 691 of file llpreviewgesture.cpp.
References addAnimations(), addSounds(), LLPermissions::allowModifyBy(), ANIM_FLAG_STOP, LLPanel::childSetEnabled(), FALSE, gAgent, LLScrollListCtrl::getFirstSelected(), LLScrollListCtrl::getFirstSelectedIndex(), LLAgent::getID(), LLPreview::getItem(), LLScrollListCtrl::getItemCount(), LLInventoryItem::getPermissions(), LLPanel::getString(), LLLineEditor::getText(), LLGestureStep::getType(), LLScrollListItem::getUserdata(), gGestureManager, LLViewerInventoryItem::isComplete(), LLGestureManager::isGestureActive(), llformat(), mActiveCheck, mAddBtn, LLGestureStepAnimation::mAnimAssetID, mAnimationCombo, mAnimationRadio, mChatEditor, LLGestureStepChat::mChatText, mDeleteBtn, mDirty, mDownBtn, LLGestureStepWait::mFlags, LLGestureStepAnimation::mFlags, LLPreview::mItemUUID, mKeyCombo, mLibraryList, mModifierCombo, modifiable, mOptionsText, mPreviewBtn, mPreviewGesture, mReplaceEditor, mReplaceText, mSaveBtn, LLGestureStepSound::mSoundAssetID, mSoundCombo, mStepList, mTriggerEditor, mUpBtn, mWaitAnimCheck, LLGestureStepWait::mWaitSeconds, mWaitTimeCheck, mWaitTimeEditor, NULL, S32, LLCheckBoxCtrl::set(), LLComboBox::setCurrentByID(), LLCheckBoxCtrl::setEnabled(), LLRadioGroup::setEnabled(), LLScrollListCtrl::setEnabled(), LLComboBox::setEnabled(), LLView::setEnabled(), LLLineEditor::setEnabled(), LLRadioGroup::setSelectedIndex(), LLTextBox::setText(), LLLineEditor::setText(), LLView::setVisible(), STEP_ANIMATION, STEP_CHAT, STEP_SOUND, STEP_WAIT, TRUE, WAIT_FLAG_ALL_ANIM, and WAIT_FLAG_TIME.
Referenced by handleDragAndDrop(), loadAsset(), onUpdateSucceeded(), saveIfNeeded(), and setMinimized().


| void LLPreviewGesture::initDefaultGesture | ( | ) | [protected] |
Definition at line 847 of file llpreviewgesture.cpp.
References addStep(), ANIM_AGENT_HELLO, LLScrollListItem::getUserdata(), LLGestureStepAnimation::mAnimAssetID, LLGestureStepAnimation::mAnimName, LLGestureStepChat::mChatText, mDirty, LLGestureStepWait::mFlags, mStepList, LLScrollListCtrl::selectFirstItem(), TRUE, updateLabel(), and WAIT_FLAG_ALL_ANIM.
Referenced by loadAsset().


| void LLPreviewGesture::loadAsset | ( | ) | [protected, virtual] |
Reimplemented from LLPreview.
Definition at line 874 of file llpreviewgesture.cpp.
References LLAssetType::AT_GESTURE, gAssetStorage, LLAssetStorage::getAssetData(), LLInventoryItem::getAssetUUID(), LLPreview::getItem(), initDefaultGesture(), LLUUID::isNull(), LLPreview::mAssetStatus, LLPreview::mItemUUID, onLoadComplete(), LLPreview::PREVIEW_ASSET_LOADING, refresh(), and TRUE.

| void LLPreviewGesture::onLoadComplete | ( | LLVFS * | vfs, | |
| const LLUUID & | asset_uuid, | |||
| LLAssetType::EType | type, | |||
| void * | user_data, | |||
| S32 | status, | |||
| LLExtStat | ext_status | |||
| ) | [static, protected] |
Definition at line 907 of file llpreviewgesture.cpp.
References LLMultiGesture::deserialize(), FALSE, LLPreview::find(), LLDelayedGestureError::gestureFailedToLoad(), LLDelayedGestureError::gestureMissing(), LLSingleton< LLViewerStats >::getInstance(), LLVFile::getSize(), LLViewerStats::incStat(), LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, LL_ERR_FILE_EMPTY, llendl, llwarns, NULL, LLPreview::PREVIEW_ASSET_ERROR, LLPreview::PREVIEW_ASSET_LOADED, LLVFile::read(), LLVFile::READ, S32, and LLViewerStats::ST_DOWNLOAD_FAILED.
Referenced by loadAsset().


| void LLPreviewGesture::loadUIFromGesture | ( | LLMultiGesture * | gesture | ) | [protected] |
Definition at line 978 of file llpreviewgesture.cpp.
References LLScrollListCtrl::addElement(), CTRL_LABEL, LLGestureStep::getLabel(), LLGestureStep::getType(), i, KEY_NONE, MASK_CONTROL, MASK_NONE, MASK_SHIFT, LLMultiGesture::mKey, mKeyCombo, LLMultiGesture::mMask, mModifierCombo, mReplaceEditor, LLMultiGesture::mReplaceText, mStepList, LLMultiGesture::mSteps, LLMultiGesture::mTrigger, mTriggerEditor, NONE_LABEL, NULL, S32, LLComboBox::setCurrentByIndex(), LLComboBox::setSimple(), LLLineEditor::setText(), LLScrollListItem::setUserdata(), SHIFT_LABEL, STEP_ANIMATION, STEP_CHAT, STEP_SOUND, STEP_WAIT, and LLKeyboard::stringFromKey().

| void LLPreviewGesture::saveIfNeeded | ( | ) | [protected] |
Definition at line 1091 of file llpreviewgesture.cpp.
References LLViewerWindow::alertXml(), LLVFile::APPEND, LLAssetType::AT_GESTURE, createGesture(), FALSE, gAgent, gAssetStorage, LLUUID::generate(), LLViewerRegion::getCapability(), LLDataPackerAsciiBuffer::getCurrentSize(), LLPreview::getItem(), LLMultiGesture::getMaxSerialSize(), LLAgent::getRegion(), LLAgent::getSecureSessionID(), LLLineEditor::getText(), gGestureManager, gInventory, gVFS, gViewerWindow, LLGestureManager::isGestureActive(), LLUUID::isNull(), llendl, llwarns, LLTransactionID::makeAssetID(), mDirty, LLPreview::mItemUUID, LLPreview::mObjectUUID, LLInventoryModel::notifyObservers(), NULL, onSaveComplete(), LLHTTPClient::post(), refresh(), LLGestureManager::replaceGesture(), S32, LLMultiGesture::serialize(), LLViewerInventoryItem::setComplete(), LLVFile::setMaxSize(), LLAssetStorage::storeAssetData(), TRUE, and LLVFile::write().
Referenced by handleKeyHere().


| void LLPreviewGesture::onSaveComplete | ( | const LLUUID & | asset_uuid, | |
| void * | user_data, | |||
| S32 | status, | |||
| LLExtStat | ext_status | |||
| ) | [static, protected] |
Definition at line 1218 of file llpreviewgesture.cpp.
References LLViewerWindow::alertXml(), LLFloater::close(), dialog_refresh_all(), FALSE, LLPreview::find(), LLViewerObjectList::findObject(), LLAssetStorage::getErrorString(), LLViewerObject::getInventoryObject(), LLInventoryModel::getItem(), gInventory, gObjectList, gViewerWindow, LLUUID::isNull(), llendl, llwarns, LLPreview::mCloseAfterSave, LLSaveInfo::mDesc, LLSaveInfo::mItemUUID, LLSaveInfo::mObjectUUID, LLSaveInfo::mTransactionID, LLInventoryModel::notifyObservers(), NULL, LLInventoryItem::setAssetUUID(), LLInventoryItem::setDescription(), LLViewerInventoryItem::setTransactionID(), TASK_INVENTORY_ITEM_KEY, and LLInventoryModel::updateItem().
Referenced by saveIfNeeded().


| void LLPreviewGesture::handleSaveChangesDialog | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static, protected] |
Definition at line 324 of file llpreviewgesture.cpp.
References LLAppViewer::abortQuit(), FALSE, gGestureManager, LLAppViewer::instance(), onClickSave(), LLGestureManager::stopGesture(), and TRUE.
Referenced by canClose().


| LLMultiGesture * LLPreviewGesture::createGesture | ( | ) | [protected] |
Definition at line 1286 of file llpreviewgesture.cpp.
References CTRL_LABEL, LLScrollListCtrl::getAllData(), LLComboBox::getCurrentIndex(), LLComboBox::getSimple(), LLLineEditor::getText(), LLGestureStep::getType(), LLScrollListItem::getUserdata(), KEY_NONE, LLKeyboard::keyFromString(), MASK_CONTROL, MASK_NONE, MASK_SHIFT, LLMultiGesture::mKey, mKeyCombo, LLMultiGesture::mMask, mModifierCombo, mReplaceEditor, LLMultiGesture::mReplaceText, mStepList, LLMultiGesture::mSteps, LLMultiGesture::mTrigger, mTriggerEditor, SHIFT_LABEL, STEP_ANIMATION, STEP_CHAT, STEP_SOUND, and STEP_WAIT.
Referenced by saveIfNeeded().


| LLScrollListItem * LLPreviewGesture::addStep | ( | const std::string & | step_name | ) | [protected] |
Definition at line 1609 of file llpreviewgesture.cpp.
References LLScrollListCtrl::addElement(), LLStringBase< char >::compareInsensitive(), LLScrollListCtrl::deselectAllItems(), LLGestureStep::getLabel(), llendl, llerrs, mLibraryList, mStepList, NULL, LLScrollListItem::setSelected(), LLScrollListItem::setUserdata(), and TRUE.
Referenced by handleDragAndDrop(), and initDefaultGesture().


| void LLPreviewGesture::updateLabel | ( | LLScrollListItem * | item | ) | [static, protected] |
Definition at line 1374 of file llpreviewgesture.cpp.
References LLScrollListItem::getColumn(), LLGestureStep::getLabel(), LLScrollListItem::getUserdata(), and LLScrollListText::setText().
Referenced by handleDragAndDrop(), initDefaultGesture(), onCommitAnimation(), onCommitAnimationTrigger(), onCommitChat(), onCommitSound(), and onCommitWait().


| void LLPreviewGesture::onCommitSetDirty | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1385 of file llpreviewgesture.cpp.
References TRUE.
Referenced by onKeystrokeCommit(), and postBuild().

| void LLPreviewGesture::onCommitLibrary | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1393 of file llpreviewgesture.cpp.
Referenced by postBuild().

| void LLPreviewGesture::onCommitStep | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1407 of file llpreviewgesture.cpp.
Referenced by postBuild().

| void LLPreviewGesture::onCommitAnimation | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1420 of file llpreviewgesture.cpp.
References LLGestureStep::getType(), LLScrollListItem::getUserdata(), LLGestureStepAnimation::mAnimAssetID, LLGestureStepAnimation::mAnimName, LLUUID::setNull(), STEP_ANIMATION, TRUE, and updateLabel().
Referenced by postBuild().


| void LLPreviewGesture::onCommitSound | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1485 of file llpreviewgesture.cpp.
References LLGestureStep::getType(), LLScrollListItem::getUserdata(), LLGestureStepSound::mFlags, LLGestureStepSound::mSoundAssetID, LLGestureStepSound::mSoundName, STEP_SOUND, TRUE, and updateLabel().
Referenced by postBuild().


| void LLPreviewGesture::onCommitChat | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1511 of file llpreviewgesture.cpp.
References LLGestureStep::getType(), LLScrollListItem::getUserdata(), LLGestureStepChat::mChatText, LLGestureStepChat::mFlags, STEP_CHAT, TRUE, and updateLabel().
Referenced by postBuild().


| void LLPreviewGesture::onCommitWait | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1533 of file llpreviewgesture.cpp.
References LLGestureStep::getType(), LLScrollListItem::getUserdata(), LLGestureStepWait::mFlags, LLGestureStepWait::mWaitSeconds, STEP_WAIT, TRUE, updateLabel(), LLLocale::USER_LOCALE, WAIT_FLAG_ALL_ANIM, and WAIT_FLAG_TIME.
Referenced by onCommitWaitTime(), and postBuild().


| void LLPreviewGesture::onCommitWaitTime | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1569 of file llpreviewgesture.cpp.
References LLGestureStep::getType(), LLScrollListItem::getUserdata(), onCommitWait(), STEP_WAIT, and TRUE.
Referenced by postBuild().


| void LLPreviewGesture::onCommitAnimationTrigger | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1454 of file llpreviewgesture.cpp.
References ANIM_FLAG_STOP, LLGestureStep::getType(), LLScrollListItem::getUserdata(), LLGestureStepAnimation::mFlags, STEP_ANIMATION, TRUE, and updateLabel().
Referenced by postBuild().


| void LLPreviewGesture::onKeystrokeCommit | ( | LLLineEditor * | caller, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1585 of file llpreviewgesture.cpp.
References onCommitSetDirty().
Referenced by postBuild().


| void LLPreviewGesture::onClickAdd | ( | void * | data | ) | [static, protected] |
Definition at line 1593 of file llpreviewgesture.cpp.
References LLSD::asString(), LLScrollListItem::getColumn(), LLScrollListCell::getValue(), and TRUE.
Referenced by postBuild().


| void LLPreviewGesture::onClickUp | ( | void * | data | ) | [static, protected] |
Definition at line 1651 of file llpreviewgesture.cpp.
Referenced by postBuild().

| void LLPreviewGesture::onClickDown | ( | void * | data | ) | [static, protected] |
Definition at line 1665 of file llpreviewgesture.cpp.
Referenced by postBuild().

| void LLPreviewGesture::onClickDelete | ( | void * | data | ) | [static, protected] |
Definition at line 1682 of file llpreviewgesture.cpp.
References LLScrollListItem::getUserdata(), NULL, S32, and TRUE.
Referenced by postBuild().


| void LLPreviewGesture::onCommitActive | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1702 of file llpreviewgesture.cpp.
References LLGestureManager::activateGesture(), LLGestureManager::deactivateGesture(), LLInventoryModel::getItem(), gGestureManager, gInventory, LLGestureManager::isGestureActive(), LLInventoryModel::notifyObservers(), and LLInventoryModel::updateItem().
Referenced by postBuild().


| void LLPreviewGesture::onClickSave | ( | void * | data | ) | [static, protected] |
Definition at line 1726 of file llpreviewgesture.cpp.
Referenced by handleSaveChangesDialog(), and postBuild().

| void LLPreviewGesture::onClickPreview | ( | void * | data | ) | [static, protected] |
Definition at line 1733 of file llpreviewgesture.cpp.
References gGestureManager, onDonePreview(), LLGestureManager::playGesture(), and LLGestureManager::stopGesture().
Referenced by postBuild().


| void LLPreviewGesture::onDonePreview | ( | LLMultiGesture * | gesture, | |
| void * | data | |||
| ) | [static, protected] |
Definition at line 1765 of file llpreviewgesture.cpp.
References NULL.
Referenced by onClickPreview().

| virtual const char* LLPreviewGesture::getTitleName | ( | ) | const [inline, protected, virtual] |
LLLineEditor* LLPreviewGesture::mTriggerEditor [protected] |
Definition at line 144 of file llpreviewgesture.h.
Referenced by createGesture(), loadUIFromGesture(), postBuild(), and refresh().
LLTextBox* LLPreviewGesture::mReplaceText [protected] |
LLLineEditor* LLPreviewGesture::mReplaceEditor [protected] |
Definition at line 146 of file llpreviewgesture.h.
Referenced by createGesture(), loadUIFromGesture(), postBuild(), and refresh().
LLComboBox* LLPreviewGesture::mModifierCombo [protected] |
Definition at line 147 of file llpreviewgesture.h.
Referenced by addModifiers(), createGesture(), loadUIFromGesture(), postBuild(), and refresh().
LLComboBox* LLPreviewGesture::mKeyCombo [protected] |
Definition at line 148 of file llpreviewgesture.h.
Referenced by addKeys(), createGesture(), loadUIFromGesture(), postBuild(), and refresh().
LLScrollListCtrl* LLPreviewGesture::mLibraryList [protected] |
Definition at line 150 of file llpreviewgesture.h.
Referenced by addStep(), postBuild(), and refresh().
LLButton* LLPreviewGesture::mAddBtn [protected] |
LLButton* LLPreviewGesture::mUpBtn [protected] |
LLButton* LLPreviewGesture::mDownBtn [protected] |
LLButton* LLPreviewGesture::mDeleteBtn [protected] |
LLScrollListCtrl* LLPreviewGesture::mStepList [protected] |
Definition at line 155 of file llpreviewgesture.h.
Referenced by addStep(), createGesture(), initDefaultGesture(), loadUIFromGesture(), postBuild(), refresh(), and ~LLPreviewGesture().
LLTextBox* LLPreviewGesture::mOptionsText [protected] |
LLRadioGroup* LLPreviewGesture::mAnimationRadio [protected] |
LLComboBox* LLPreviewGesture::mAnimationCombo [protected] |
Definition at line 160 of file llpreviewgesture.h.
Referenced by addAnimations(), postBuild(), and refresh().
LLComboBox* LLPreviewGesture::mSoundCombo [protected] |
Definition at line 161 of file llpreviewgesture.h.
Referenced by addSounds(), postBuild(), and refresh().
LLLineEditor* LLPreviewGesture::mChatEditor [protected] |
LLCheckBoxCtrl* LLPreviewGesture::mWaitAnimCheck [protected] |
LLCheckBoxCtrl* LLPreviewGesture::mWaitTimeCheck [protected] |
LLLineEditor* LLPreviewGesture::mWaitTimeEditor [protected] |
LLCheckBoxCtrl* LLPreviewGesture::mActiveCheck [protected] |
LLButton* LLPreviewGesture::mSaveBtn [protected] |
LLButton* LLPreviewGesture::mPreviewBtn [protected] |
LLMultiGesture* LLPreviewGesture::mPreviewGesture [protected] |
BOOL LLPreviewGesture::mDirty [protected] |
Reimplemented from LLPreview.
Definition at line 172 of file llpreviewgesture.h.
Referenced by canClose(), handleDragAndDrop(), initDefaultGesture(), refresh(), and saveIfNeeded().
1.5.5