• Show log

    Commit

  • Hash : 4b42c05b
    Author : Ethan Lee
    Date : 2021-11-08T13:52:48

    video: Add SDL_SetWindowMouseRect.
    
    This API and implementation comes from the Unreal Engine branch of SDL, which
    originally called this "SDL_ConfineCursor".
    
    Some minor cleanup and changes for consistency with the rest of SDL_video, but
    there are two major changes:
    
    1. The coordinate system has been changed so that `rect` is _window_ relative
       and not _screen_ relative, making it easier to implement without having
       global access to the display.
    2. The UE version unset all rects when passing `NULL` as a parameter for
       `window`, this has been removed as it was an unused feature anyhow.
    
    Currently this is only implemented for X, but can be supported on Wayland and
    Windows at minimum too.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)