MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / pushCursor

Method pushCursor

Engine/source/windowManager/platformCursorController.cpp:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include "windowManager/platformCursorController.h"
25
26void PlatformCursorController::pushCursor( S32 cursorID )
27{
28 // Place the new cursor shape onto the stack
29 mCursors.increment();
30
31 Cursor_Shape &shape = mCursors.last();
32 shape.mCursorType = Cursor_Shape::TYPE_RESOURCE;
33 shape.mCursorID = cursorID;
34
35 // Now Change the Cursor Shape.
36 setCursorShape( shape.mCursorID );
37}
38
39void PlatformCursorController::pushCursor( const UTF8 *fileName )
40{

Callers 15

get3DCursorMethod · 0.80
get3DCursorMethod · 0.80
get3DCursorMethod · 0.80
onWakeMethod · 0.80
get3DCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
get3DCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80

Calls 3

incrementMethod · 0.80
lastMethod · 0.80
c_strMethod · 0.45

Tested by 1

getCursorMethod · 0.64