add ::set_height() for VCATimeAxisView

This commit is contained in:
Paul Davis 2016-06-08 11:02:17 -04:00
parent fcf49de774
commit 26d94f6014
2 changed files with 10 additions and 0 deletions

View file

@ -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 */
}

View file

@ -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: