pandemonium_engine/modules/paint/nodes/paint_project.h

33 lines
577 B
C++
Raw Normal View History

2022-11-15 13:17:37 +01:00
#ifndef PAINT_PROJECT_H
#define PAINT_PROJECT_H
#include "core/containers/pool_vector.h"
2022-11-15 13:17:37 +01:00
#include "paint_node.h"
class PaintProject : public PaintNode {
GDCLASS(PaintProject, PaintNode);
public:
Color get_current_color();
void set_current_color(const Color &color);
PoolColorArray get_color_presets();
void set_color_presets(const PoolColorArray &colors);
void set_colors_as_default();
2022-11-15 13:17:37 +01:00
PaintProject();
~PaintProject();
protected:
void _notification(int p_what);
2022-11-15 13:17:37 +01:00
static void _bind_methods();
Color _current_color;
PoolColorArray _color_presets;
2022-11-15 13:17:37 +01:00
};
#endif