| 984 | } |
| 985 | |
| 986 | void Player::GUI_t::setHoveringOverModuleButton(Player::GUI_t::GUIModules moduleOfButton) |
| 987 | { |
| 988 | if ( !inputs.getVirtualMouse(player.playernum)->draw_cursor ) |
| 989 | { |
| 990 | hoveringButtonModule = MODULE_NONE; |
| 991 | return; |
| 992 | } |
| 993 | hoveringButtonModule = moduleOfButton; |
| 994 | } |
| 995 | void Player::GUI_t::clearHoveringOverModuleButton() |
| 996 | { |
| 997 | hoveringButtonModule = MODULE_NONE; |
no test coverage detected