MCPcopy Create free account
hub / github.com/ddnet/ddnet / OnWindowResize

Method OnWindowResize

src/game/client/components/touch_controls.cpp:774–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774void CTouchControls::OnWindowResize()
775{
776 ResetButtons();
777 for(CTouchButton &TouchButton : m_vTouchButtons)
778 {
779 TouchButton.UpdateScreenFromUnitRect();
780 }
781}
782
783bool CTouchControls::OnTouchState(const std::vector<IInput::CTouchFingerState> &vTouchFingerStates)
784{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected