[nostalgia/core/studio] Start tile sheet editor
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "new_tilesheet_wizard.hpp"
|
||||
#include "import_tilesheet_wizard.hpp"
|
||||
#include "tilesheeteditor.hpp"
|
||||
|
||||
#include "plugin.hpp"
|
||||
|
||||
@@ -15,9 +16,6 @@ using namespace nostalgia::studio;
|
||||
|
||||
namespace nostalgia::core {
|
||||
|
||||
Plugin::Plugin() {
|
||||
}
|
||||
|
||||
QVector<studio::WizardMaker> Plugin::newWizards(const Context *ctx) {
|
||||
return {
|
||||
{
|
||||
@@ -45,4 +43,15 @@ QVector<studio::WizardMaker> Plugin::importWizards(const studio::Context *ctx) {
|
||||
};
|
||||
}
|
||||
|
||||
QVector<studio::EditorMaker> Plugin::editors(const studio::Context *ctx) {
|
||||
return {
|
||||
{
|
||||
{"ng"},
|
||||
[ctx](QString path) {
|
||||
return new TileSheetEditor(path, ctx, ctx->tabParent);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user