00001 #ifndef CROPVIDEO_H 00002 #define CROPVIDEO_H 00003 00004 #include "guicast.h" 00005 #include "mwindow.inc" 00006 #include "thread.h" 00007 #include "cropvideo.inc" 00008 00009 class CropVideo : public BC_MenuItem, public Thread 00010 { 00011 public: 00012 CropVideo(MWindow *mwindow); 00013 ~CropVideo(); 00014 00015 int handle_event(); 00016 void run(); 00017 int load_defaults(); 00018 int save_defaults(); 00019 int fix_aspect_ratio(); 00020 00021 MWindow *mwindow; 00022 }; 00023 00024 class CropVideoWindow : public BC_Window 00025 { 00026 public: 00027 CropVideoWindow(MWindow *mwindow, CropVideo *thread); 00028 ~CropVideoWindow(); 00029 00030 int create_objects(); 00031 00032 CropVideo *thread; 00033 MWindow *mwindow; 00034 }; 00035 00036 00037 #endif
1.5.5