diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-03 02:22:36 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-03 02:22:36 +0000 |
commit | 00617d5494985c6bbaea241c6685e0bef0d5b93e (patch) | |
tree | 60fad46b6c3b90a6ee4d1f20b07c92ef5a41a25c /gtk2_ardour/time_axis_view_item.h | |
parent | 3538c47d255d56e335d731bca5c738a0f79956a1 (diff) |
Fix previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@6267 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.h')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index 21726eb6ce..f2d4fba25b 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -347,7 +347,7 @@ class TimeAxisViewItem : public Selectable TimeAxisViewItem (const TimeAxisViewItem& other); - void init (const std::string& it_name, double spu, Gdk::Color const & base_color, nframes64_t start, nframes64_t duration, Visibility vis, bool); + void init (const std::string& it_name, double spu, Gdk::Color const & base_color, nframes64_t start, nframes64_t duration, Visibility vis, bool, bool); /** * Calculates some contrasting color for displaying various parts of this item, based upon the base color @@ -374,6 +374,7 @@ class TimeAxisViewItem : public Selectable virtual void reset_width_dependent_items (double pixel_width); void reset_name_width (double pixel_width); + void update_name_pixbuf_visibility (); /** * Callback used to remove this item during the gtk idle loop @@ -457,6 +458,7 @@ class TimeAxisViewItem : public Selectable uint32_t last_item_width; int name_pixbuf_width; bool wide_enough_for_name; + bool high_enough_for_name; ArdourCanvas::Group* group; ArdourCanvas::SimpleRect* vestigial_frame; @@ -469,7 +471,6 @@ class TimeAxisViewItem : public Selectable Visibility visibility; bool _recregion; - }; /* class TimeAxisViewItem */ #endif /* __gtk_ardour_time_axis_view_item_h__ */ |