Definition at line 137 of file llviewertexteditor.cpp.
typedef std::map<llwchar, embedded_info_t > LLEmbeddedItems::item_map_t [private] |
Definition at line 175 of file llviewertexteditor.cpp.
LLEmbeddedItems::LLEmbeddedItems | ( | const LLViewerTextEditor * | editor | ) |
Definition at line 188 of file llviewertexteditor.cpp.
LLEmbeddedItems::~LLEmbeddedItems | ( | ) |
void LLEmbeddedItems::addItems | ( | const std::vector< LLPointer< LLInventoryItem > > & | items | ) |
Definition at line 450 of file llviewertexteditor.cpp.
References insertEmbeddedItem(), and mEmbeddedIndexedChars.
Referenced by LLViewerTextEditor::importStream().
Definition at line 367 of file llviewertexteditor.cpp.
References LLAssetType::AT_ANIMATION, LLAssetType::AT_BODYPART, LLAssetType::AT_CLOTHING, LLAssetType::AT_GESTURE, LLAssetType::AT_LANDMARK, LLAssetType::AT_LSL_TEXT, LLAssetType::AT_NOTECARD, LLAssetType::AT_OBJECT, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, LLInventoryItem::getFlags(), LLViewerImageList::getImage(), LLInventoryItem::getInventoryType(), LLInventoryObject::getName(), LLControlGroup::getString(), LLInventoryObject::getType(), gImageList, gViewerArt, LLInventoryItem::II_FLAGS_LANDMARK_VISITED, LLInventoryItem::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS, LLInventoryType::IT_SNAPSHOT, llassert, mEmbeddedUsedChars, MIPMAP_FALSE, sEntries, and TRUE.
Referenced by LLViewerTextEditor::bindEmbeddedChars().
void LLEmbeddedItems::clear | ( | ) |
Definition at line 198 of file llviewertexteditor.cpp.
References mEmbeddedIndexedChars, mEmbeddedUsedChars, and removeEmbeddedItem().
Referenced by LLViewerTextEditor::importStream(), and ~LLEmbeddedItems().
void LLEmbeddedItems::copyUsedCharsToIndexed | ( | ) |
Definition at line 322 of file llviewertexteditor.cpp.
References mEmbeddedIndexedChars, mEmbeddedUsedChars, and removeUnusedChars().
Referenced by LLViewerTextEditor::getEmbeddedText().
bool LLEmbeddedItems::empty | ( | ) |
Definition at line 211 of file llviewertexteditor.cpp.
References mEmbeddedUsedChars, and removeUnusedChars().
Referenced by LLViewerTextEditor::hasEmbeddedInventory().
Definition at line 292 of file llviewertexteditor.cpp.
References LL_UNKNOWN_CHAR, llendl, llwarns, mEmbeddedIndexedChars, and S32.
Referenced by LLViewerTextEditor::setASCIIEmbeddedText(), and LLViewerTextEditor::setEmbeddedText().
LLInventoryItem * LLEmbeddedItems::getEmbeddedItem | ( | llwchar | ext_char | ) | [static] |
Definition at line 265 of file llviewertexteditor.cpp.
References FIRST_EMBEDDED_CHAR, LAST_EMBEDDED_CHAR, NULL, and sEntries.
Referenced by getEmbeddedItemList(), LLViewerTextEditor::getEmbeddedItemToolTipAtPos(), LLViewerTextEditor::handleMouseDown(), LLViewerTextEditor::openEmbeddedItemAtPos(), and LLViewerTextEditor::pasteEmbeddedItem().
void LLEmbeddedItems::getEmbeddedItemList | ( | std::vector< LLPointer< LLInventoryItem > > & | items | ) |
Definition at line 468 of file llviewertexteditor.cpp.
References getEmbeddedItem(), and mEmbeddedUsedChars.
Referenced by LLViewerTextEditor::exportBuffer().
Definition at line 279 of file llviewertexteditor.cpp.
References FALSE, FIRST_EMBEDDED_CHAR, LAST_EMBEDDED_CHAR, and sEntries.
Referenced by LLViewerTextEditor::handleMouseDown(), and LLViewerTextEditor::openEmbeddedItemAtPos().
Definition at line 336 of file llviewertexteditor.cpp.
References llendl, llwarns, mEmbeddedIndexedChars, and S32.
Referenced by LLViewerTextEditor::getEmbeddedText().
Definition at line 357 of file llviewertexteditor.cpp.
References FALSE, mEmbeddedUsedChars, and TRUE.
Referenced by LLViewerTextEditor::pasteEmbeddedItem().
BOOL LLEmbeddedItems::insertEmbeddedItem | ( | LLInventoryItem * | item, | |
llwchar * | value, | |||
bool | is_new | |||
) |
Definition at line 218 of file llviewertexteditor.cpp.
References FALSE, FIRST_EMBEDDED_CHAR, LAST_EMBEDDED_CHAR, mEmbeddedUsedChars, sEntries, sFreeEntries, and TRUE.
Referenced by addItems(), LLTextCmdInsertEmbeddedItem::execute(), and LLViewerTextEditor::pasteEmbeddedItem().
void LLEmbeddedItems::markSaved | ( | ) |
Definition at line 481 of file llviewertexteditor.cpp.
References mEmbeddedUsedChars, sEntries, and TRUE.
Referenced by LLViewerTextEditor::makePristine().
Definition at line 251 of file llviewertexteditor.cpp.
References FALSE, mEmbeddedUsedChars, sEntries, sFreeEntries, and TRUE.
Referenced by clear(), and removeUnusedChars().
void LLEmbeddedItems::removeUnusedChars | ( | ) |
Definition at line 302 of file llviewertexteditor.cpp.
References FIRST_EMBEDDED_CHAR, LLTextEditor::getWText(), i, LAST_EMBEDDED_CHAR, mEditor, mEmbeddedUsedChars, removeEmbeddedItem(), and S32.
Referenced by copyUsedCharsToIndexed(), empty(), and LLTextCmdInsertEmbeddedItem::execute().
Definition at line 437 of file llviewertexteditor.cpp.
References mEmbeddedUsedChars, and sEntries.
Referenced by LLViewerTextEditor::unbindEmbeddedChars().
const LLViewerTextEditor* LLEmbeddedItems::mEditor [private] |
std::vector<llwchar> LLEmbeddedItems::mEmbeddedIndexedChars [private] |
Definition at line 180 of file llviewertexteditor.cpp.
Referenced by addItems(), clear(), copyUsedCharsToIndexed(), getEmbeddedCharFromIndex(), and getIndexFromEmbeddedChar().
std::set<llwchar> LLEmbeddedItems::mEmbeddedUsedChars [private] |
Definition at line 179 of file llviewertexteditor.cpp.
Referenced by bindEmbeddedChars(), clear(), copyUsedCharsToIndexed(), empty(), getEmbeddedItemList(), hasEmbeddedItem(), insertEmbeddedItem(), markSaved(), removeEmbeddedItem(), removeUnusedChars(), and unbindEmbeddedChars().
LLEmbeddedItems::item_map_t LLEmbeddedItems::sEntries [static, private] |
Definition at line 176 of file llviewertexteditor.cpp.
Referenced by bindEmbeddedChars(), getEmbeddedItem(), getEmbeddedItemSaved(), insertEmbeddedItem(), markSaved(), removeEmbeddedItem(), and unbindEmbeddedChars().
std::stack< llwchar > LLEmbeddedItems::sFreeEntries [static, private] |
Definition at line 177 of file llviewertexteditor.cpp.
Referenced by insertEmbeddedItem(), and removeEmbeddedItem().