• Show log

    Commit

  • Hash : e061a92d
    Author : Ryan C. Gordon
    Date : 2018-08-02T16:03:47

    Some drag'and'drop improvements.
    
    First: disable d'n'd events by default; most apps don't need these at all, and
    if an app doesn't explicitly handle these, each drop on the window will cause
    a memory leak if the events are enabled. This follows the guidelines we have
    for SDL_TEXTINPUT events already.
    
    Second: when events are enabled or disabled, signal the video layer, as it
    might be able to inform the OS, causing UI changes or optimizations (for
    example, dropping a file icon on a Cocoa app that isn't accepting drops will
    cause macOS to show a rejection animation instead of the drop operation just
    vanishing into the ether, X11 might show a different cursor when dragging
    onto an accepting window, etc).
    
    Third: fill in the drop event details in the test library and enable the
    events in testwm.c for making sure this all works as expected.
    

  • 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 www_kmx_io thodg_l thodg
    Tags

  • README.txt

  •                          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)