From b585e87b454917f0424541a34c0b41b1fe83f694 Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Thu, 9 Feb 2006 21:49:28 +0000 Subject: Refactor SDL sim source so drawing routines are written once. Split bitmap, remote, and charcell LCD in to their own files. Add zoom support, use --zoom factor (e.g. --zoom 2 for two times zoom) to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8645 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'uisimulator/sdl/uisdl.h') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 25e31040cd..989ca364d1 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -20,10 +20,8 @@ #ifndef __UISDL_H__ #define __UISDL_H__ -#include -#include -#include -#include "lcd-sdl.h" +#include +#include "SDL.h" /* colour definitions are R, G, B */ @@ -93,7 +91,7 @@ #define UI_REMOTE_WIDTH 128 #define UI_REMOTE_HEIGHT 64 -#elif defined(IRIVER_H300_SERIES) +#elif defined(IRIVER_H300) #define UI_TITLE "iriver H300" #define UI_WIDTH 288 // width of GUI window #define UI_HEIGHT 581 // height of GUI window @@ -176,6 +174,7 @@ extern SDL_Surface *gui_surface; extern bool background; /* True if the background image is enabled */ +extern int display_zoom; #endif // #ifndef __UISDL_H__ -- cgit v1.2.3