refactor layout.h into single file per Node* classes

This commit is contained in:
2017-05-13 21:58:04 +01:00
parent 51e355d039
commit 1f6c688258
55 changed files with 3600 additions and 2675 deletions

14
engine/node_text_input.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include "node_border.h"
#include "node_text.h"
class NodeTextInput : public NodeBorder
{
public:
NodeText* m_text;
std::string m_string;
virtual Node* clone_instantiate() const override;
virtual void init() override;
void init_controls();
virtual kEventResult handle_event(Event* e) override;
};