place functions in cpp

stop cli bitching.....
This commit is contained in:
marauder2k7 2024-03-02 20:14:11 +00:00
parent 457cdd00bb
commit be0689549a
3 changed files with 110 additions and 0 deletions

View file

@ -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;
}

View file

@ -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)
{
}

View file

@ -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