aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/color_rect.h
blob: f313bbc4f987341561d2bf7dd0949e9203848b41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef COLORRECT_H
#define COLORRECT_H

#include "scene/gui/control.h"

class ColorFrame : public Control  {
	GDCLASS(ColorFrame,Control)

	Color color;
protected:

	void _notification(int p_what);
	static void _bind_methods();
public:

	void set_frame_color(const Color& p_color);
	Color get_frame_color() const;

	ColorFrame();
};

#endif // COLORRECT_H