sdl3/lib_sdl_ex
library
Functions
-
sdlButton(int x)
→ int
-
/const SDLK_AUDIONEXT = SDL_SCANCODE_AUDIONEXT | SDLK_SCANCODE_MASK;
/const SDLK_AUDIOPREV = SDL_SCANCODE_AUDIOPREV | SDLK_SCANCODE_MASK;
/const SDLK_AUDIOSTOP = SDL_SCANCODE_AUDIOSTOP | SDLK_SCANCODE_MASK;
/const SDLK_AUDIOPLAY = SDL_SCANCODE_AUDIOPLAY | SDLK_SCANCODE_MASK;
/const SDLK_AUDIOMUTE = SDL_SCANCODE_AUDIOMUTE | SDLK_SCANCODE_MASK;
/const SDLK_MEDIASELECT = SDL_SCANCODE_MEDIASELECT | SDLK_SCANCODE_MASK;
/const SDLK_WWW = SDL_SCANCODE_WWW | SDLK_SCANCODE_MASK;
/const SDLK_MAIL = SDL_SCANCODE_MAIL | SDLK_SCANCODE_MASK;
/const SDLK_CALCULATOR = SDL_SCANCODE_CALCULATOR | SDLK_SCANCODE_MASK;
/const SDLK_COMPUTER = SDL_SCANCODE_COMPUTER | SDLK_SCANCODE_MASK;
-
sdlDefinePixcelFormat(int type, int order, int layout, int bits, int bytes)
→ int
-
-
sdlIconvUtf8Locate(String s)
→ Pointer<Int8>
-
const SDL_iconv_utf8_locale = (S) SDL_iconv_string('', 'UTF-8', S, SDL_strlen(S)+1);
-
sdlIconvUtf8Ucs2(String s)
→ Pointer<Uint16>
-
const SDL_iconv_utf8_ucs2 = (S) (Uint16 *)SDL_iconv_string('UCS-2-INTERNAL', 'UTF-8', S, SDL_strlen(S)+1);
-
sdlIconvUtf8Ucs4(String s)
→ Pointer<Uint32>
-
const SDL_iconv_utf8_ucs4 = (S) (Uint32 *)SDL_iconv_string('UCS-4-INTERNAL', 'UTF-8', S, SDL_strlen(S)+1);
-
sdlScancodeToKeycode(int x)
→ int
-
-
sdlVersionAtleast(int x, int y, int z)
→ bool
-
const SDL_VERSION_ATLEAST = (X, Y, Z) \ (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));
-
sdlVersionnum(int x, int y, int z)
→ int
-
const SDL_VERSION = (x) \{ \ (x)->major = SDL_MAJOR_VERSION; \ (x)->minor = SDL_MINOR_VERSION; \ (x)->patch = SDL_PATCHLEVEL; \};
-
sdlWindowposCenteredDisplay(int x)
→ int
-
const SDL_WINDOWPOS_CENTERED_DISPLAY = (X) (SDL_WINDOWPOS_CENTERED_MASK|(X));
-
sdlWindowposIscentered(int x)
→ bool
-
const SDL_WINDOWPOS_ISCENTERED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK);
-
sdlWindowposIsundefined(int x)
→ bool
-
const SDL_WINDOWPOS_ISUNDEFINED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK);
-
sdlWindowposUndefinedDisplay(int x)
→ int
-
SDL_WINDOWPOS_UNDEFINED_DISPLAY = (X) (SDL_WINDOWPOS_UNDEFINED_MASK|(X));