comparison src/video/x11/SDL_x11dyn.h @ 2325:c7bcf84ba1b9

Next version of internationalized input for X11. On my machine (famous last words :-) with a US English keyboard and locale I can compose ` and e and get a text input event with the character รจ. You still get the keypress keyrelease events for the individual keys that go into composing the character.
author Bob Pendleton <bob@pendleton.com>
date Fri, 07 Mar 2008 20:54:11 +0000
parents a344e42bce3b
children 44e49d3fa6cf
comparison
equal deleted inserted replaced
2324:3202e4826c57 2325:c7bcf84ba1b9
66 xEvent *); 66 xEvent *);
67 67
68 int SDL_X11_LoadSymbols(void); 68 int SDL_X11_LoadSymbols(void);
69 void SDL_X11_UnloadSymbols(void); 69 void SDL_X11_UnloadSymbols(void);
70 70
71 /* That's really annoying...make this a function pointer no matter what. */ 71 /* That's really annoying...make these function pointers no matter what. */
72 #ifdef X_HAVE_UTF8_STRING 72 #ifdef X_HAVE_UTF8_STRING
73 extern XIC(*pXCreateIC) (XIM, ...); 73 extern XIC(*pXCreateIC) (XIM, ...);
74 extern char *(*pXGetICValues) (XIC, ...);
74 #endif 75 #endif
75 76
76 /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */ 77 /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */
77 #define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname; 78 #define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname;
78 #define SDL_X11_SYM(rc,fn,params,args,ret) 79 #define SDL_X11_SYM(rc,fn,params,args,ret)