16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 18:39:18 +02:00

build 200709. milek7/sim branch scenery editor node bank code import

This commit is contained in:
tmj-fstate
2020-07-10 16:18:12 +02:00
parent e9c21b369f
commit c4bcb94d79
13 changed files with 342 additions and 8 deletions

View File

@@ -29,9 +29,16 @@ public:
update() override;
void
set_node( scene::basic_node * Node );
void
add_node_template(const std::string &desc);
const std::string *
get_active_node_template();
nodebank_panel::edit_mode
mode();
private:
// members
itemproperties_panel m_itempropertiespanel { "Node Properties", true };
nodebank_panel m_nodebankpanel{ "Node Bank", true };
scene::basic_node * m_node { nullptr }; // currently bound scene node, if any
};