Example #1
0
const LLInventoryItem* LLPreviewNotecard::getDragItem()
{
	LLViewerTextEditor* editor = getChild<LLViewerTextEditor>("Notecard Editor");

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

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