sdl3/lib_sdl_ex library

Properties

SDL_BUTTON_LMASK int
const SDL_BUTTON_LMASK = SDL_BUTTON(SDL_BUTTON_LEFT);
final
SDL_BUTTON_MMASK int
const SDL_BUTTON_MMASK = SDL_BUTTON(SDL_BUTTON_MIDDLE);
final
SDL_BUTTON_RMASK int
const SDL_BUTTON_RMASK = SDL_BUTTON(SDL_BUTTON_RIGHT);
final
SDL_BUTTON_X1MASK int
const SDL_BUTTON_X1MASK = SDL_BUTTON(SDL_BUTTON_X1);
final
SDL_BUTTON_X2MASK int
const SDL_BUTTON_X2MASK = SDL_BUTTON(SDL_BUTTON_X2);
final
SDL_COMPILEDVERSION int
const SDL_COMPILEDVERSION = \ SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
final
SDL_WINDOWPOS_CENTERED int
const SDL_WINDOWPOS_CENTERED = SDL_WINDOWPOS_CENTERED_DISPLAY(0);
final
SDL_WINDOWPOS_UNDEFINED int
const SDL_WINDOWPOS_UNDEFINED = SDL_WINDOWPOS_UNDEFINED_DISPLAY(0);
final

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