MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getCursorPos

Method getCursorPos

Engine/source/gui/core/guiCanvas.cpp:532–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532Point2I GuiCanvas::getCursorPos()
533{
534 Point2I p( 0, 0 );
535
536 if( mPlatformWindow )
537 mPlatformWindow->getCursorPosition( p );
538
539 return p;
540}
541
542void GuiCanvas::setCursorPos(const Point2I &pt)
543{

Callers 5

guiCanvas.cppFile · 0.45
cursorInControlMethod · 0.45
updateChildMousePosMethod · 0.45
findMouseOverVariableMethod · 0.45

Calls 1

getCursorPositionMethod · 0.45

Tested by

no test coverage detected