summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/lcd-sdl.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-26 13:37:42 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-26 13:37:42 +0000
commit6a972e02497d3015236189f72931c3d59fa51755 (patch)
tree0c0185dd66b47d7d1ee2d91e4a3ffb6dbabcc7d1 /uisimulator/sdl/lcd-sdl.h
parent14fe89aa8d2ef05595bdba0e0b78f021f3e8d087 (diff)
downloadrockbox-6a972e02497d3015236189f72931c3d59fa51755.tar.gz
rockbox-6a972e02497d3015236189f72931c3d59fa51755.zip
Finally - grayscale library support for the simulators. Currently SDL only, win32 and x11 won't link anymore due to missing simulator functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/lcd-sdl.h')
-rw-r--r--uisimulator/sdl/lcd-sdl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/uisimulator/sdl/lcd-sdl.h b/uisimulator/sdl/lcd-sdl.h
index d371639a64..10c2ea74b5 100644
--- a/uisimulator/sdl/lcd-sdl.h
+++ b/uisimulator/sdl/lcd-sdl.h
@@ -27,11 +27,14 @@
27extern int display_zoom; 27extern int display_zoom;
28 28
29void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width, 29void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
30 int height, int max_x, int max_y, int ui_x, int ui_y, 30 int height, int max_x, int max_y,
31 Uint32 (*getpixel)(int, int)); 31 unsigned long (*getpixel)(int, int));
32
33void sdl_gui_update(SDL_Surface *surface, int x_start, int y_start, int width,
34 int height, int max_x, int max_y, int ui_x, int ui_y);
32 35
33void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end, 36void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end,
34 int steps); 37 int first, int steps);
35 38
36#endif // #ifndef __LCDSDL_H__ 39#endif // #ifndef __LCDSDL_H__
37 40