bool ContainerWindow::on_mouse_double(int x, int y) { Window *child = event_child_at(x, y); if (child != NULL) { child->on_mouse_double(x - child->get_left(), y - child->get_top()); return true; } return PaintWindow::on_mouse_double(x, y); }
bool ContainerWindow::on_mouse_wheel(int x, int y, int delta) { Window *child = event_child_at(x, y); if (child != NULL) { child->on_mouse_wheel(x - child->get_left(), y - child->get_top(), delta); return true; } return PaintWindow::on_mouse_wheel(x, y, delta); }
bool ContainerWindow::on_mouse_move(int x, int y, unsigned keys) { Window *child = event_child_at(x, y); if (child != NULL) { child->on_mouse_move(x - child->get_left(), y - child->get_top(), keys); return true; } return PaintWindow::on_mouse_move(x, y, keys); }
bool ContainerWindow::on_mouse_up(PixelScalar x, PixelScalar y) { Window *child = event_child_at(x, y); if (child != NULL) { child->on_mouse_up(x - child->get_left(), y - child->get_top()); return true; } return PaintWindow::on_mouse_up(x, y); }