From 2124952b855e093d6253bfd763cd9ebfe69e9def Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 26 Mar 2007 05:27:56 +0000 Subject: Deleting selected states with delete key. Fixed loading all states as initial. git-svn-id: http://svn.drobilla.net/lad/machina@378 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/machina/Node.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/engine/machina') diff --git a/src/engine/machina/Node.hpp b/src/engine/machina/Node.hpp index 5181149..b4c72e2 100644 --- a/src/engine/machina/Node.hpp +++ b/src/engine/machina/Node.hpp @@ -66,6 +66,8 @@ public: bool is_initial() const { return _is_initial; } void set_initial(bool i) { _is_initial = i; } + bool is_selector() const { return _is_selector; } + void set_selector(bool i) { _is_selector = i; } bool is_active() const { return _is_active; } BeatTime enter_time() const { assert(_is_active); return _enter_time; } BeatTime exit_time() const { assert(_is_active); return _enter_time + _duration; } @@ -77,6 +79,7 @@ public: private: bool _is_initial; + bool _is_selector; bool _is_active; BeatTime _enter_time; ///< valid iff _is_active BeatCount _duration; -- cgit v1.2.1