add a custom rule for building librbspeex prior to building rbutil.
[Rockbox.git] / uisimulator / sdl / lcd-sdl.h
blob85a885f3fdd757919f0ef413c40d6c8cf6e0dbdc
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2006 Dan Everton
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __LCDSDL_H__
21 #define __LCDSDL_H__
23 #include "lcd.h"
24 #include "SDL.h"
26 /* Default display zoom level */
27 extern int display_zoom;
29 void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
30 int height, int max_x, int max_y,
31 unsigned long (*getpixel)(int, int));
33 void 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);
36 void sdl_set_gradient(SDL_Surface *surface, SDL_Color *start, SDL_Color *end,
37 int first, int steps);
39 #endif /* #ifndef __LCDSDL_H__ */