summaryrefslogtreecommitdiff
path: root/scene/2d/canvas_modulate.h
diff options
context:
space:
mode:
authorCarl Olsson <carl.olsson@gmail.com>2015-02-22 07:38:06 +1000
committerCarl Olsson <carl.olsson@gmail.com>2015-02-22 07:38:06 +1000
commit41686d5fdd0d72f167894f976d19b177789f1f63 (patch)
treeb8ebdbd9846f54241d23f99304df29dcc6ac4dcf /scene/2d/canvas_modulate.h
parent402db5bd79bf889fca33b89cb083feb24effc614 (diff)
parent1d7337ba10ad593f0786d3e356cf0b05aa9be2b4 (diff)
Merge branch 'master' of https://github.com/okamstudio/godot into snapping2
Diffstat (limited to 'scene/2d/canvas_modulate.h')
-rw-r--r--scene/2d/canvas_modulate.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/scene/2d/canvas_modulate.h b/scene/2d/canvas_modulate.h
new file mode 100644
index 0000000000..a6894f29c2
--- /dev/null
+++ b/scene/2d/canvas_modulate.h
@@ -0,0 +1,23 @@
+#ifndef CANVASMODULATE_H
+#define CANVASMODULATE_H
+
+#include "scene/2d/node_2d.h"
+
+class CanvasModulate : public Node2D {
+
+ OBJ_TYPE(CanvasModulate,Node2D);
+
+ Color color;
+protected:
+ void _notification(int p_what);
+ static void _bind_methods();
+public:
+
+ void set_color(const Color& p_color);
+ Color get_color() const;
+
+ CanvasModulate();
+ ~CanvasModulate();
+};
+
+#endif // CANVASMODULATE_H