summaryrefslogtreecommitdiff
path: root/gtk2_ardour/axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-07-07 00:37:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-07-07 00:37:13 +0000
commit10cb0a7646ae7da18e5e6f49b940a5e921a73b57 (patch)
tree9d23f3e2e5d961aa2520f51ebcf5ed9b64cf7c5c /gtk2_ardour/axis_view.h
parentd5bb72975523a35e65d94605de2abff01c3e6ce7 (diff)
introduce GUIObjectState; massive, pervasive changes in visibility and height management for track displays in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/axis_view.h')
-rw-r--r--gtk2_ardour/axis_view.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h
index e3e90325d3..d24cd62a73 100644
--- a/gtk2_ardour/axis_view.h
+++ b/gtk2_ardour/axis_view.h
@@ -55,16 +55,21 @@ class AxisView : public virtual Selectable, public PBD::ScopedConnectionList, pu
virtual std::string name() const = 0;
- virtual bool marked_for_display() const { return _marked_for_display; }
- virtual void set_marked_for_display (bool yn) {
- _marked_for_display = yn;
- }
-
sigc::signal<void> Hiding;
-
+
void set_old_order_key (uint32_t ok) { _old_order_key = ok; }
uint32_t old_order_key() const { return _old_order_key; }
+ virtual std::string state_id() const = 0;
+ std::string gui_property (const std::string& property_name) const;
+
+ void set_gui_property (const std::string& property_name, const std::string& value);
+ void set_gui_property (const std::string& property_name, int value);
+ void set_gui_property (const std::string& property_name, double value);
+
+ bool marked_for_display () const;
+ virtual bool set_marked_for_display (bool);
+
protected:
AxisView (ARDOUR::Session* sess);