summaryrefslogtreecommitdiffstats
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 @@
extern int display_zoom;
void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
- int height, int max_x, int max_y, int ui_x, int ui_y,
- Uint32 (*getpixel)(int, int));
+ int height, int max_x, int max_y,
+ unsigned long (*getpixel)(int, int));
+
+void sdl_gui_update(SDL_Surface *surface, int x_start, int y_start, int width,
+ int height, int max_x, int max_y, int ui_x, int ui_y);
void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end,
- int steps);
+ int first, int steps);
#endif // #ifndef __LCDSDL_H__