comparison src/video/x11/SDL_x11sym.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 fbe8ff44c519
children 44e49d3fa6cf
comparison
equal deleted inserted replaced
2324:3202e4826c57 2325:c7bcf84ba1b9
154 SDL_X11_MODULE(UTF8) 154 SDL_X11_MODULE(UTF8)
155 SDL_X11_SYM(int,Xutf8TextListToTextProperty,(Display* a,char** b,int c,XICCEncodingStyle d,XTextProperty* e),(a,b,c,d,e),return) 155 SDL_X11_SYM(int,Xutf8TextListToTextProperty,(Display* a,char** b,int c,XICCEncodingStyle d,XTextProperty* e),(a,b,c,d,e),return)
156 SDL_X11_SYM(int,Xutf8LookupString,(XIC a,XKeyPressedEvent* b,char* c,int d,KeySym* e,Status* f),(a,b,c,d,e,f),return) 156 SDL_X11_SYM(int,Xutf8LookupString,(XIC a,XKeyPressedEvent* b,char* c,int d,KeySym* e,Status* f),(a,b,c,d,e,f),return)
157 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */ 157 /*SDL_X11_SYM(XIC,XCreateIC,(XIM, ...),return) !!! ARGH! */
158 SDL_X11_SYM(void,XDestroyIC,(XIC a),(a),) 158 SDL_X11_SYM(void,XDestroyIC,(XIC a),(a),)
159 /*SDL_X11_SYM(char*,XGetICValues,(XIC, ...),return) !!! ARGH! */
159 SDL_X11_SYM(void,XSetICFocus,(XIC a),(a),) 160 SDL_X11_SYM(void,XSetICFocus,(XIC a),(a),)
160 SDL_X11_SYM(void,XUnsetICFocus,(XIC a),(a),) 161 SDL_X11_SYM(void,XUnsetICFocus,(XIC a),(a),)
161 SDL_X11_SYM(XIM,XOpenIM,(Display* a,struct _XrmHashBucketRec* b,char* c,char* d),(a,b,c,d),return) 162 SDL_X11_SYM(XIM,XOpenIM,(Display* a,struct _XrmHashBucketRec* b,char* c,char* d),(a,b,c,d),return)
162 SDL_X11_SYM(Status,XCloseIM,(XIM a),(a),return) 163 SDL_X11_SYM(Status,XCloseIM,(XIM a),(a),return)
163 #endif 164 #endif