Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 4753:11b0a6a3eb4d
Changed Start/StopTextInput back to not take any parameters.
We call SDL_GetKeyboardFocus internally now.
author | dewyatt |
---|---|
date | Mon, 12 Jul 2010 14:17:43 -0400 |
parents | f3908cd80b10 |
children | 436183eb30c8 |
comparison
equal
deleted
inserted
replaced
4752:dc7bdcf06367 | 4753:11b0a6a3eb4d |
---|---|
3383 } | 3383 } |
3384 return (_this->GetWindowWMInfo(_this, window, info)); | 3384 return (_this->GetWindowWMInfo(_this, window, info)); |
3385 } | 3385 } |
3386 | 3386 |
3387 void | 3387 void |
3388 SDL_StartTextInput(SDL_Window *window) | 3388 SDL_StartTextInput(void) |
3389 { | 3389 { |
3390 if (_this && _this->StartTextInput) { | 3390 if (_this && _this->StartTextInput) { |
3391 _this->StartTextInput(_this, window); | 3391 _this->StartTextInput(_this); |
3392 } | 3392 } |
3393 SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE); | 3393 SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE); |
3394 SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE); | 3394 SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE); |
3395 } | 3395 } |
3396 | 3396 |
3397 void | 3397 void |
3398 SDL_StopTextInput(SDL_Window *window) | 3398 SDL_StopTextInput(void) |
3399 { | 3399 { |
3400 if (_this && _this->StopTextInput) { | 3400 if (_this && _this->StopTextInput) { |
3401 _this->StopTextInput(_this, window); | 3401 _this->StopTextInput(_this); |
3402 } | 3402 } |
3403 SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE); | 3403 SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE); |
3404 SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE); | 3404 SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE); |
3405 } | 3405 } |
3406 | 3406 |