- bool use_rec_regions;
-
- /* XXX why are these different? */
- Gdk::Color region_color;
- uint32_t stream_base_color;
-
- vector<sigc::connection> playlist_connections;
- sigc::connection playlist_change_connection;
+
+ Gdk::Color region_color; ///< Contained region color
+ uint32_t stream_base_color; ///< Background color
+
+ PBD::ScopedConnectionList playlist_connections;
+ PBD::ScopedConnection playlist_switched_connection;
+
+ ARDOUR::layer_t _layers;
+ LayerDisplay _layer_display;
+
+ double height;
+
+ PBD::ScopedConnectionList rec_data_ready_connections;
+ framepos_t last_rec_data_frame;
+
+ /* When recording, the session time at which a new layer must be created for the region
+ being recorded, or max_framepos if not applicable.
+ */
+ framepos_t _new_rec_layer_time;
+ void setup_new_rec_layer_time (boost::shared_ptr<ARDOUR::Region>);
+
+private:
+ void update_coverage_frames ();