summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/screenhack.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-09 11:22:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-09 11:22:36 +0000
commit0e419987e48b006104748118fa28161484b7dfa1 (patch)
tree45c1c1fe81309615e1e6d239183b677be90feb41 /uisimulator/sdl/screenhack.h
parentd2a10f5676a4ab53aec437bd5976e2aef6bde0a4 (diff)
downloadrockbox-0e419987e48b006104748118fa28161484b7dfa1.tar.gz
rockbox-0e419987e48b006104748118fa28161484b7dfa1.zip
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
simulator with the hope that once it works fine, we can remove the other two and only have one unified simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/screenhack.h')
-rw-r--r--uisimulator/sdl/screenhack.h33
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
27extern void screenhack();
28extern int screenhack_handle_event(SDL_Event*, bool *);
29extern int screenhack_handle_events(bool *);
30extern void screen_redraw();
31extern void screen_resized();
32
33#endif /* __SCREENHACK_H__ */