ソースを参照

place functions in cpp

stop cli bitching.....
marauder2k7 1 年間 前
コミット
be0689549a

+ 65 - 0
Engine/source/gui/shaderEditor/guiShaderEditor.cpp

@@ -38,3 +38,68 @@ ConsoleDocClass(GuiShaderEditor,
    "Editor use only.\n\n"
    "@internal"
 );
+
+GuiShaderEditor::GuiShaderEditor()
+{
+}
+
+bool GuiShaderEditor::onWake()
+{
+   return false;
+}
+
+void GuiShaderEditor::onSleep()
+{
+}
+
+void GuiShaderEditor::initPersistFields()
+{
+}
+
+bool GuiShaderEditor::onAdd()
+{
+   return false;
+}
+
+void GuiShaderEditor::onRemove()
+{
+}
+
+void GuiShaderEditor::onPreRender()
+{
+}
+
+void GuiShaderEditor::onRender(Point2I offset, const RectI& updateRect)
+{
+}
+
+bool GuiShaderEditor::onKeyDown(const GuiEvent& event)
+{
+   return false;
+}
+
+void GuiShaderEditor::onMouseDown(const GuiEvent& event)
+{
+}
+
+void GuiShaderEditor::onMouseUp(const GuiEvent& event)
+{
+}
+
+void GuiShaderEditor::onMouseMove(const GuiEvent& event)
+{
+}
+
+void GuiShaderEditor::onMiddleMouseDown(const GuiEvent& event)
+{
+}
+
+bool GuiShaderEditor::onMouseWheelUp(const GuiEvent& event)
+{
+   return false;
+}
+
+bool GuiShaderEditor::onMouseWheelDown(const GuiEvent& event)
+{
+   return false;
+}

+ 41 - 0
Engine/source/gui/shaderEditor/nodes/shaderNode.cpp

@@ -24,4 +24,45 @@
 
 #include "gui/shaderEditor/nodes/shaderNode.h"
 
+IMPLEMENT_CONOBJECT(ShaderNode);
 
+ConsoleDocClass(ShaderNode,
+   "@brief Base class for all nodes to derive from.\n\n"
+   "Editor use only.\n\n"
+   "@internal"
+);
+
+
+ShaderNode::ShaderNode()
+{
+}
+
+bool ShaderNode::onWake()
+{
+   return false;
+}
+
+void ShaderNode::onSleep()
+{
+}
+
+void ShaderNode::initPersistFields()
+{
+}
+
+bool ShaderNode::onAdd()
+{
+   return false;
+}
+
+void ShaderNode::onRemove()
+{
+}
+
+void ShaderNode::write(Stream& stream, U32 tabStop, U32 flags)
+{
+}
+
+void ShaderNode::read(Stream& stream)
+{
+}

+ 4 - 0
Engine/source/gui/shaderEditor/nodes/shaderNode.h

@@ -23,6 +23,10 @@
 #ifndef _SHADERNODE_H_
 #define _SHADERNODE_H_
 
+#ifndef _GUICONTROL_H_
+#include "gui/core/guiControl.h"
+#endif
+
 #ifndef _SIMBASE_H_
 #include "console/simBase.h"
 #endif