4 #include "bcpixmap.inc"
7 class BC_DragWindow
: public BC_Popup
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
);
14 int cursor_motion_event();
15 int drag_failure_event();
18 // Disable failure animation
19 void set_animation(int value
);
20 BC_Pixmap
*prepare_frame(VFrame
*frame
, BC_WindowBase
*parent_window
);
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
);
27 int icon_offset_x
, icon_offset_y
;