r553: Modern gccs require __attribute__((used)) for variables used only in assembly.
[cinelerra_cv.git] / cinelerra / edl.inc
blobdb4a4dd9486dfec96fba2d090a1030db44665ed9
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 // Default folders
43 #define CLIP_FOLDER "Clips"
44 #define MEDIA_FOLDER "Media"
48 #define AWINDOW_MODES 2
49 // Modes for AWindow views
50 #define ASSETS_TEXT 0
51 #define ASSETS_ICONS 1
52 #define FOLDERS_TEXT 0
53 #define FOLDERS_ICONS 1
55 #define ASSET_COLUMNS 2
57 // Active tool in CWindow corresponds to a member of the CPanel array
58 // and the current drag operation
60 #define CPANEL_OPERATIONS 8
63 #define CWINDOW_NONE -1
64 #define CWINDOW_PROTECT     0
65 #define CWINDOW_ZOOM        1
66 #define CWINDOW_MASK        2
67 #define CWINDOW_CAMERA      3
68 #define CWINDOW_PROJECTOR   4
69 #define CWINDOW_CROP        5
70 #define CWINDOW_TOOL_WINDOW 6
71 #define CWINDOW_TITLESAFE   7
73 // Current dragging operations not available in the CPanel
74 #define CWINDOW_SCROLL 0x10
75 #define CWINDOW_CAMERA_CONTROL_IN 0x11
76 #define CWINDOW_CAMERA_CONTROL_OUT 0x12
77 #define CWINDOW_PROJECTOR_CONTROL_IN 0x13
78 #define CWINDOW_PROJECTOR_CONTROL_OUT 0x14
79 #define CWINDOW_MASK_CONTROL_IN 0x15
80 #define CWINDOW_MASK_CONTROL_OUT 0x16
81 #define CWINDOW_MASK_TRANSLATE 0x17
83 // Inclusive limits for zoom panel
84 #define MIN_ZOOM_TIME 1
85 #define MAX_ZOOM_TIME 0x100000
86 #define MIN_AMP_ZOOM 8
87 #define MAX_AMP_ZOOM 262144
88 #define MIN_TRACK_ZOOM 32
89 #define MAX_TRACK_ZOOM 1024
91 #endif