* Selects the base the mouse is over. * @param action Pointer to an action. * @param state State that the action handlers belong to. */
| 156 | * @param state State that the action handlers belong to. |
| 157 | */ |
| 158 | void MiniBaseView::mouseOver(Action *action, State *state) |
| 159 | { |
| 160 | _hoverBase = (int)floor(action->getRelativeXMouse() / ((MINI_SIZE + 2) * action->getXScale())); |
| 161 | InteractiveSurface::mouseOver(action, state); |
| 162 | } |
| 163 | |
| 164 | } |
nothing calls this directly
no test coverage detected