Mercurial > sdl-ios-xcode
comparison test/testwm.c @ 1779:67fc81efcfc3
Made it easier to test some things on the framebuffer console
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 08 May 2006 05:30:15 +0000 |
parents | 290b5baf2fca |
children | c121d94672cb 14195cfdb66e |
comparison
equal
deleted
inserted
replaced
1778:e28233f37f8c | 1779:67fc81efcfc3 |
---|---|
178 /* See what happened */ | 178 /* See what happened */ |
179 printf("App %s ", | 179 printf("App %s ", |
180 event->active.gain ? "gained" : "lost"); | 180 event->active.gain ? "gained" : "lost"); |
181 if ( event->active.state & SDL_APPACTIVE ) | 181 if ( event->active.state & SDL_APPACTIVE ) |
182 printf("active "); | 182 printf("active "); |
183 if ( event->active.state & SDL_APPINPUTFOCUS ) | |
184 printf("input "); | |
183 if ( event->active.state & SDL_APPMOUSEFOCUS ) | 185 if ( event->active.state & SDL_APPMOUSEFOCUS ) |
184 printf("mouse "); | 186 printf("mouse "); |
185 if ( event->active.state & SDL_APPINPUTFOCUS ) | |
186 printf("input "); | |
187 printf("focus\n"); | 187 printf("focus\n"); |
188 | 188 |
189 /* See if we are iconified or restored */ | 189 /* See if we are iconified or restored */ |
190 if ( event->active.state & SDL_APPACTIVE ) { | 190 if ( event->active.state & SDL_APPACTIVE ) { |
191 printf("App has been %s\n", | 191 printf("App has been %s\n", |