[nostalgia/studio] Get save working
This commit is contained in:
@@ -119,6 +119,8 @@ class TileSheetEditorModel {
|
||||
studio::UndoStack m_undoStack;
|
||||
DrawCommand *m_ongoingDrawCommand = nullptr;
|
||||
bool m_updated = false;
|
||||
Context *m_ctx = nullptr;
|
||||
ox::String m_path;
|
||||
|
||||
public:
|
||||
TileSheetEditorModel(Context *ctx, const ox::String &path);
|
||||
@@ -149,6 +151,8 @@ class TileSheetEditorModel {
|
||||
|
||||
void ackUpdate() noexcept;
|
||||
|
||||
ox::Error saveFile() noexcept;
|
||||
|
||||
constexpr studio::UndoStack *undoStack() noexcept {
|
||||
return &m_undoStack;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user