Giter Club home page Giter Club logo

Comments (5)

ev1313 avatar ev1313 commented on June 23, 2024

got atm no pascal compiler running and can't test it, can anyone create a (tested) pull request for this? else i'll fix it in a few days.

from pascal-sdl-2-headers.

Free-Pascal-meets-SDL-Website avatar Free-Pascal-meets-SDL-Website commented on June 23, 2024

Struggle with time here, too, atm. On a short examination I also noticed
that SDL_SYSWM_ANDROID seems to be missing in sdlsyswm.inc at SysWMinfo
record:

{**

  • The custom window manager information structure.
  • When this structure is returned, it holds information about which
  • low level system it is using, and will be one of SDL_SYSWM_TYPE.
    }
    PSDL_SysWMinfo = ^TSDL_SysWMinfo;
    TSDL_SysWMinfo = record
    version: TSDL_version;
    Case subsystem: TSDL_SYSWM_TYPE of
    (
    Cannot have empty record case *)
    SDL_SYSWM_UNKNOWN: (dummy: sInt32);
    {$IFDEF SDL_VIDEO_DRIVER_WINDOWS}
    SDL_SYSWM_WINDOWS: (win : __WMINFO_WINDOWS);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_WINRT}
    SDL_SYSWM_WINRT: (winrt : __WMINFO_WINRT);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_X11}
    SDL_SYSWM_X11: (x11 : __WMINFO_X11);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_DIRECTFB}
    SDL_SYSWM_DIRECTFB: (dfb : __WMINFO_DFB);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_COCOA}
    SDL_SYSWM_COCOA: (cocoa : __WMINFO_COCOA);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_UIKIT}
    SDL_SYSWM_UIKIT: (uikit : __WMINFO_UIKIT);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_WAYLAND}
    SDL_SYSWM_WAYLAND: (wl : __WMINFO_WAYLAND);
    {$ENDIF}
    {$IFDEF SDL_VIDEO_DRIVER_MIR}
    SDL_SYSWM_MIR: (mir : __WMINFO_MIR);
    {$ENDIF}
    end;

from pascal-sdl-2-headers.

ev1313 avatar ev1313 commented on June 23, 2024

Is this structure defined in the header itself or only in the C source? if it's in the sources, then it's not necessary implementing it.

from pascal-sdl-2-headers.

gr-pasc avatar gr-pasc commented on June 23, 2024

This patch takes care of the original issue.

sdlsyswm.inc.patch.txt

from pascal-sdl-2-headers.

ev1313 avatar ev1313 commented on June 23, 2024

thanks to @gr-pasc fixed now #50

from pascal-sdl-2-headers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.