Lines Matching defs:mid
1692 int mid = this_rect[Geom::X].middle();
1693 // Make sure that mid lies on a tile boundary
1694 mid = (mid / TILE_SIZE) * TILE_SIZE;
1696 lo = Geom::IntRect(this_rect.left(), this_rect.top(), mid, this_rect.bottom());
1697 hi = Geom::IntRect(mid, this_rect.top(), this_rect.right(), this_rect.bottom());
1699 if (setup->mouse_loc[Geom::X] < mid) {
1708 int mid = this_rect[Geom::Y].middle();
1709 // Make sure that mid lies on a tile boundary
1710 mid = (mid / TILE_SIZE) * TILE_SIZE;
1712 lo = Geom::IntRect(this_rect.left(), this_rect.top(), this_rect.right(), mid);
1713 hi = Geom::IntRect(this_rect.left(), mid, this_rect.right(), this_rect.bottom());
1715 if (setup->mouse_loc[Geom::Y] < mid) {