r954: Improve icons of the liveaudio and livevideo effects.
[cinelerra_cv.git] / cinelerra / videowindowgui.h
blob5bd0655b481303dfd1ba2ee71f2f5ffdb5d2e8ca
1 #ifndef VIDEOWINDOWGUI_H
2 #define VIDEOWINDOWGUI_H
4 #include "guicast.h"
5 #include "videowindow.inc"
7 class VideoWindowGUI : public BC_Window
9 public:
10 VideoWindowGUI(VideoWindow *thread, int w, int h);
11 ~VideoWindowGUI();
13 int create_objects();
14 int resize_event(int w, int h);
15 int close_event();
16 int keypress_event();
17 int update_title();
18 int start_cropping();
19 int stop_cropping();
21 int x1, y1, x2, y2, center_x, center_y;
22 int x_offset, y_offset;
23 VideoWindow *thread;
24 VideoWindowCanvas *canvas;
27 class VideoWindowCanvas : public BC_SubWindow
29 public:
30 VideoWindowCanvas(VideoWindowGUI *gui, int w, int h);
31 ~VideoWindowCanvas();
33 int button_press();
34 int button_release();
35 int cursor_motion();
36 int draw_crop_box();
38 int button_down;
39 VideoWindowGUI *gui;
40 int corner_selected;
44 #endif