Пример #1
0
const LLInventoryItem* LLPreviewNotecard::getDragItem()
{
	LLViewerTextEditor* editor = getChild<LLViewerTextEditor>("Notecard Editor");

	if(editor)
	{
		return editor->getDragItem();
	}
	return NULL;
}
Пример #2
0
const LLInventoryItem* LLPreviewNotecard::getDragItem()
{
    LLViewerTextEditor* editor = LLViewerUICtrlFactory::getViewerTextEditorByName(this, "Notecard Editor");

    if(editor)
    {
        return editor->getDragItem();
    }
    return NULL;
}