Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ eventOccured
Method
eventOccured
framework/apocresources/cursor.cpp:44–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
ApocCursor::~ApocCursor() = default;
43
44
void ApocCursor::eventOccured(Event *e)
45
{
46
if (e->type() == EVENT_MOUSE_MOVE)
47
{
48
cursorPos.x = e->mouse().X;
49
cursorPos.y = e->mouse().Y;
50
}
51
}
52
53
void ApocCursor::render()
54
{
Callers
1
processEvents
Method · 0.45
Calls
1
type
Method · 0.80
Tested by
no test coverage detected