r668: Configure.in and autogen.sh cleanup based on ideas by giskard.
[cinelerra_cv.git] / cinelerra / cwindow.h
blob37e7e249e8d35e4dda22ca4f9fea7bcdb3626cc7
1 #ifndef CWINDOW_H
2 #define CWINDOW_H
4 #include "auto.inc"
5 #include "autos.inc"
6 #include "cplayback.inc"
7 #include "ctracking.inc"
8 #include "cwindowgui.inc"
9 #include "floatauto.inc"
10 #include "mwindow.inc"
11 #include "thread.h"
12 #include "track.inc"
14 class CWindow : public Thread
16 public:
17 CWindow(MWindow *mwindow);
18 ~CWindow();
20 int create_objects();
21 // Position is inclusive of the other 2
22 void update(int position,
23 int overlays,
24 int tool_window,
25 int operation = 0,
26 int timebar = 0);
27 void run();
28 Track* calculate_affected_track();
29 // Get keyframe for editing in the CWindow.
30 // create - if 0 forces automatic creation to be off
31 // if 1 uses automatic creation option to create
32 Auto* calculate_affected_auto(Autos *autos,
33 int create = 1);
34 // Same as before. Provide 0 to Auto arguments to have them ignored.
35 void calculate_affected_autos(FloatAuto **x_auto,
36 FloatAuto **y_auto,
37 FloatAuto **z_auto,
38 Track *track,
39 int use_camera,
40 int create_x,
41 int create_y,
42 int create_z);
43 void show_window();
44 void hide_window();
46 int destination;
47 MWindow *mwindow;
48 CWindowGUI *gui;
50 CTracking *playback_cursor;
51 CPlayback *playback_engine;
54 #endif