diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-19 14:45:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-19 14:45:34 +0000 |
commit | 36d88c8e494c1997c05d122fa03c00d0e8b6e401 (patch) | |
tree | 65d3b141f6479ab5130a12cbbbbf44979802fd75 /gtk2_ardour/time_axis_view_item.h | |
parent | 84bbdb9a1dda53406c27336fbd7d68988d0b971b (diff) |
make rec-regions insensitive to events; fix up diskrate dialog text
git-svn-id: svn://localhost/ardour2/trunk@1626 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index d41ad5a327..e0331a2de2 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -176,6 +176,9 @@ class TimeAxisViewItem : public Selectable * @param yn true if this item should show its selected status */ virtual void set_should_show_selection (bool yn) ; + + void set_sensitive (bool yn) { _sensitive = yn; } + bool sensitive () const { return _sensitive; } //---------------------------------------------------------------------------------------// // Parent Component Methods @@ -412,6 +415,9 @@ class TimeAxisViewItem : public Selectable /** should the item show its selected status */ bool should_show_selection; + + /** should the item respond to events */ + bool _sensitive; /** * The unique item name of this Item |