diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-05-29 15:16:00 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-05-29 15:24:40 -0600 |
commit | 8463fb728f5215870c67e26a45996f6fc5179571 (patch) | |
tree | 4c0cfa45bd301356ae06bf010387a5d4b36eceee /gtk2_ardour/time_axis_view_item.h | |
parent | b1587940e46d220a696d6cf11b9b0efd3b144b85 (diff) |
add option to show/hide region names
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.h')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index e7322037cc..d6bedf8b1c 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -152,6 +152,8 @@ public: FullWidthNameHighlight = 0x80 }; + virtual void update_visibility () {} + protected: TimeAxisViewItem (const std::string &, ArdourCanvas::Item&, TimeAxisView&, double, uint32_t fill_color, samplepos_t, samplecnt_t, bool recording = false, bool automation = false, Visibility v = Visibility (0)); @@ -237,10 +239,11 @@ protected: bool _dragging; double _width; + void manage_name_text (); + private: void parameter_changed (std::string); void manage_name_highlight (); - void manage_name_text (); }; /* class TimeAxisViewItem */ |