2017-02-02 20:22:03 +00:00
|
|
|
#ifndef COLORRECT_H
|
|
|
|
#define COLORRECT_H
|
|
|
|
|
|
|
|
#include "scene/gui/control.h"
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
class ColorFrame : public Control {
|
|
|
|
OBJ_TYPE(ColorFrame, Control)
|
2017-02-02 20:22:03 +00:00
|
|
|
|
|
|
|
Color color;
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
protected:
|
2017-02-02 20:22:03 +00:00
|
|
|
void _notification(int p_what);
|
|
|
|
static void _bind_methods();
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
public:
|
|
|
|
void set_frame_color(const Color &p_color);
|
2017-02-02 20:22:03 +00:00
|
|
|
Color get_frame_color() const;
|
|
|
|
|
|
|
|
ColorFrame();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COLORRECT_H
|