diff options
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); |
