Mercurial > sdl-ios-xcode
comparison test/testalpha.c @ 1659:14717b52abc0 SDL-1.3
Merge trunk-1.3-3
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 17 May 2006 08:18:28 +0000 |
parents | 4d241ea8a1cd |
children | 782fd950bd46 c121d94672cb b2f59aadec0d |
comparison
equal
deleted
inserted
replaced
1658:e49147870aac | 1659:14717b52abc0 |
---|---|
503 SDL_FillRect(screen, &area, 0); | 503 SDL_FillRect(screen, &area, 0); |
504 SDL_UpdateRects(screen,1,&area); | 504 SDL_UpdateRects(screen,1,&area); |
505 } | 505 } |
506 break; | 506 break; |
507 case SDL_KEYDOWN: | 507 case SDL_KEYDOWN: |
508 /* Any keypress quits the app... */ | 508 if ( event.key.keysym.sym == SDLK_ESCAPE ) { |
509 done = 1; | |
510 } | |
511 break; | |
509 case SDL_QUIT: | 512 case SDL_QUIT: |
510 done = 1; | 513 done = 1; |
511 break; | 514 break; |
512 default: | 515 default: |
513 break; | 516 break; |