mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
add vgui touch panel, touch logic
This commit is contained in:
@@ -988,10 +988,10 @@ void CSDLMgr::PostEvent( const CCocoaEvent &theEvent, bool debugEvent )
|
||||
SDLAPP_FUNC;
|
||||
|
||||
m_CocoaEventsMutex.Lock();
|
||||
|
||||
|
||||
CUtlLinkedList<CCocoaEvent,int> &queue = debugEvent ? m_CocoaEvents : m_DebugEvents;
|
||||
queue.AddToTail( theEvent );
|
||||
|
||||
|
||||
m_CocoaEventsMutex.Unlock();
|
||||
}
|
||||
|
||||
@@ -1837,6 +1837,8 @@ void CSDLMgr::PumpWindowsMessageLoop()
|
||||
break;
|
||||
}
|
||||
|
||||
// FIXME(nillerusr): SDL posts SDL_QUIT when map loaded on android, idk why.
|
||||
#ifndef ANDROID
|
||||
case SDL_QUIT:
|
||||
{
|
||||
CCocoaEvent theEvent;
|
||||
@@ -1844,7 +1846,7 @@ void CSDLMgr::PumpWindowsMessageLoop()
|
||||
PostEvent( theEvent );
|
||||
break;
|
||||
}
|
||||
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user