1 #ifndef LWPP_NODEEDITOR_H
2 #define LWPP_NODEEDITOR_H
4 #include <lwnodeeditor.h>
15 virtual LWError
init( NodeEditorID,
int );
16 virtual LWError
newTime( NodeEditorID, LWFrame, LWTime );
17 virtual void cleanup( NodeEditorID );
18 virtual LWXPanelID
rootPanel( NodeEditorID );
33 NodeInputID
id =
globPtr->addInput(
mId, type, name.c_str(), inp_event);
44 NodeEditor(
const std::string rootName,
const std::string panelTitle,
RootNode* rn, NodePreviewType previewType = NPT_RENDER,
bool destroy =
true)
48 create(rootName, panelTitle, rn, previewType);
55 bool create(
const std::string rootName,
const std::string panelTitle,
RootNode* rn, NodePreviewType previewType = NPT_RENDER);
71 void rename(
const std::string newName)
79 LWError
copy( NodeEditorID from)
96 LWError
init(
int renderMode )
120 template <
typename T>
123 return static_cast<T *
>(
globPtr->getUserData(
mId));
131 return globPtr->getInputByName(
mId, name.c_str());
161 #endif // LWPP_NODEEDITOR_H