Fix handling of the mapping between parameters and automation CheckMenuItems. Should...
[ardour.git] / gtk2_ardour / enums.cc
index 513be94aefcf2f75978fffffe921f47a38a77841..4b205141750105c21381f9b59a3ff85eab163458 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -39,15 +39,15 @@ setup_gtk_ardour_enums ()
        Width width;
        ImportMode import_mode;
        EditPoint edit_point;
-       WaveformScale waveform_scale;
-       WaveformShape waveform_shape;
+       LayerDisplay layer_display;
+       RegionListSortType region_list_sort_type;
 
 #define REGISTER(e) enum_writer.register_distinct (typeid(e).name(), i, s); i.clear(); s.clear()
 #define REGISTER_BITS(e) enum_writer.register_bits (typeid(e).name(), i, s); i.clear(); s.clear()
 #define REGISTER_ENUM(e) i.push_back (e); s.push_back (#e)
 #define REGISTER_CLASS_ENUM(t,e) i.push_back (t::e); s.push_back (#e)
 
-       REGISTER_CLASS_ENUM (AudioClock, SMPTE);
+       REGISTER_CLASS_ENUM (AudioClock, Timecode);
        REGISTER_CLASS_ENUM (AudioClock, BBT);
        REGISTER_CLASS_ENUM (AudioClock, MinSec);
        REGISTER_CLASS_ENUM (AudioClock, Frames);
@@ -69,11 +69,19 @@ setup_gtk_ardour_enums ()
        REGISTER_ENUM (EditAtSelectedMarker);
        REGISTER (edit_point);
 
-       REGISTER_ENUM (LinearWaveform);
-       REGISTER_ENUM (LogWaveform);
-       REGISTER (waveform_scale);
-
-       REGISTER_ENUM (Traditional);
-       REGISTER_ENUM (Rectified);
-       REGISTER (waveform_shape);
+       REGISTER_ENUM (Overlaid);
+       REGISTER_ENUM (Stacked);
+       REGISTER (layer_display);
+
+       REGISTER_ENUM (ByEndInFile);
+       REGISTER_ENUM (ByLength);
+       REGISTER_ENUM (ByName);
+       REGISTER_ENUM (ByPosition);
+       REGISTER_ENUM (BySourceFileCreationDate);
+       REGISTER_ENUM (BySourceFileFS);
+       REGISTER_ENUM (BySourceFileLength);
+       REGISTER_ENUM (BySourceFileName);
+       REGISTER_ENUM (ByStartInFile);
+       REGISTER_ENUM (ByTimestamp);
+       REGISTER (region_list_sort_type);
 }