mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-24 01:47:20 +01:00
Register the paint module's ui helper classes.
This commit is contained in:
parent
1cf7b38074
commit
a7afeb93e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user