comparison src/video/SDL_sysvideo.h @ 3136:962357f325e1 gsoc2009_IME

Further polish API, fix crash in test program.
author Jiang Jiang <gzjjgod@gmail.com>
date Thu, 06 Aug 2009 08:59:53 +0000
parents f4e553ec6a62
children
comparison
equal deleted inserted replaced
3135:f4e553ec6a62 3136:962357f325e1
276 276
277 /* Suspend the screensaver */ 277 /* Suspend the screensaver */
278 void (*SuspendScreenSaver) (_THIS); 278 void (*SuspendScreenSaver) (_THIS);
279 279
280 /* Text input */ 280 /* Text input */
281 void (*StartTextInput) (_THIS, SDL_Window *window); 281 void (*StartTextInput) (_THIS);
282 void (*StopTextInput) (_THIS); 282 void (*StopTextInput) (_THIS);
283 void (*SetTextInputRect) (_THIS, SDL_Rect *rect); 283 void (*SetTextInputRect) (_THIS, SDL_Rect *rect);
284 284
285 /* * * */ 285 /* * * */
286 /* Data common to all drivers */ 286 /* Data common to all drivers */
426 extern void SDL_OnWindowShown(SDL_Window * window); 426 extern void SDL_OnWindowShown(SDL_Window * window);
427 extern void SDL_OnWindowHidden(SDL_Window * window); 427 extern void SDL_OnWindowHidden(SDL_Window * window);
428 extern void SDL_OnWindowResized(SDL_Window * window); 428 extern void SDL_OnWindowResized(SDL_Window * window);
429 extern void SDL_OnWindowFocusGained(SDL_Window * window); 429 extern void SDL_OnWindowFocusGained(SDL_Window * window);
430 extern void SDL_OnWindowFocusLost(SDL_Window * window); 430 extern void SDL_OnWindowFocusLost(SDL_Window * window);
431 extern SDL_WindowID SDL_GetFocusWindow(void);
432 431
433 #endif /* _SDL_sysvideo_h */ 432 #endif /* _SDL_sysvideo_h */
434 433
435 /* vi: set ts=4 sw=4 expandtab: */ 434 /* vi: set ts=4 sw=4 expandtab: */