BC_DragWindow Class Reference

#include <bcdragwindow.h>

Inherits BC_Popup.

Collaboration diagram for BC_DragWindow:

Collaboration graph
[legend]

Public Member Functions

 BC_DragWindow (BC_WindowBase *parent_window, BC_Pixmap *pixmap, int icon_x, int icon_y)
 BC_DragWindow (BC_WindowBase *parent_window, VFrame *frame, int icon_x, int icon_y)
 ~BC_DragWindow ()
int cursor_motion_event ()
int drag_failure_event ()
int get_offset_x ()
int get_offset_y ()
void set_animation (int value)
BC_Pixmapprepare_frame (VFrame *frame, BC_WindowBase *parent_window)

Static Private Member Functions

static int get_init_x (BC_WindowBase *parent_window, int icon_x)
static int get_init_y (BC_WindowBase *parent_window, int icon_y)

Private Attributes

int init_x
int init_y
int end_x
int end_y
int icon_offset_x
int icon_offset_y
int do_animation
VFrametemp_frame
BC_Pixmapmy_pixmap

Detailed Description

Definition at line 7 of file bcdragwindow.h.


Constructor & Destructor Documentation

BC_DragWindow::BC_DragWindow ( BC_WindowBase parent_window,
BC_Pixmap pixmap,
int  icon_x,
int  icon_y 
)

Definition at line 7 of file bcdragwindow.C.

References BC_INFINITY, do_animation, end_x, end_y, BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), icon_offset_x, icon_offset_y, init_x, and init_y.

Here is the call graph for this function:

BC_DragWindow::BC_DragWindow ( BC_WindowBase parent_window,
VFrame frame,
int  icon_x,
int  icon_y 
)

Definition at line 31 of file bcdragwindow.C.

References BC_INFINITY, do_animation, end_x, end_y, BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), icon_offset_x, icon_offset_y, init_x, init_y, and temp_frame.

Here is the call graph for this function:

BC_DragWindow::~BC_DragWindow (  ) 

Definition at line 55 of file bcdragwindow.C.


Member Function Documentation

int BC_DragWindow::cursor_motion_event (  )  [virtual]

int BC_DragWindow::drag_failure_event (  ) 

int BC_DragWindow::get_offset_x (  ) 

Definition at line 99 of file bcdragwindow.C.

References icon_offset_x.

Referenced by BC_ListBox::drag_stop_event().

int BC_DragWindow::get_offset_y (  ) 

Definition at line 104 of file bcdragwindow.C.

References icon_offset_y.

Referenced by BC_ListBox::drag_stop_event().

void BC_DragWindow::set_animation ( int  value  ) 

Definition at line 134 of file bcdragwindow.C.

References do_animation.

Referenced by AWindowAssets::drag_stop_event().

BC_Pixmap * BC_DragWindow::prepare_frame ( VFrame frame,
BC_WindowBase parent_window 
)

int BC_DragWindow::get_init_x ( BC_WindowBase parent_window,
int  icon_x 
) [static, private]

int BC_DragWindow::get_init_y ( BC_WindowBase parent_window,
int  icon_y 
) [static, private]


Field Documentation

int BC_DragWindow::init_x [private]

Definition at line 25 of file bcdragwindow.h.

Referenced by BC_DragWindow(), and drag_failure_event().

int BC_DragWindow::init_y [private]

Definition at line 25 of file bcdragwindow.h.

Referenced by BC_DragWindow(), and drag_failure_event().

int BC_DragWindow::end_x [private]

Definition at line 26 of file bcdragwindow.h.

Referenced by BC_DragWindow(), and drag_failure_event().

int BC_DragWindow::end_y [private]

Definition at line 26 of file bcdragwindow.h.

Referenced by BC_DragWindow(), and drag_failure_event().

Definition at line 27 of file bcdragwindow.h.

Referenced by BC_DragWindow(), cursor_motion_event(), and get_offset_x().

Definition at line 27 of file bcdragwindow.h.

Referenced by BC_DragWindow(), cursor_motion_event(), and get_offset_y().

Definition at line 28 of file bcdragwindow.h.

Referenced by BC_DragWindow(), drag_failure_event(), and set_animation().

Definition at line 29 of file bcdragwindow.h.

Referenced by BC_DragWindow(), and prepare_frame().

Definition at line 30 of file bcdragwindow.h.

Referenced by prepare_frame().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:13:09 2008 for Cinelerra by  doxygen 1.5.5