Files
godot/scene/gui/color_rect.h
Juan Linietsky da477b76a9 some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00

23 lines
354 B
C++

#ifndef COLORRECT_H
#define COLORRECT_H
#include "scene/gui/control.h"
class ColorRect : public Control {
GDCLASS(ColorRect,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;
ColorRect();
};
#endif // COLORRECT_H