MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / onMouseIn

Method onMouseIn

src/Engine/InteractiveSurface.cpp:460–463  ·  view source on GitHub ↗

* Sets a function to be called every time the mouse moves into the surface. * @param handler Action handler. */

Source from the content-addressed store, hash-verified

458 * @param handler Action handler.
459 */
460void InteractiveSurface::onMouseIn(ActionHandler handler)
461{
462 _in = handler;
463}
464
465/**
466 * Sets a function to be called every time the mouse moves over the surface.

Callers 7

BattlescapeStateMethod · 0.80
OptionsAudioStateMethod · 0.80
OptionsVideoStateMethod · 0.80
OptionsControlsStateMethod · 0.80
OptionsModsStateMethod · 0.80
OptionsGeoscapeStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected