示例#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;
}