[nostalgia/studio] Add keyboard shortcuts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user