[nostalgia/studio] Add keyboard shortcuts

This commit is contained in:
2022-03-20 02:08:54 -05:00
parent ea318bb6c8
commit d76d525054
3 changed files with 84 additions and 6 deletions
+10
View File
@@ -39,6 +39,8 @@ class StudioUI: public ox::SignalHandler {
void update() noexcept;
void handleKeyEvent(core::Key, bool down) noexcept;
constexpr auto project() noexcept {
return m_project.get();
}
@@ -63,6 +65,14 @@ class StudioUI: public ox::SignalHandler {
void loadModules() noexcept;
void toggleProjectExplorer() noexcept;
void redo() noexcept;
void undo() noexcept;
void save() noexcept;
ox::Error openProject(const ox::String &path) noexcept;
ox::Error openFile(const ox::String &path) noexcept;