diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-08 11:02:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-08 11:03:13 -0400 |
commit | 26d94f601498434af6e9d0e0fa3656b857875747 (patch) | |
tree | 473a7726fa49f1cc3c3a31e4142027d5d578a380 /gtk2_ardour | |
parent | fcf49de77401930db34ca4dfb1fff6bea0a7a987 (diff) |
add ::set_height() for VCATimeAxisView
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/vca_time_axis.cc | 8 | ||||
-rw-r--r-- | gtk2_ardour/vca_time_axis.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/vca_time_axis.cc b/gtk2_ardour/vca_time_axis.cc index 64b5657ff8..3bbb4a5f4c 100644 --- a/gtk2_ardour/vca_time_axis.cc +++ b/gtk2_ardour/vca_time_axis.cc @@ -296,3 +296,11 @@ VCATimeAxisView::color () const { return gdk_color_from_rgb (_vca->presentation_info().color ()); } + +void +VCATimeAxisView::set_height (uint32_t h, TrackHeightMode m) +{ + TimeAxisView::set_height (h, m); + set_gui_property ("height", h); + _vca->gui_changed ("track_height", (void*) 0); /* EMIT SIGNAL */ +} diff --git a/gtk2_ardour/vca_time_axis.h b/gtk2_ardour/vca_time_axis.h index e14c2fe3fe..2ee23bca44 100644 --- a/gtk2_ardour/vca_time_axis.h +++ b/gtk2_ardour/vca_time_axis.h @@ -49,6 +49,8 @@ class VCATimeAxisView : public TimeAxisView Gdk::Color color () const; std::string state_id() const; + void set_height (uint32_t h, TrackHeightMode m = OnlySelf); + bool selectable() const { return false; } protected: |