Vuo  2.4.0
VuoComment.hh
Go to the documentation of this file.
1
10#pragma once
11
12#include "VuoBase.hh"
13#include "VuoNode.hh"
14
17
24class VuoComment : public VuoBase<VuoCompilerComment,VuoRendererComment>
25{
26public:
27 VuoComment(string content="", int x=0, int y=0, int width=240, int height=120, VuoNode::TintColor tintColor=VuoNode::TintNone);
28
29 static const string commentTypeName;
30
31 string getContent(void);
32 void setContent(string content);
33 int getX(void);
34 void setX(int x);
35 int getY(void);
36 void setY(int y);
37
38 int getWidth(void);
39 void setWidth(int width);
40 int getHeight(void);
41 void setHeight(int height);
42
44 string getTintColorGraphvizName(void);
45 void setTintColor(enum VuoNode::TintColor tintColor);
46
47private:
48 string content;
49 int x, y;
50 int width, height;
51 VuoNode::TintColor tintColor;
52};