First working implementation of ActionManager, but incomplete.

This commit is contained in:
brunoherbelin
2020-10-04 22:52:23 +02:00
parent 5421b5e926
commit 616c6c8bdf
12 changed files with 353 additions and 79 deletions

4
View.h
View File

@@ -63,7 +63,7 @@ public:
// grab a source provided a start and an end point in screen coordinates and the picking point
virtual void initiate();
virtual void terminate() {}
virtual void terminate();
virtual Cursor grab (Source*, glm::vec2, glm::vec2, std::pair<Node *, glm::vec2>) {
return Cursor();
}
@@ -84,6 +84,8 @@ protected:
virtual void restoreSettings();
virtual void saveSettings();
std::string current_action_;
int current_id_;
Mode mode_;
};