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

Method popCursor

Engine/source/windowManager/platformCursorController.cpp:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void PlatformCursorController::popCursor()
54{
55 // Before poping the stack, make sure we're not trying to remove the last cursor shape
56 if ( mCursors.size() <= 1 )
57 {
58 return;
59 }
60
61 // Clear the Last Cursor.
62 mCursors.pop_back();
63
64 // Now Change the Cursor Shape.
65 setCursorShape( mCursors.last(), true );
66}
67
68void PlatformCursorController::refreshCursor()
69{

Callers 15

get3DCursorMethod · 0.80
get3DCursorMethod · 0.80
get3DCursorMethod · 0.80
onSleepMethod · 0.80
get3DCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80
get3DCursorMethod · 0.80
getCursorMethod · 0.80
getCursorMethod · 0.80

Calls 3

lastMethod · 0.80
sizeMethod · 0.45
pop_backMethod · 0.45

Tested by 1

getCursorMethod · 0.64