Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoavideo.h @ 3130:fef1a835af43 gsoc2009_IME
Basic text input API
author | Jiang Jiang <gzjjgod@gmail.com> |
---|---|
date | Fri, 26 Jun 2009 10:37:57 +0000 |
parents | 54fac87e1f34 |
children | 1ab77e93a6c9 |
comparison
equal
deleted
inserted
replaced
3129:e42873b9c6f1 | 3130:fef1a835af43 |
---|---|
39 #include "SDL_cocoaopengl.h" | 39 #include "SDL_cocoaopengl.h" |
40 #include "SDL_cocoawindow.h" | 40 #include "SDL_cocoawindow.h" |
41 | 41 |
42 /* Private display data */ | 42 /* Private display data */ |
43 | 43 |
44 @class SDLTranslatorResponder; | |
45 | |
44 typedef struct SDL_VideoData | 46 typedef struct SDL_VideoData |
45 { | 47 { |
46 SInt32 osversion; | 48 SInt32 osversion; |
47 unsigned int modifierFlags; | 49 unsigned int modifierFlags; |
48 int mouse; | 50 int mouse; |
49 int keyboard; | 51 int keyboard; |
50 void *key_layout; | 52 void *key_layout; |
51 NSText *fieldEdit; | 53 SDLTranslatorResponder *fieldEdit; |
52 Uint32 screensaver_activity; | 54 Uint32 screensaver_activity; |
53 } SDL_VideoData; | 55 } SDL_VideoData; |
54 | 56 |
55 #endif /* _SDL_cocoavideo_h */ | 57 #endif /* _SDL_cocoavideo_h */ |
56 | 58 |