diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-19 16:25:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-19 16:25:02 +0100 |
| commit | da3e14a2d734fbc33a37419bf93602a91aea0611 (patch) | |
| tree | 9e8cdce7dfdb70e39f403379c2dc36886d659258 /rotord/src/nodes_drawing.h | |
| parent | 316bf75067db4eb74540b90a7c3d7b90a8642d28 (diff) | |
working on fast start
Diffstat (limited to 'rotord/src/nodes_drawing.h')
| -rw-r--r-- | rotord/src/nodes_drawing.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<string,string> &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<string,string> &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<string,string> &settings):Shape() { base_settings(settings); |
