for (n = 0, position = 0, i = rows.begin(); i != rows.end(); ++i) {
TimeAxisView *tv = (*i)[_columns.tv];
- boost::shared_ptr<Stripable> route = (*i)[_columns.stripable];
if (tv == 0) {
// just a "title" row
if (what_changed.contains (ARDOUR::Properties::hidden)) {
(*i)[_columns.visible] = !stripable->presentation_info().hidden();
+ cerr << stripable->name() << " visibility changed, redisplay\n";
redisplay ();
+
}
break;
set_gui_property ("height", h);
_vca->gui_changed ("track_height", (void*) 0); /* EMIT SIGNAL */
}
+
+bool
+VCATimeAxisView::marked_for_display () const
+{
+ return !_vca->presentation_info().hidden();
+}
+
+bool
+VCATimeAxisView::set_marked_for_display (bool yn)
+{
+ if (yn == _vca->presentation_info().hidden()) {
+ _vca->presentation_info().set_hidden (!yn);
+ return true; // things changed
+ }
+ return false;
+}
void set_height (uint32_t h, TrackHeightMode m = OnlySelf);
bool selectable() const { return false; }
+ bool marked_for_display () const;
+ bool set_marked_for_display (bool);
protected:
boost::shared_ptr<ARDOUR::VCA> _vca;