MCPcopy Create free account
hub / github.com/carbonengine/trinity / Apply

Method Apply

trinity/UI/Tr2MouseCursor.cpp:438–449  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Applies the cursor to the mouse pointer. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

436// Applies the cursor to the mouse pointer.
437// --------------------------------------------------------------------------------------
438void Tr2MouseCursor::Apply()
439{
440 if( !IsValid() )
441 {
442 return;
443 }
444#if defined( _WIN32 )
445 SetCursor( m_cursor );
446#elif __APPLE__
447 Apply_MacOS();
448#endif
449}

Callers 3

WndProcMethod · 0.45
SetMouseCursorMethod · 0.45
RenderShadowsMethod · 0.45

Calls 1

IsValidFunction · 0.50

Tested by

no test coverage detected