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

videowindowgui.h

Go to the documentation of this file.
00001 #ifndef VIDEOWINDOWGUI_H
00002 #define VIDEOWINDOWGUI_H
00003 
00004 #include "guicast.h"
00005 #include "videowindow.inc"
00006 
00007 class VideoWindowGUI : public BC_Window
00008 {
00009 public:
00010         VideoWindowGUI(VideoWindow *thread, int w, int h);
00011         ~VideoWindowGUI();
00012 
00013         int create_objects();
00014         int resize_event(int w, int h);
00015         int close_event();
00016         int keypress_event();
00017         int update_title();
00018         int start_cropping();
00019         int stop_cropping();
00020 
00021         int x1, y1, x2, y2, center_x, center_y;
00022         int x_offset, y_offset;
00023         VideoWindow *thread;
00024         VideoWindowCanvas *canvas;
00025 };
00026 
00027 class VideoWindowCanvas : public BC_SubWindow
00028 {
00029 public:
00030         VideoWindowCanvas(VideoWindowGUI *gui, int w, int h);
00031         ~VideoWindowCanvas();
00032 
00033         int button_press();
00034         int button_release();
00035         int cursor_motion();
00036         int draw_crop_box();
00037 
00038         int button_down;
00039         VideoWindowGUI *gui;
00040         int corner_selected;
00041 };
00042 
00043 
00044 #endif

Generated on Sun Jan 8 13:39:02 2006 for Cinelerra-svn by  doxygen 1.4.4