mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
23 lines
358 B
C++
23 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
|