diff options
Diffstat (limited to 'uisimulator/sdl/screenhack.h')
-rw-r--r-- | uisimulator/sdl/screenhack.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/uisimulator/sdl/screenhack.h b/uisimulator/sdl/screenhack.h new file mode 100644 index 0000000000..4c7a8307a4 --- /dev/null +++ b/uisimulator/sdl/screenhack.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* xscreensaver, Copyright (c) 1992-1997 Jamie Zawinski <jwz@jwz.org> | ||
2 | * | ||
3 | * Permission to use, copy, modify, distribute, and sell this software and its | ||
4 | * documentation for any purpose is hereby granted without fee, provided that | ||
5 | * the above copyright notice appear in all copies and that both that | ||
6 | * copyright notice and this permission notice appear in supporting | ||
7 | * documentation. No representations are made about the suitability of this | ||
8 | * software for any purpose. It is provided "as is" without express or | ||
9 | * implied warranty. | ||
10 | */ | ||
11 | |||
12 | #ifndef __SCREENHACK_H__ | ||
13 | #define __SCREENHACK_H__ | ||
14 | |||
15 | #include <stdlib.h> | ||
16 | #include <stdbool.h> | ||
17 | |||
18 | #ifdef __hpux | ||
19 | /* Which of the ten billion standards does values.h belong to? | ||
20 | What systems always have it? */ | ||
21 | # include <values.h> | ||
22 | #endif | ||
23 | |||
24 | #include <stdio.h> | ||
25 | #include <SDL.h> | ||
26 | |||
27 | extern void screenhack(); | ||
28 | extern int screenhack_handle_event(SDL_Event*, bool *); | ||
29 | extern int screenhack_handle_events(bool *); | ||
30 | extern void screen_redraw(); | ||
31 | extern void screen_resized(); | ||
32 | |||
33 | #endif /* __SCREENHACK_H__ */ | ||