Merge branch 'master' of git://git.pipapo.org/cinelerra/svn into ct
[cinelerra_cv/ct.git] / cinelerra / edl.inc
blob4a5b9d5b02d3ea3718712417540060da322e66c3
1 #ifndef EDL_INC
2 #define EDL_INC
4 class EDL;
6 // Load flags for undo
7 #define LOAD_ALL        0xffffffff
8 #define LOAD_EDITS      0x00000001
9 #define LOAD_AUTOMATION 0x00000002
10 #define LOAD_PATCHES    0x00000004
11 #define LOAD_CONSOLE    0x00000008
12 #define LOAD_TIMEBAR    0x00000010
13 #define LOAD_ACONFIG    0x00000020
14 #define LOAD_VCONFIG    0x00000040
15 #define LOAD_ASSETS     0x00000080
16 #define LOAD_SESSION    0x00000100
19 #define EDITING_MODES 2
21 // Editing modes
22 #define EDITING_ARROW 0
23 #define EDITING_IBEAM 1
27 #define EDIT_HANDLE_MODES 3
29 // Behavior for the edit handles based on mouse button
30 #define MOVE_ALL_EDITS 0
31 #define MOVE_ONE_EDIT 1
32 #define MOVE_NO_EDITS 2
33 #define MOVE_EDITS_DISABLED 3
36 // Mandatory folders
37 #define AEFFECT_FOLDER "Audio Effects"
38 #define VEFFECT_FOLDER "Video Effects"
39 #define ATRANSITION_FOLDER "Audio Transitions"
40 #define VTRANSITION_FOLDER "Video Transitions"
42 #define LABEL_FOLDER "Labels"
44 // Default folders
45 #define CLIP_FOLDER "Clips"
46 #define MEDIA_FOLDER "Media"
50 #define AWINDOW_MODES 2
51 // Modes for AWindow views
52 #define ASSETS_TEXT 0
53 #define ASSETS_ICONS 1
54 #define FOLDERS_TEXT 0
55 #define FOLDERS_ICONS 1
57 #define ASSET_COLUMNS 2
59 // Active tool in CWindow corresponds to a member of the CPanel array
60 // and the current drag operation
62 #define CPANEL_OPERATIONS 9
65 #define CWINDOW_NONE -1
66 #define CWINDOW_PROTECT     0
67 #define CWINDOW_ZOOM        1
68 #define CWINDOW_MASK        2
69 #define CWINDOW_CAMERA      3
70 #define CWINDOW_PROJECTOR   4
71 #define CWINDOW_CROP        5
72 #define CWINDOW_EYEDROP     6
73 #define CWINDOW_TOOL_WINDOW 7
74 #define CWINDOW_TITLESAFE   8
76 // Current dragging operations not available in the CPanel
77 #define CWINDOW_SCROLL 0x10
78 #define CWINDOW_MASK_CONTROL_IN 0x15
79 #define CWINDOW_MASK_CONTROL_OUT 0x16
80 #define CWINDOW_MASK_TRANSLATE 0x17
82 // Inclusive limits for zoom panel
83 #define MIN_ZOOM_TIME 1
84 #define MAX_ZOOM_TIME 0x100000
85 #define MIN_AMP_ZOOM 8
86 #define MAX_AMP_ZOOM 262144
87 #define MIN_TRACK_ZOOM 32
88 #define MAX_TRACK_ZOOM 1024
90 #define MAX_PAN 1.0
91 #define PAN_RADIUS 50
93 #endif
95 //      Local Variables:
96 //      mode: C++
97 //      c-file-style: "linux"
98 //      End: