[nostalgia/studio] Add export option to tilesheet editor
This commit is contained in:
@@ -43,7 +43,7 @@ class TileSheetEditorImGui: public studio::BaseEditor {
|
||||
};
|
||||
std::size_t m_selectedPaletteIdx = 0;
|
||||
Context *m_ctx = nullptr;
|
||||
ox::Vector<ox::String> m_paletteList;
|
||||
ox::Vector<ox::String> m_paletteList{};
|
||||
SubSheetEditor m_subsheetEditor;
|
||||
ox::String m_itemPath;
|
||||
ox::String m_itemName;
|
||||
@@ -87,6 +87,8 @@ class TileSheetEditorImGui: public studio::BaseEditor {
|
||||
private:
|
||||
void showSubsheetEditor() noexcept;
|
||||
|
||||
void exportSubhseetToPng() noexcept;
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr auto model() const noexcept {
|
||||
return m_tileSheetEditor.model();
|
||||
|
||||
Reference in New Issue
Block a user