virtualx-engine/scene/gui/color_rect.h
Juan Linietsky 118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00

22 lines
357 B
C++

#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