6 #include "defaults.inc"
9 #include "mainsession.inc"
10 #include "maxchannels.h"
11 #include "mwindow.inc"
13 #include "pluginset.inc"
14 #include "pluginserver.inc"
17 // Options not in EDL but not changed in preferences
21 MainSession(MWindow
*mwindow
);
24 int load_defaults(Defaults
*defaults
);
25 int save_defaults(Defaults
*defaults
);
26 void default_window_positions();
33 // For drag and drop events
35 // The entire track where the dropped asset is going to go
36 Track
*track_highlighted
;
37 // The edit after the point where the media is going to be dropped.
38 Edit
*edit_highlighted
;
39 // The plugin set where the plugin is going to be dropped.
40 PluginSet
*pluginset_highlighted
;
41 // The plugin after the point where the plugin is going to be dropped.
42 Plugin
*plugin_highlighted
;
43 // Viewer canvas highlighted
44 int vcanvas_highlighted
;
45 // Compositor canvas highlighted
46 int ccanvas_highlighted
;
47 // Current drag operation
48 int current_operation
;
50 ArrayList
<PluginServer
*> *drag_pluginservers
;
52 ArrayList
<Asset
*> *drag_assets
;
53 ArrayList
<EDL
*> *drag_clips
;
56 // Edit whose handle is being dragged
58 // Edits who are being dragged
59 ArrayList
<Edit
*> *drag_edits
;
60 // Button pressed during drag
62 // Handle being dragged
64 // Current position of drag cursor
66 // Starting position of drag cursor
68 // Cursor position when button was pressed
69 int drag_origin_x
, drag_origin_y
;
70 // Value of keyframe when button was pressed
71 float drag_start_percentage
;
72 long drag_start_position
;
73 // Records for redrawing brender position in timebar
76 // Clip number for automatic title generation
82 // filename of the current project for window titling and saving
83 char filename
[BCTEXTLEN
];
87 int lwindow_x
, lwindow_y
, lwindow_w
, lwindow_h
;
88 int mwindow_x
, mwindow_y
, mwindow_w
, mwindow_h
;
89 int vwindow_x
, vwindow_y
, vwindow_w
, vwindow_h
;
90 int cwindow_x
, cwindow_y
, cwindow_w
, cwindow_h
;
92 int awindow_x
, awindow_y
, awindow_w
, awindow_h
;
93 int rmonitor_x
, rmonitor_y
, rmonitor_w
, rmonitor_h
;
94 int rwindow_x
, rwindow_y
, rwindow_w
, rwindow_h
;
96 int show_vwindow
, show_awindow
, show_cwindow
, show_lwindow
;
97 int plugindialog_w
, plugindialog_h
;
98 int menueffect_w
, menueffect_h
;