virtualx-engine/scene/gui/color_rect.h
Juan Linietsky 95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00

22 lines
358 B
C++

#ifndef COLORRECT_H
#define COLORRECT_H
#include "scene/gui/control.h"
class ColorFrame : public Control {
OBJ_TYPE(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