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

Method setMouseActive

src/Engine/Game.cpp:564–568  ·  view source on GitHub ↗

* Sets whether the mouse is activated. * If it is, mouse events are processed, otherwise * they are ignored and the cursor is hidden. * @param active Is mouse activated? */

Source from the content-addressed store, hash-verified

562 * @param active Is mouse activated?
563 */
564void Game::setMouseActive(bool active)
565{
566 _mouseActive = active;
567 _cursor->setVisible(active);
568}
569
570/**
571 * Returns whether current state is *state

Callers

nothing calls this directly

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected