From da3e14a2d734fbc33a37419bf93602a91aea0611 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 19 Sep 2013 16:25:02 +0100 Subject: working on fast start --- rotord/src/nodes_drawing.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src/nodes_drawing.h') diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h index 34a2679..2e76441 100644 --- a/rotord/src/nodes_drawing.h +++ b/rotord/src/nodes_drawing.h @@ -9,7 +9,6 @@ namespace Rotor { public: Draw_node(){ create_image_input("image input","Image input"); - create_attribute("colour","Colour to fill","Colour","FFFFFF"); //no title or description as it isn't intended for the user }; Draw_node(map &settings):Draw_node() { @@ -51,6 +50,7 @@ namespace Rotor { title="Text"; description="Draws text"; create_attribute("text","Text to draw","Text","hello, world!"); + create_attribute("colour","Colour to fill","Colour","FFFFFF"); create_parameter("number","number","Number to draw","Number",-99999999.0f); }; Text(map &settings):Text() { @@ -90,6 +90,7 @@ namespace Rotor { create_parameter("scale","number","Scale","Scale",1.0f); create_parameter("rotation","number","Rotation","Rotation",0.0f); create_attribute("shape","Shape to draw","Shape","square",{"circle","square","triangle"}); + create_attribute("colour","Colour to fill","Colour","FFFFFF"); }; Shape(map &settings):Shape() { base_settings(settings); -- cgit v1.2.3