do not pass a non-zero offset to plugins AFTER the first call to connect_and_run...
[ardour.git] / gtk2_ardour / audio_time_axis.h
index 2162771285c32f915c2a45baedcaa2cfdd9884a1..d0fe2b98689926adb753ab3573c1f7209458b7c8 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_audio_time_axis_h__
@@ -37,9 +36,9 @@
 #include "ardour_dialog.h"
 #include "route_ui.h"
 #include "enums.h"
+#include "editing.h"
 #include "route_time_axis.h"
 #include "canvas.h"
-#include "color.h"
 
 namespace ARDOUR {
        class Session;
@@ -83,9 +82,14 @@ class AudioTimeAxisView : public RouteTimeAxisView
        guint32 show_at (double y, int& nth, Gtk::VBox *parent);
        void hide ();
        
-       void set_state (const XMLNode&);
+       int set_state (const XMLNode&);
        XMLNode* get_child_xml_node (const string & childname);
 
+       void first_idle ();
+
+       void set_waveform_shape (Editing::WaveformShape);
+       void set_waveform_scale (Editing::WaveformScale);
+
   private:
        friend class AudioStreamView;
        friend class AudioRegionView;
@@ -96,7 +100,6 @@ class AudioTimeAxisView : public RouteTimeAxisView
        void append_extra_display_menu_items ();
        
        void toggle_show_waveforms ();
-       void set_waveform_shape (WaveformShape);
        void toggle_waveforms ();
 
        void show_all_automation ();
@@ -114,6 +117,7 @@ class AudioTimeAxisView : public RouteTimeAxisView
        void pan_hidden ();
 
        void update_pans ();
+       void update_control_names ();
 
        AutomationTimeAxisView* gain_track;
        AutomationTimeAxisView* pan_track;
@@ -125,6 +129,8 @@ class AudioTimeAxisView : public RouteTimeAxisView
        Gtk::CheckMenuItem* waveform_item;
        Gtk::RadioMenuItem* traditional_item;
        Gtk::RadioMenuItem* rectified_item;
+       Gtk::RadioMenuItem* linearscale_item;
+       Gtk::RadioMenuItem* logscale_item;
        Gtk::CheckMenuItem* gain_automation_item;
        Gtk::CheckMenuItem* pan_automation_item;
 };