Mercurial > sdl-ios-xcode
comparison test/threadwin.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 | be9c9c8f6d53 |
children | 782fd950bd46 c121d94672cb 3868bebb9f5b |
comparison
equal
deleted
inserted
replaced
1658:e49147870aac | 1659:14717b52abc0 |
---|---|
75 } | 75 } |
76 *maskp = mask; | 76 *maskp = mask; |
77 return(icon); | 77 return(icon); |
78 } | 78 } |
79 | 79 |
80 int FilterEvents(const SDL_Event *event) | 80 int SDLCALL FilterEvents(const SDL_Event *event) |
81 { | 81 { |
82 static int reallyquit = 0; | 82 static int reallyquit = 0; |
83 | 83 |
84 switch (event->type) { | 84 switch (event->type) { |
85 | 85 |
125 default: | 125 default: |
126 return(0); | 126 return(0); |
127 } | 127 } |
128 } | 128 } |
129 | 129 |
130 int HandleMouse(void *unused) | 130 int SDLCALL HandleMouse(void *unused) |
131 { | 131 { |
132 SDL_Event events[10]; | 132 SDL_Event events[10]; |
133 int i, found; | 133 int i, found; |
134 Uint32 mask; | 134 Uint32 mask; |
135 | 135 |
162 SDL_Delay(20); | 162 SDL_Delay(20); |
163 } | 163 } |
164 return(0); | 164 return(0); |
165 } | 165 } |
166 | 166 |
167 int HandleKeyboard(void *unused) | 167 int SDLCALL HandleKeyboard(void *unused) |
168 { | 168 { |
169 SDL_Event events[10]; | 169 SDL_Event events[10]; |
170 int i, found; | 170 int i, found; |
171 Uint32 mask; | 171 Uint32 mask; |
172 | 172 |