Added undo-redo to locking of sources.

This commit is contained in:
brunoherbelin
2021-03-18 21:56:06 +01:00
parent ac5e885fb3
commit 09f052a5d6
7 changed files with 31 additions and 12 deletions

3
View.h
View File

@@ -80,7 +80,7 @@ public:
return Cursor ();
}
// test mouse over provided a point in screen coordinates
//TODO: test mouse over provided a point in screen coordinates
virtual Cursor over (glm::vec2) {
return Cursor ();
}
@@ -120,6 +120,7 @@ protected:
} ContextMenu;
ContextMenu show_context_menu_;
inline void openContextMenu (ContextMenu m) { show_context_menu_ = m; }
void lock(Source *s, bool on);
};