summaryrefslogtreecommitdiff
path: root/scene/2d/canvas_modulate.h
blob: 73f920d5c7d630701185f75cea2175f6cea91b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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;

	String CanvasModulate::get_configuration_warning() const;

	CanvasModulate();
	~CanvasModulate();
};

#endif // CANVASMODULATE_H