diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-11 15:35:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-11 15:35:34 +0000 |
commit | 106024330230fca331e2f611fec42ec1f4f43e5a (patch) | |
tree | 56342e0e544be5223d2fa360caaec80ac0fe6fa4 /libs/ardour/ardour/automatable.h | |
parent | 7468fdb9ca9892cec9b298690bf0edf3655d6453 (diff) |
major, substantive reworking of how we store GUI information (visibility, height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions
git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/automatable.h')
-rw-r--r-- | libs/ardour/ardour/automatable.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/ardour/ardour/automatable.h b/libs/ardour/ardour/automatable.h index 69ef7d3ecb..dc86c0cddd 100644 --- a/libs/ardour/ardour/automatable.h +++ b/libs/ardour/ardour/automatable.h @@ -73,10 +73,8 @@ public: void protect_automation (); - void what_has_visible_data(std::set<Evoral::Parameter>&) const; const std::set<Evoral::Parameter>& what_can_be_automated() const { return _can_automate_list; } - - void mark_automation_visible(Evoral::Parameter, bool); + void what_has_existing_automation (std::set<Evoral::Parameter>&) const; inline bool should_snapshot (framepos_t now) { return (_last_automation_snapshot > now @@ -91,8 +89,6 @@ public: return _automation_interval; } - typedef Evoral::ControlSet::Controls Controls; - static const std::string xml_node_name; int set_automation_xml_state (const XMLNode&, Evoral::Parameter default_param); @@ -108,7 +104,6 @@ public: int load_automation (const std::string& path); int old_set_automation_state(const XMLNode&); - std::set<Evoral::Parameter> _visible_controls; std::set<Evoral::Parameter> _can_automate_list; framepos_t _last_automation_snapshot; |