diff options
author | Carl Hetherington <carl@carlh.net> | 2007-05-17 10:41:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2007-05-17 10:41:14 +0000 |
commit | ef65fd251023378699c3ef3842fc55e93a92d04a (patch) | |
tree | 0b8c18d48355c9e5048a3ab6ea303b7268d9d1c5 /gtk2_ardour/streamview.h | |
parent | 06fd14b0850c8d043ae568c3d1f34460218d879f (diff) |
Add stacked lanes mode which displays regions on different layers at different positions in the view.
git-svn-id: svn://localhost/ardour2/trunk@1855 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r-- | gtk2_ardour/streamview.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index 39c04aea7f..365f2d4edf 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -68,11 +68,13 @@ public: void set_zoom_all(); int set_position (gdouble x, gdouble y); - virtual int set_height (gdouble); + virtual int set_height (double); virtual int set_samples_per_unit (gdouble spp); gdouble get_samples_per_unit () { return _samples_per_unit; } + void set_layer_display (LayerDisplay); + ArdourCanvas::Item* canvas_item() { return canvas_group; } enum ColorTarget { @@ -117,10 +119,12 @@ protected: void diskstream_changed (); virtual void playlist_changed (boost::shared_ptr<ARDOUR::Diskstream>); - virtual void playlist_modified (); + virtual void playlist_modified_weak (boost::weak_ptr<ARDOUR::Diskstream>); + virtual void playlist_modified (boost::shared_ptr<ARDOUR::Diskstream>); virtual void color_handler (ColorID, uint32_t) = 0; + virtual void update_contents_y_position_and_height (); RouteTimeAxisView& _trackview; ArdourCanvas::Group* canvas_group; @@ -143,6 +147,10 @@ protected: vector<sigc::connection> playlist_connections; sigc::connection playlist_change_connection; + + int layers; + double height; + LayerDisplay layer_display; list<sigc::connection> rec_data_ready_connections; jack_nframes_t last_rec_data_frame; |