SDL2-for-Pascal icon indicating copy to clipboard operation
SDL2-for-Pascal copied to clipboard

Unit files for building Free Pascal and Delphi applications using the SDL2 library

Results 18 SDL2-for-Pascal issues
Sort by recently updated
recently updated
newest added

- Updates sdlthread.inc to version 2.26.2 (for the most part) - OS/2-block left out (was not translated beforehand) - Some Todos are left (see comments in code for reference); to...

This PR - adds support for the [fptest testing framework](https://github.com/graemeg/fptest) - modifies fptest to allow checking for pointers (a PR for this is pending) - applies a MacOS fix for...

Hi there, I wonder what would be the best option to react if SDL3 is released. Their [main branch](https://github.com/libsdl-org/SDL) is already dedicated to SDL3. Unfortunately our repo has the version...

discussion

To be in accordance with the code style guidelines, which states to stay as close as possible with the C code, I would suggest the following updates for **sdlatomic.inc**: **Line...

good first issue
to do

See PR #109 and discussion there. In short: - replace the `Strings.StrLen` (FPC) / `AnsiStrings.StrLen` (Delphi) function calls by `SDL_strlen()` function calls - remove dependency from Strings (FPC) / AnsiStrings...

to do

The C header file `SDL_stdinc.h` contains a lot of functions, types and features which are not found in the corresponding` sdlstdinc.inc`. A major review of this file is necessary: -...

to do

This issue is created mainly to clean up todo list of README.MD. Nevertheless, sdlthreads needs a major review and this seems to be a more difficult task.

to do

SetColorKey requires an integer as the second parameter. (SDL_surface.h; line: 446) ```c extern DECLSPEC int SDLCALL SDL_SetColorKey(SDL_Surface * surface, int flag, Uint32 key); ``` And SDL_FALSE & SDL_TRUE are also...

discussion

At the moment we have this file [ctypes.inc](https://github.com/PascalGameDevelopment/SDL2-for-Pascal/blob/master/units/ctypes.inc) to map native c data types for Delphi users. Would it be better to ship the `ctypes` unit from FPC along with...

discussion

Functions to implement: - [SDL_GetWindowMouseRect](https://wiki.libsdl.org/SDL_GetWindowMouseRect) - [SDL_SetWindowMouseRect](https://wiki.libsdl.org/SDL_SetWindowMouseRect) - [SDL_GetWindowMouseGrab](https://wiki.libsdl.org/SDL_GetWindowMouseGrab) - [SDL_SetWindowMouseGrab](https://wiki.libsdl.org/SDL_SetWindowMouseGrab) - [SDL_GetWindowKeyboardGrab](https://wiki.libsdl.org/SDL_GetWindowKeyboardGrab) - [SDL_SetWindowKeyboardGrab](https://wiki.libsdl.org/SDL_SetWindowKeyboardGrab)

to do
discussion