hedgewars/uWorld.pas
changeset 12793 575c0de98505
parent 12787 a6f51ac9a3f2
child 12831 1fbc0d5a82d0
equal deleted inserted replaced
12792:8fa21750470f 12793:575c0de98505
  2012     end;
  2012     end;
  2013 end;
  2013 end;
  2014 
  2014 
  2015 procedure updateCursorVisibility;
  2015 procedure updateCursorVisibility;
  2016 begin
  2016 begin
  2017     if isPaused or isAFK then
  2017     if isPaused or isAFK or (GameState = gsConfirm) then
  2018         SDL_ShowCursor(1)
  2018         uCursor.setSystemCursor(true)
  2019     else
  2019     else
  2020         SDL_ShowCursor(ord(GameState = gsConfirm))
  2020         uCursor.setSystemCursor(false);
  2021 end;
  2021 end;
  2022 
  2022 
  2023 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  2023 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  2024 begin
  2024 begin
  2025 {$IFDEF USE_TOUCH_INTERFACE}
  2025 {$IFDEF USE_TOUCH_INTERFACE}