improve delays created by vicon drawing locks, reset_cache segv fix, gang track toolt...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edl.inc
index a01691b2c339be714addff85466e57dad10747cd..ff56d686877ff6244529ea407acd07044304a67a 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
 
@@ -44,14 +92,16 @@ class EDL;
 #define EDITING_IBEAM 1
 
 
-
-#define EDIT_HANDLE_MODES 3
-
-// Behavior for the edit handles based on mouse button
-#define MOVE_ALL_EDITS 0 // default for left button
-#define MOVE_ONE_EDIT 1 // default for middle button
-#define MOVE_NO_EDITS 2 // default for right button
-#define MOVE_EDITS_DISABLED 3
+// default for left button
+// default for middle button
+// default for right button
+#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
@@ -101,17 +151,33 @@ class EDL;
 #define CWINDOW_MASK_CONTROL_IN 0x15
 #define CWINDOW_MASK_CONTROL_OUT 0x16
 #define CWINDOW_MASK_TRANSLATE 0x17
+#define CWINDOW_MASK_ROTATE 0x18
+#define CWINDOW_MASK_SCALE 0x19
 
 // Inclusive limits for zoom panel
 #define MIN_ZOOM_TIME 1
 #define MAX_ZOOM_TIME 0x100000
 #define DEFAULT_ZOOM_TIME 1024
+#define DEFAULT_ZOOM_TRACK 64
 #define MIN_AMP_ZOOM 8
-#define MAX_AMP_ZOOM 262144
-#define MIN_TRACK_ZOOM 32
-#define MAX_TRACK_ZOOM 1024
+#define MAX_AMP_ZOOM 8192
+#define MIN_TRACK_ZOOM 8
+#define MAX_TRACK_ZOOM 8192
 
 #define MAX_PAN 1.0
 #define PAN_RADIUS 50
 
+#define COLLECT_EFFECTS_RECORD 1
+#define COLLECT_EFFECTS_MULTIPLE 2
+#define COLLECT_EFFECTS_MISSING 3
+#define COLLECT_EFFECTS_EMPTY 4
+#define COLLECT_EFFECTS_MASTER 5
+
+#define INSERT_EFFECTS_RECORD 1
+#define INSERT_EFFECTS_TYPE 2
+#define INSERT_EFFECTS_MULTIPLE 3
+#define INSERT_EFFECTS_MISSING 4
+#define INSERT_EFFECTS_EXTRA 5
+#define INSERT_EFFECTS_MASTER 6
+
 #endif