#include <bcdragwindow.h>
Inherits BC_Popup.

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_Pixmap * | prepare_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 |
| VFrame * | temp_frame |
| BC_Pixmap * | my_pixmap |
Definition at line 7 of file bcdragwindow.h.
| 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.

| 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.

| BC_DragWindow::~BC_DragWindow | ( | ) |
Definition at line 55 of file bcdragwindow.C.
| int BC_DragWindow::cursor_motion_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
Definition at line 89 of file bcdragwindow.C.
References BC_WindowBase::flush(), BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), icon_offset_x, icon_offset_y, and BC_WindowBase::reposition_window().
Referenced by TrackCanvas::drag_motion(), and BC_ListBox::drag_motion_event().

| int BC_DragWindow::drag_failure_event | ( | ) |
Definition at line 109 of file bcdragwindow.C.
References BC_INFINITY, do_animation, end_x, end_y, BC_WindowBase::flush(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), BC_WindowBase::get_x(), BC_WindowBase::get_y(), init_x, init_y, and BC_WindowBase::reposition_window().
Referenced by BC_ListBox::drag_stop_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 | |||
| ) |
Definition at line 139 of file bcdragwindow.C.
References BC_WindowBase::BC_Pixmap, BC_RGBA8888, cmodel_transfer(), VFrame::get_color_model(), VFrame::get_h(), VFrame::get_rows(), VFrame::get_w(), my_pixmap, and temp_frame.

| int BC_DragWindow::get_init_x | ( | BC_WindowBase * | parent_window, | |
| int | icon_x | |||
| ) | [static, private] |
Definition at line 59 of file bcdragwindow.C.
References BC_WindowBase::display, BC_WindowBase::rootwin, BC_WindowBase::top_level, and BC_WindowBase::win.
| int BC_DragWindow::get_init_y | ( | BC_WindowBase * | parent_window, | |
| int | icon_y | |||
| ) | [static, private] |
Definition at line 74 of file bcdragwindow.C.
References BC_WindowBase::display, BC_WindowBase::rootwin, BC_WindowBase::top_level, and BC_WindowBase::win.
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().
int BC_DragWindow::icon_offset_x [private] |
Definition at line 27 of file bcdragwindow.h.
Referenced by BC_DragWindow(), cursor_motion_event(), and get_offset_x().
int BC_DragWindow::icon_offset_y [private] |
Definition at line 27 of file bcdragwindow.h.
Referenced by BC_DragWindow(), cursor_motion_event(), and get_offset_y().
int BC_DragWindow::do_animation [private] |
Definition at line 28 of file bcdragwindow.h.
Referenced by BC_DragWindow(), drag_failure_event(), and set_animation().
VFrame* BC_DragWindow::temp_frame [private] |
BC_Pixmap* BC_DragWindow::my_pixmap [private] |
1.5.5