summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-16 07:04:27 +0000
committerDavid Robillard <d@drobilla.net>2009-02-16 07:04:27 +0000
commit64bf6f004a35aa61cdc4a22d419ce9d3f4c57579 (patch)
treecdb93a82e66d9b9bdb155b9e3a4da64bc6d0e247 /gtk2_ardour/streamview.h
parentf12cfb3d87295daa8fc622f2200476e661ebb6fe (diff)
Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;) git-svn-id: svn://localhost/ardour2/branches/3.0@4603 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r--gtk2_ardour/streamview.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h
index 16a637d674..fa5657f866 100644
--- a/gtk2_ardour/streamview.h
+++ b/gtk2_ardour/streamview.h
@@ -42,8 +42,8 @@ namespace ARDOUR {
struct RecBoxInfo {
ArdourCanvas::SimpleRect* rectangle;
- nframes_t start;
- nframes_t length;
+ nframes_t start;
+ nframes_t length;
};
class PublicEditor;
@@ -107,19 +107,16 @@ public:
protected:
StreamView (RouteTimeAxisView&, ArdourCanvas::Group* group = NULL);
-//private: (FIXME?)
-
void transport_changed();
void transport_looped();
void rec_enable_changed();
void sess_rec_enable_changed();
virtual void setup_rec_box () = 0;
void update_rec_box ();
- //virtual void update_rec_regions () = 0;
- virtual RegionView* add_region_view_internal (boost::shared_ptr<ARDOUR::Region>, bool wait_for_waves, bool recording = false) = 0;
+ virtual RegionView* add_region_view_internal (boost::shared_ptr<ARDOUR::Region>,
+ bool wait_for_waves, bool recording = false) = 0;
virtual void remove_region_view (boost::weak_ptr<ARDOUR::Region> );
- //void remove_rec_region (boost::shared_ptr<ARDOUR::Region>); (unused)
void display_diskstream (boost::shared_ptr<ARDOUR::Diskstream>);
virtual void undisplay_diskstream ();
@@ -158,14 +155,14 @@ protected:
sigc::connection playlist_change_connection;
ARDOUR::layer_t _layers;
+ LayerDisplay _layer_display;
+
double height;
- LayerDisplay _layer_display;
list<sigc::connection> rec_data_ready_connections;
jack_nframes_t last_rec_data_frame;
private:
-
void update_coverage_frames ();
};