MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / CaptureMouse

Method CaptureMouse

PanzerChasm/system_window.cpp:700–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700void SystemWindow::CaptureMouse( const bool need_capture )
701{
702 if( need_capture != mouse_captured_ )
703 {
704 mouse_captured_= need_capture;
705 SDL_SetRelativeMouseMode( need_capture ? SDL_TRUE : SDL_FALSE );
706 }
707}
708
709void SystemWindow::GetVideoModes()
710{

Callers 1

LoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected