summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-30 03:25:38 +0000
committerDavid Robillard <d@drobilla.net>2006-07-30 03:25:38 +0000
commit9d5d82b4df5b3510177fd31557ac765f46778fe8 (patch)
treeb0b786f4f8fcee4e76c7c3ab1a66f603c08de070 /gtk2_ardour/streamview.h
parent8277d134b9733aee344782891c99f07114384d9e (diff)
Abstraction cleanups/polish, towards merging with trunk
git-svn-id: svn://localhost/ardour2/branches/midi@720 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r--gtk2_ardour/streamview.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h
index f2906d40c4..baa779ba67 100644
--- a/gtk2_ardour/streamview.h
+++ b/gtk2_ardour/streamview.h
@@ -98,35 +98,37 @@ public:
protected:
StreamView (RouteTimeAxisView&);
-//private:
- void update_rec_box ();
- void transport_changed();
- void rec_enable_changed(void* src = 0);
- void sess_rec_enable_changed();
+//private: (FIXME?)
+
+ void transport_changed();
+ void rec_enable_changed(void* src = 0);
+ void sess_rec_enable_changed();
virtual void setup_rec_box () = 0;
- void rec_peak_range_ready (jack_nframes_t start, jack_nframes_t cnt, ARDOUR::Source* src);
+ void update_rec_box ();
virtual void update_rec_regions () = 0;
virtual void add_region_view_internal (ARDOUR::Region*, bool wait_for_waves) = 0;
virtual void remove_region_view (ARDOUR::Region* );
- void remove_rec_region (ARDOUR::Region*);
+ void remove_rec_region (ARDOUR::Region*);
- void display_diskstream (ARDOUR::Diskstream* );
+ void display_diskstream (ARDOUR::Diskstream* );
virtual void undisplay_diskstream ();
virtual void redisplay_diskstream () = 0;
- void diskstream_changed (void* );
- void playlist_state_changed (ARDOUR::Change);
+ void diskstream_changed (void* );
+
+ void playlist_state_changed (ARDOUR::Change);
virtual void playlist_changed (ARDOUR::Diskstream* );
virtual void playlist_modified ();
+
+ virtual void color_handler (ColorID, uint32_t) = 0;
- RouteTimeAxisView& _trackview;
-
+ RouteTimeAxisView& _trackview;
ArdourCanvas::Group* canvas_group;
ArdourCanvas::SimpleRect* canvas_rect; /* frame around the whole thing */
typedef list<RegionView* > RegionViewList;
- RegionViewList region_views;
+ RegionViewList region_views;
double _samples_per_unit;
@@ -141,8 +143,6 @@ protected:
Gdk::Color region_color;
uint32_t stream_base_color;
- virtual void color_handler (ColorID, uint32_t) = 0;
-
vector<sigc::connection> playlist_connections;
sigc::connection playlist_change_connection;
};