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

bcdragwindow.h

Go to the documentation of this file.
00001 #ifndef BCDRAGWINDOW_H
00002 #define BCDRAGWINDOW_H
00003 
00004 #include "bcpixmap.inc"
00005 #include "bcpopup.h"
00006 
00007 class BC_DragWindow : public BC_Popup
00008 {
00009 public:
00010         BC_DragWindow(BC_WindowBase *parent_window, BC_Pixmap *pixmap, int icon_x, int icon_y);
00011         BC_DragWindow(BC_WindowBase *parent_window, VFrame *frame, int icon_x, int icon_y);
00012         ~BC_DragWindow();
00013 
00014         int cursor_motion_event();
00015         int drag_failure_event();
00016         int get_offset_x();
00017         int get_offset_y();
00018 // Disable failure animation
00019         void set_animation(int value);
00020         BC_Pixmap *prepare_frame(VFrame *frame, BC_WindowBase *parent_window);
00021 private:
00022         static int get_init_x(BC_WindowBase *parent_window, int icon_x);
00023         static int get_init_y(BC_WindowBase *parent_window, int icon_y);
00024 
00025         int init_x, init_y;
00026         int end_x, end_y;
00027         int icon_offset_x, icon_offset_y;
00028         int do_animation;
00029         VFrame *temp_frame;
00030         BC_Pixmap *my_pixmap;
00031 };
00032 
00033 #endif

Generated on Sun Jan 8 13:26:32 2006 for Guicast-svn by  doxygen 1.4.4