sdl2/lib_sdl_ex library
Constants
- SDLK_AC_BACK → const int
- SDLK_AC_BOOKMARKS → const int
- SDLK_AC_FORWARD → const int
- SDLK_AC_HOME → const int
- SDLK_AC_REFRESH → const int
- SDLK_AC_SEARCH → const int
- SDLK_AC_STOP → const int
- SDLK_AGAIN → const int
- SDLK_ALTERASE → const int
- SDLK_APPLICATION → const int
- SDLK_AUDIOMUTE → const int
- SDLK_AUDIONEXT → const int
- SDLK_AUDIOPLAY → const int
- SDLK_AUDIOPREV → const int
- SDLK_AUDIOSTOP → const int
- SDLK_BRIGHTNESSDOWN → const int
- SDLK_BRIGHTNESSUP → const int
- SDLK_CALCULATOR → const int
- SDLK_CANCEL → const int
- SDLK_CAPSLOCK → const int
- SDLK_CLEAR → const int
- SDLK_CLEARAGAIN → const int
- SDLK_COMPUTER → const int
- SDLK_COPY → const int
- SDLK_CRSEL → const int
- SDLK_CURRENCYSUBUNIT → const int
- SDLK_CURRENCYUNIT → const int
- SDLK_CUT → const int
- SDLK_DECIMALSEPARATOR → const int
- SDLK_DISPLAYSWITCH → const int
- SDLK_DOWN → const int
- SDLK_EJECT → const int
- SDLK_END → const int
- SDLK_EXECUTE → const int
- SDLK_EXSEL → const int
- SDLK_F1 → const int
- SDLK_F10 → const int
- SDLK_F11 → const int
- SDLK_F12 → const int
- SDLK_F13 → const int
- SDLK_F14 → const int
- SDLK_F15 → const int
- SDLK_F16 → const int
- SDLK_F17 → const int
- SDLK_F18 → const int
- SDLK_F19 → const int
- SDLK_F2 → const int
- SDLK_F20 → const int
- SDLK_F21 → const int
- SDLK_F22 → const int
- SDLK_F23 → const int
- SDLK_F24 → const int
- SDLK_F3 → const int
- SDLK_F4 → const int
- SDLK_F5 → const int
- SDLK_F6 → const int
- SDLK_F7 → const int
- SDLK_F8 → const int
- SDLK_F9 → const int
- SDLK_FIND → const int
- SDLK_HELP → const int
- SDLK_HOME → const int
- SDLK_INSERT → const int
- SDLK_KBDILLUMDOWN → const int
- SDLK_KBDILLUMTOGGLE → const int
- SDLK_KBDILLUMUP → const int
- SDLK_KP_0 → const int
- SDLK_KP_00 → const int
- SDLK_KP_000 → const int
- SDLK_KP_1 → const int
- SDLK_KP_2 → const int
- SDLK_KP_3 → const int
- SDLK_KP_4 → const int
- SDLK_KP_5 → const int
- SDLK_KP_6 → const int
- SDLK_KP_7 → const int
- SDLK_KP_8 → const int
- SDLK_KP_9 → const int
- SDLK_KP_A → const int
- SDLK_KP_AMPERSAND → const int
- SDLK_KP_AT → const int
- SDLK_KP_B → const int
- SDLK_KP_BACKSPACE → const int
- SDLK_KP_BINARY → const int
- SDLK_KP_C → const int
- SDLK_KP_CLEAR → const int
- SDLK_KP_CLEARENTRY → const int
- SDLK_KP_COLON → const int
- SDLK_KP_COMMA → const int
- SDLK_KP_D → const int
- SDLK_KP_DBLAMPERSAND → const int
- SDLK_KP_DBLVERTICALBAR → const int
- SDLK_KP_DECIMAL → const int
- SDLK_KP_DIVIDE → const int
- SDLK_KP_E → const int
- SDLK_KP_ENTER → const int
- SDLK_KP_EQUALS → const int
- SDLK_KP_EQUALSAS400 → const int
- SDLK_KP_EXCLAM → const int
- SDLK_KP_F → const int
- SDLK_KP_GREATER → const int
- SDLK_KP_HASH → const int
- SDLK_KP_HEXADECIMAL → const int
- SDLK_KP_LEFTBRACE → const int
- SDLK_KP_LEFTPAREN → const int
- SDLK_KP_LESS → const int
- SDLK_KP_MEMADD → const int
- SDLK_KP_MEMCLEAR → const int
- SDLK_KP_MEMDIVIDE → const int
- SDLK_KP_MEMMULTIPLY → const int
- SDLK_KP_MEMRECALL → const int
- SDLK_KP_MEMSTORE → const int
- SDLK_KP_MEMSUBTRACT → const int
- SDLK_KP_MINUS → const int
- SDLK_KP_MULTIPLY → const int
- SDLK_KP_OCTAL → const int
- SDLK_KP_PERCENT → const int
- SDLK_KP_PERIOD → const int
- SDLK_KP_PLUS → const int
- SDLK_KP_PLUSMINUS → const int
- SDLK_KP_POWER → const int
- SDLK_KP_RIGHTBRACE → const int
- SDLK_KP_RIGHTPAREN → const int
- SDLK_KP_SPACE → const int
- SDLK_KP_TAB → const int
- SDLK_KP_VERTICALBAR → const int
- SDLK_KP_XOR → const int
- SDLK_LALT → const int
- SDLK_LCTRL → const int
- SDLK_LEFT → const int
- SDLK_LGUI → const int
- SDLK_LSHIFT → const int
- SDLK_MAIL → const int
- SDLK_MEDIASELECT → const int
- SDLK_MENU → const int
- SDLK_MODE → const int
- SDLK_MUTE → const int
- SDLK_NUMLOCKCLEAR → const int
- SDLK_OPER → const int
- SDLK_OUT → const int
- SDLK_PAGEDOWN → const int
- SDLK_PAGEUP → const int
- SDLK_PASTE → const int
- SDLK_PAUSE → const int
- SDLK_POWER → const int
- SDLK_PRINTSCREEN → const int
- SDLK_PRIOR → const int
- SDLK_RALT → const int
- SDLK_RCTRL → const int
- SDLK_RETURN2 → const int
- SDLK_RGUI → const int
- SDLK_RIGHT → const int
- SDLK_RSHIFT → const int
- SDLK_SCROLLLOCK → const int
- SDLK_SELECT → const int
- SDLK_SEPARATOR → const int
- SDLK_SLEEP → const int
- SDLK_STOP → const int
- SDLK_SYSREQ → const int
- SDLK_THOUSANDSSEPARATOR → const int
- SDLK_UNDO → const int
- SDLK_UP → const int
- SDLK_VOLUMEDOWN → const int
- SDLK_VOLUMEUP → const int
- SDLK_WWW → const int
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_PIXELFORMAT_ABGR1555 → int
-
final
- SDL_PIXELFORMAT_ABGR32 → int
-
final
- SDL_PIXELFORMAT_ABGR4444 → int
-
final
- SDL_PIXELFORMAT_ABGR8888 → int
-
final
- SDL_PIXELFORMAT_ARGB1555 → int
-
final
- SDL_PIXELFORMAT_ARGB2101010 → int
-
final
- SDL_PIXELFORMAT_ARGB32 → int
-
final
- SDL_PIXELFORMAT_ARGB4444 → int
-
final
- SDL_PIXELFORMAT_ARGB8888 → int
-
final
- SDL_PIXELFORMAT_BGR24 → int
-
final
- SDL_PIXELFORMAT_BGR444 → int
-
final
- SDL_PIXELFORMAT_BGR555 → int
-
final
- SDL_PIXELFORMAT_BGR565 → int
-
final
- SDL_PIXELFORMAT_BGR888 → int
-
final
- SDL_PIXELFORMAT_BGRA32 → int
-
final
- SDL_PIXELFORMAT_BGRA4444 → int
-
final
- SDL_PIXELFORMAT_BGRA5551 → int
-
final
- SDL_PIXELFORMAT_BGRA8888 → int
-
final
- SDL_PIXELFORMAT_BGRX8888 → int
-
final
- SDL_PIXELFORMAT_INDEX1LSB → int
-
final
- SDL_PIXELFORMAT_INDEX1MSB → int
-
final
- SDL_PIXELFORMAT_INDEX4LSB → int
-
final
- SDL_PIXELFORMAT_INDEX4MSB → int
-
final
- SDL_PIXELFORMAT_INDEX8 → int
-
final
- SDL_PIXELFORMAT_RGB24 → int
-
final
- SDL_PIXELFORMAT_RGB332 → int
-
final
- SDL_PIXELFORMAT_RGB444 → int
-
final
- SDL_PIXELFORMAT_RGB555 → int
-
final
- SDL_PIXELFORMAT_RGB565 → int
-
final
- SDL_PIXELFORMAT_RGB888 → int
-
final
- SDL_PIXELFORMAT_RGBA32 → int
-
final
- SDL_PIXELFORMAT_RGBA4444 → int
-
final
- SDL_PIXELFORMAT_RGBA5551 → int
-
final
- SDL_PIXELFORMAT_RGBA8888 → int
-
final
- SDL_PIXELFORMAT_RGBX8888 → int
-
final
- SDL_PIXELFORMAT_XBGR1555 → int
-
final
- SDL_PIXELFORMAT_XBGR4444 → int
-
final
- SDL_PIXELFORMAT_XBGR8888 → int
-
final
- SDL_PIXELFORMAT_XRGB1555 → int
-
final
- SDL_PIXELFORMAT_XRGB4444 → int
-
final
- SDL_PIXELFORMAT_XRGB8888 → int
-
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
-
sdlBlitScaled(
Pointer< SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) → int -
const SDL_BlitScaled = SDL_UpperBlitScaled;
-
sdlBlitSurface(
Pointer< SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) → int -
const SDL_BlitSurface = SDL_UpperBlit;
-
sdlButton(
int x) → int -
const SDL_BUTTON = (X) (1 << ((X)-1));
-
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);
-
sdlLoadBmp(
String file) → Pointer< SdlSurface> -
const SDL_LoadBMP = (file) SDL_LoadBMP_RW(SDL_RWFromFile(file, 'rb'), 1);
-
sdlLoadWav(
String file, Pointer< SdlAudioSpec> spec, Pointer<Pointer< audioBuf, Pointer<Uint8> >Uint32> audioLen) → Pointer<SdlAudioSpec> -
sdlSaveBmp(
Pointer< SdlSurface> surface, String file) → int -
const SDL_SaveBMP = (surface, file) \ SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, 'wb'), 1);
-
sdlScancodeToKeycode(
int x) → int -
sdlVersion(
Pointer< SdlVersion> x) → void -
const SDL_VERSION = (x) \{ \ (x)->major = SDL_MAJOR_VERSION; \ (x)->minor = SDL_MINOR_VERSION; \ (x)->patch = SDL_PATCHLEVEL; \};
-
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_VERSIONNUM = (X, Y, Z) \ ((X)*1000 + (Y)*100 + (Z));
-
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));