Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

cwindow.h

Go to the documentation of this file.
00001 #ifndef CWINDOW_H
00002 #define CWINDOW_H
00003 
00004 #include "auto.inc"
00005 #include "autos.inc"
00006 #include "cplayback.inc"
00007 #include "ctracking.inc"
00008 #include "cwindowgui.inc"
00009 #include "floatauto.inc"
00010 #include "mwindow.inc"
00011 #include "thread.h"
00012 #include "track.inc"
00013 
00014 class CWindow : public Thread
00015 {
00016 public:
00017         CWindow(MWindow *mwindow);
00018         ~CWindow();
00019         
00020     int create_objects();
00021 // Position is inclusive of the other 2
00022         void update(int position, 
00023                 int overlays, 
00024                 int tool_window, 
00025                 int operation = 0,
00026                 int timebar = 0);
00027         void run();
00028         Track* calculate_affected_track();
00029 // Get keyframe for editing in the CWindow.
00030 // create - if 0 forces automatic creation to be off
00031 //          if 1 uses automatic creation option to create
00032         Auto* calculate_affected_auto(Autos *autos, 
00033                 int create = 1);
00034 // Same as before.  Provide 0 to Auto arguments to have them ignored.
00035         void calculate_affected_autos(FloatAuto **x_auto,
00036                 FloatAuto **y_auto,
00037                 FloatAuto **z_auto,
00038                 Track *track,
00039                 int use_camera,
00040                 int create_x,
00041                 int create_y,
00042                 int create_z);
00043         void show_window();
00044         void hide_window();
00045 
00046         int destination;
00047         MWindow *mwindow;
00048     CWindowGUI *gui;
00049         
00050         CTracking *playback_cursor;
00051         CPlayback *playback_engine;
00052 };
00053 
00054 #endif

Generated on Sun Jan 8 13:38:51 2006 for Cinelerra-svn by  doxygen 1.4.4