[nostalgia,studio] Add ability to navigate from tile sheet to palette color
All checks were successful
Build / build (push) Successful in 1m52s
All checks were successful
Build / build (push) Successful in 1m52s
This commit is contained in:
@@ -27,4 +27,6 @@ inline keel::Context &keelCtx(StudioContext &ctx) noexcept {
|
||||
return keelCtx(ctx.tctx);
|
||||
}
|
||||
|
||||
ox::Error navigateTo(StudioContext &ctx, ox::StringViewCR filePath, ox::StringViewCR args) noexcept;
|
||||
|
||||
}
|
||||
|
||||
@@ -99,6 +99,8 @@ class BaseEditor: public Widget {
|
||||
[[nodiscard]]
|
||||
virtual UndoStack *undoStack() noexcept;
|
||||
|
||||
virtual void navigateTo(ox::StringViewCR arg) noexcept;
|
||||
|
||||
void setRequiresConstantRefresh(bool value) noexcept;
|
||||
|
||||
// signals
|
||||
|
||||
@@ -106,6 +106,8 @@ UndoStack *BaseEditor::undoStack() noexcept {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void BaseEditor::navigateTo(ox::StringViewCR) noexcept {}
|
||||
|
||||
|
||||
Editor::Editor(StudioContext &ctx, ox::StringParam itemPath) noexcept:
|
||||
m_itemPath(std::move(itemPath)),
|
||||
|
||||
Reference in New Issue
Block a user