X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=a5271c8152a1597d81fd585d0465c3c51e9739d6;hb=2c611010f9bd58f6b2d61ed6e4d5c5730a191a7e;hp=dfdd4a407e239f84ecd3f0593715983600be7505;hpb=5a53ae0c5ee5c9c61fdc3a103b92a8a85add50d2;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index dfdd4a40..a5271c81 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -386,8 +386,12 @@ typedef struct UserEventInfo UserEvent; KMOD_Meta | \ KMOD_Alt) +#define KMOD_TextInput (KMOD_Shift | KMOD_Alt_R) + + // SDL function definitions +void SDLSetAlpha(SDL_Surface *, boolean, int); const char *SDLGetRendererName(void); boolean SDLSetNativeSurface(SDL_Surface **); SDL_Surface *SDLGetNativeSurface(SDL_Surface *);