mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
add ::set_height() for VCATimeAxisView
This commit is contained in:
parent
fcf49de774
commit
26d94f6014
2 changed files with 10 additions and 0 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue