int cx, cy;
get_abs_cursor(cx, cy);
- cx -= mwindow->theme->get_image("clip_icon")->get_w() / 2,
- cy -= mwindow->theme->get_image("clip_icon")->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui,
mwindow->theme->get_image("clip_icon"), cx, cy);
}
int cx, cy;
get_abs_cursor(cx, cy);
- cx -= frame->get_w() / 2;
- cy -= frame->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy);
break; }
VFrame *frame = mwindow->theme->get_image("clip_icon");
int cx, cy;
get_abs_cursor(cx, cy);
- cx -= frame->get_w() / 2;
- cy -= frame->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy);
break; }
}