shuttle keydef tweak, add copy_flags to copy edl, zoombar layout tweak
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edl.inc
index b69e659529ff5f78b6b82d06eca168ea7dcfab83..29c5ec3e175ea1bb21ad4fcfe54d5662ee563b96 100644 (file)
@@ -36,6 +36,54 @@ class EDL;
 #define LOAD_ASSETS    0x00000080
 #define LOAD_SESSION   0x00000100
 
+// Copy flags
+#define COPY_ALL               0x00000001
+#define COPY_LENGTH            0x00000002
+#define COPY_LOCAL_SESSION     0x00000004
+#define COPY_SESSION           0x00000008
+#define COPY_VIDEO_CONFIG      0x00000010
+#define COPY_AUDIO_CONFIG      0x00000020
+#define COPY_FOLDERS           0x00000040
+#define COPY_ALL_ASSETS                0x00000080
+#define COPY_USED_ASSETS       0x00000100
+#define COPY_NESTED_EDL                0x00000200
+#define COPY_CLIPS             0x00000400
+#define COPY_VWINDOWS          0x00000800
+#define COPY_MIXERS            0x00001000
+#define COPY_LABELS            0x00002000
+#define COPY_EDITS             0x00004000
+#define COPY_AUTOS             0x00008000
+#define COPY_PLUGINS           0x00010000
+
+#define COPY_ALWAYS ( \
+ COPY_LOCAL_SESSION | \
+ COPY_SESSION | \
+ COPY_VIDEO_CONFIG | \
+ COPY_AUDIO_CONFIG | \
+ COPY_FOLDERS | \
+ COPY_NESTED_EDL )
+
+#define COPY_TRACKS ( \
+ COPY_EDITS | \
+ COPY_AUTOS | \
+ COPY_PLUGINS )
+
+#define COPY_EDL ( \
+ COPY_ALL | \
+ COPY_ALWAYS | \
+ COPY_ALL_ASSETS | \
+ COPY_CLIPS | \
+ COPY_VWINDOWS | \
+ COPY_MIXERS | \
+ COPY_LABELS | \
+ COPY_TRACKS )
+
+#define COPY_CLIPBOARD ( \
+ COPY_LENGTH | \
+ COPY_ALWAYS | \
+ COPY_USED_ASSETS | \
+ COPY_LABELS | \
+ COPY_TRACKS )
 
 #define EDITING_MODES 2
 
@@ -45,14 +93,15 @@ class EDL;
 
 
 // default for left button
-#define MOVE_EDGE 0
 // default for middle button
-#define MOVE_MEDIA 1
 // default for right button
-#define MOVE_EDGE_MEDIA 2
-
-#define MOVE_EDITS_DISABLED 3
-#define EDIT_HANDLE_MODES 3
+#define MOVE_RIPPLE 0
+#define MOVE_ROLL   1
+#define MOVE_SLIP   2
+#define MOVE_SLIDE  3
+#define MOVE_EDGE   4
+#define MOVE_EDITS_DISABLED 5
+#define EDIT_HANDLE_MODES 5
 
 // AWindow folders
 #define AW_NO_FOLDER         -1