QtCraft API C++ classes QML types Handbook

QcMouseCapture::Situation Struct

struct QcMouseCapture::Situation

What the game is doing now, as far as the capture cares. More...

Public Variables

bool backgroundRun
Qt::MouseButtons held
bool windowActive
bool worldInput

Detailed Description

Member Variable Documentation

bool Situation::backgroundRun

Scripted runs never capture the mouse.

Qt::MouseButtons Situation::held

Buttons held right now.

bool Situation::windowActive

The game's window has the focus.

bool Situation::worldInput

Playing, no screen open, alive.