Rev 8211 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8211 | Rev 8494 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
- | 2 | #include |
|
2 | #include |
3 | #include |
3 | #include |
4 | #include |
4 | #include "SDL.h" |
5 | #include "SDL.h" |
5 | #include "SDL_sysevents.h" |
6 | #include "SDL_sysevents.h" |
6 | #include "SDL_sysvideo.h" |
7 | #include "SDL_sysvideo.h" |
Line 196... | Line 197... | ||
196 | ext_code = 0; |
197 | ext_code = 0; |
197 | if (!key.sym) break; |
198 | if (!key.sym) break; |
198 | SDL_PrivateKeyboard(code,&key); |
199 | SDL_PrivateKeyboard(code,&key); |
199 | break; |
200 | break; |
200 | case 3: |
201 | case 3: |
201 | if(__menuet__get_button_id()==1) exit(0); |
202 | if(get_os_button()==1) exit(0); |
202 | break; |
203 | break; |
203 | case 6: { |
204 | case 6: { |
204 | int __tmp,mx,my; |
205 | int __tmp,mx,my; |
205 | static int oldmousestate = 0; |
206 | static int oldmousestate = 0; |
206 | __asm__("int $0x40":"=a"(__tmp):"a"(37),"b"(1)); |
207 | __asm__("int $0x40":"=a"(__tmp):"a"(37),"b"(1)); |