Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 3135:f4e553ec6a62 gsoc2009_IME
Update API, first step: make it build
author | Jiang Jiang <gzjjgod@gmail.com> |
---|---|
date | Thu, 06 Aug 2009 08:56:48 +0000 |
parents | fef1a835af43 |
children | 962357f325e1 |
comparison
equal
deleted
inserted
replaced
3134:f896821736fb | 3135:f4e553ec6a62 |
---|---|
3066 } | 3066 } |
3067 return (_this->GetWindowWMInfo(_this, window, info)); | 3067 return (_this->GetWindowWMInfo(_this, window, info)); |
3068 } | 3068 } |
3069 | 3069 |
3070 void | 3070 void |
3071 SDL_StartTextInput(SDL_Rect *rect) | 3071 SDL_StartTextInput(SDL_WindowID windowID) |
3072 { | 3072 { |
3073 SDL_Window *window = SDL_GetWindowFromID(windowID); | |
3074 | |
3073 if (_this->StartTextInput) { | 3075 if (_this->StartTextInput) { |
3074 _this->StartTextInput(_this, rect); | 3076 _this->StartTextInput(_this, window); |
3077 } | |
3078 } | |
3079 | |
3080 void | |
3081 SDL_StopTextInput(void) | |
3082 { | |
3083 if (_this->StopTextInput) { | |
3084 _this->StopTextInput(_this); | |
3085 } | |
3086 } | |
3087 | |
3088 void | |
3089 SDL_SetTextInputRect(SDL_Rect *rect) | |
3090 { | |
3091 if (_this->SetTextInputRect) { | |
3092 _this->SetTextInputRect(_this, rect); | |
3075 } | 3093 } |
3076 } | 3094 } |
3077 | 3095 |
3078 /* vi: set ts=4 sw=4 expandtab: */ | 3096 /* vi: set ts=4 sw=4 expandtab: */ |