Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 4913:6b89d83b0b5a
Windows candidate list support.
Candidate list should now be drawn and function normally.
Tested in XP and 7.
author | Daniel Wyatt <Daniel.Wyatt@gmail.com> |
---|---|
date | Tue, 23 Nov 2010 17:46:47 -0500 |
parents | deadc1219bea |
children | aa8888658021 |
comparison
equal
deleted
inserted
replaced
4912:37576cdf6751 | 4913:6b89d83b0b5a |
---|---|
31 #include "SDL_renderer_gl.h" | 31 #include "SDL_renderer_gl.h" |
32 #include "SDL_renderer_gles.h" | 32 #include "SDL_renderer_gles.h" |
33 #include "SDL_renderer_sw.h" | 33 #include "SDL_renderer_sw.h" |
34 #include "../events/SDL_sysevents.h" | 34 #include "../events/SDL_sysevents.h" |
35 #include "../events/SDL_events_c.h" | 35 #include "../events/SDL_events_c.h" |
36 | |
37 #if SDL_VIDEO_DRIVER_WIN32 | |
38 #include "win32/SDL_win32video.h" | |
39 extern void IME_Present(SDL_VideoData *videodata); | |
40 #endif | |
36 | 41 |
37 #if SDL_VIDEO_OPENGL_ES | 42 #if SDL_VIDEO_OPENGL_ES |
38 #include "SDL_opengles.h" | 43 #include "SDL_opengles.h" |
39 #endif /* SDL_VIDEO_OPENGL_ES */ | 44 #endif /* SDL_VIDEO_OPENGL_ES */ |
40 | 45 |
2685 | 2690 |
2686 renderer = SDL_GetCurrentRenderer(SDL_TRUE); | 2691 renderer = SDL_GetCurrentRenderer(SDL_TRUE); |
2687 if (!renderer || !renderer->RenderPresent) { | 2692 if (!renderer || !renderer->RenderPresent) { |
2688 return; | 2693 return; |
2689 } | 2694 } |
2695 #if SDL_VIDEO_DRIVER_WIN32 | |
2696 IME_Present((SDL_VideoData *)_this->driverdata); | |
2697 #endif | |
2690 renderer->RenderPresent(renderer); | 2698 renderer->RenderPresent(renderer); |
2691 } | 2699 } |
2692 | 2700 |
2693 void | 2701 void |
2694 SDL_DestroyTexture(SDL_Texture * texture) | 2702 SDL_DestroyTexture(SDL_Texture * texture) |