Register the paint module's ui helper classes.

This commit is contained in:
Relintai 2022-11-14 18:27:21 +01:00
parent 1cf7b38074
commit a7afeb93e3

View File

@ -38,6 +38,12 @@ SOFTWARE.
#include "deprecated/paint_window.h"
#include "ui/paint_canvas_background.h"
#include "ui/paint_canvas_outline.h"
#include "ui/paint_color_grid.h"
#include "ui/paint_selection_box.h"
#include "ui/paint_visual_grid.h"
#ifdef TOOLS_ENABLED
#include "paint_editor_plugin.h"
#endif
@ -59,6 +65,12 @@ void register_paint_types() {
ClassDB::register_class<RainbowAction>();
ClassDB::register_class<RectAction>();
//ClassDB::register_class<PaintCanvasBackground>();
ClassDB::register_class<PaintCanvasOutline>();
ClassDB::register_class<PaintColorGrid>();
ClassDB::register_class<PaintSelectionBox>();
ClassDB::register_class<PaintVisualGrid>();
#ifdef TOOLS_ENABLED
EditorPlugins::add_by_type<PaintEditorPlugin>();
#endif