engine/sys_engine.cpp
void CEngine::OnGameOverlayActivated( GameOverlayActivated_t *pGameOverlayActivated )
{
	Assert( pGameOverlayActivated );
	if ( pGameOverlayActivated->m_bActive )
		g_pLauncherMgr->ForceSystemCursorVisible();
	else
		g_pLauncherMgr->UnforceSystemCursorVisible();
}
//-----------------------------------------------------------------------------
// Purpose: The overlay doesn't properly work on OS X 64-bit because a bunch of 
// Cocoa functions that we hook were never ported to 64-bit. Until that is fixed,
// we basically have to work around this by making sure the cursor is visible 
// and set to something that is reasonable for usage in the overlay. 
//-----------------------------------------------------------------------------
The overlay doesn't properly work on OS X 64-bit because a bunch of
Cocoa functions that we hook were never ported to 64-bit. Until that is fixed,
we basically have to work around this by making sure the cursor is visible
and set to something that is reasonable for usage in the overlay.
The overlay doesn ' t properly work on OS X 64 - bit because a bunch of Cocoa functions that we hook were never ported to 64 - bit . Until that is fixed we basically have to work around this by making sure the cursor is visible and set to something that is reasonable for usage in the overlay .
void CEngine::OnGameOverlayActivated( GameOverlayActivated_t *pGameOverlayActivated )
{
	Assert( pGameOverlayActivated );
	if ( pGameOverlayActivated->m_bActive )
		g_pLauncherMgr->ForceSystemCursorVisible();
	else
		g_pLauncherMgr->UnforceSystemCursorVisible();
}
void CEngine :: OnGameOverlayActivated ( GameOverlayActivated_t * pGameOverlayActivated ) { Assert ( pGameOverlayActivated ) ; if ( pGameOverlayActivated -> m_bActive ) g_pLauncherMgr -> ForceSystemCursorVisible ( ) ; else g_pLauncherMgr -> UnforceSystemCursorVisible ( ) ; }
Purpose: The overlay doesn't properly work on OS X 64-bit because a bunch of
Cocoa functions that we hook were never ported to 64-bit.
Purpose : The overlay doesn ' t properly work on OS X 64 - bit because a bunch of Cocoa functions that we hook were never ported to 64 - bit .