From 5eb823abb8ba91dbab098d7195094d0f76e4f332 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 21 Nov 2013 12:36:36 +0000 Subject: UI text node outline --- rotord/src/rotor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 0833096..3874df6 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -280,7 +280,7 @@ namespace Rotor { }; class Node{ public: - Node(){duplicate_inputs=false;}; + Node(){duplicate_inputs=false;UItype="";}; virtual Node* clone(map &_settings)=0; //pure virtual virtual ~Node(){ for (auto a: attributes) delete a.second; @@ -320,6 +320,7 @@ namespace Rotor { string ID; string NODEID; string title; + string UItype; bool duplicate_inputs; string find_setting(map &settings,string key,string def=""){ if (settings.find(key)!=settings.end()) return settings[key]; else return def;}; float find_setting(map &settings,string key,float def){ if (settings.find(key)!=settings.end()) return toFloat(settings[key]); else return def;}; -- cgit v1.2.3