r1005: Increase the number of displayed digits for resample audio dialog box
[cinelerra_cv/mob.git] / guicast / bcdragwindow.h
blob1b2b70f4b1e13d2558ca8aa8420f6d73b6986c39
1 #ifndef BCDRAGWINDOW_H
2 #define BCDRAGWINDOW_H
4 #include "bcpixmap.inc"
5 #include "bcpopup.h"
7 class BC_DragWindow : public BC_Popup
9 public:
10 BC_DragWindow(BC_WindowBase *parent_window, BC_Pixmap *pixmap, int icon_x, int icon_y);
11 BC_DragWindow(BC_WindowBase *parent_window, VFrame *frame, int icon_x, int icon_y);
12 ~BC_DragWindow();
14 int cursor_motion_event();
15 int drag_failure_event();
16 int get_offset_x();
17 int get_offset_y();
18 // Disable failure animation
19 void set_animation(int value);
20 BC_Pixmap *prepare_frame(VFrame *frame, BC_WindowBase *parent_window);
21 private:
22 static int get_init_x(BC_WindowBase *parent_window, int icon_x);
23 static int get_init_y(BC_WindowBase *parent_window, int icon_y);
25 int init_x, init_y;
26 int end_x, end_y;
27 int icon_offset_x, icon_offset_y;
28 int do_animation;
29 VFrame *temp_frame;
30 BC_Pixmap *my_pixmap;
33 #endif