diff options
author | David Robillard <d@drobilla.net> | 2008-02-10 18:16:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-10 18:16:25 +0000 |
commit | 1b657585572298d1a69a7b43e611f59b7e185df3 (patch) | |
tree | 5b0ca4e1f222357499f97165a13308ac070c5ddc /gtk2_ardour/time_axis_view.h | |
parent | e76b028ffdf054775cb697174d00cd0222d675c6 (diff) |
Committed underlay support (from Audun).
git-svn-id: svn://localhost/ardour2/branches/3.0@3037 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r-- | gtk2_ardour/time_axis_view.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h index c210d6deb0..048c60dce6 100644 --- a/gtk2_ardour/time_axis_view.h +++ b/gtk2_ardour/time_axis_view.h @@ -61,6 +61,8 @@ class PointSelection; class TimeAxisViewItem; class Selection; class Selectable; +class RegionView; +class GhostRegion; /** Abstract base class for time-axis views (horizontal editor 'strips') * @@ -202,6 +204,12 @@ class TimeAxisView : public virtual AxisView virtual void get_selectables (nframes_t start, nframes_t end, double top, double bot, list<Selectable*>& results); virtual void get_inverted_selectables (Selection&, list<Selectable *>& results); + ArdourCanvas::Group* ghost_group; + + void add_ghost (RegionView*); + void remove_ghost (RegionView*); + void erase_ghost (GhostRegion*); + /* state/serialization management */ TimeAxisView* get_parent () { return parent; } @@ -296,6 +304,8 @@ class TimeAxisView : public virtual AxisView ArdourCanvas::Group *selection_group; + list<GhostRegion*> ghosts; + list<SelectionRect*> free_selection_rects; list<SelectionRect*> used_selection_rects; @@ -305,6 +315,7 @@ class TimeAxisView : public virtual AxisView bool _hidden; bool _has_state; + bool in_destructor; NamePackingBits name_packing; static void compute_controls_size_info (); |