diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-24 01:04:53 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-24 01:04:53 +0000 |
commit | e131fd391ded68c2a0634f26edb03410b5f46349 (patch) | |
tree | 270931b286ea06a0a9f3d486f333409046bcc940 /gtk2_ardour/region_view.h | |
parent | d40e61c91490896663d264995fb042d9698441f7 (diff) |
Put MIDI notes into their own canvas group, and reparent this group during start trims to stop the notes moving. Improves the visual display on start trim of a MIDI region.
git-svn-id: svn://localhost/ardour2/branches/3.0@8080 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r-- | gtk2_ardour/region_view.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 1e8c09bdba..60de56d76f 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -96,7 +96,14 @@ class RegionView : public TimeAxisViewItem return _time_converter; } + /** Called when a start trim is about to begin */ + virtual void trim_start_starting () {} + void trim_start (framepos_t, bool); + + /** Called when a start trim has finished */ + virtual void trim_start_ending () {} + void trim_end (framepos_t, bool); void trim_contents (framepos_t, bool, bool); virtual void thaw_after_trim (); |