diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-06-14 22:50:22 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-06-19 21:27:53 +0200 |
commit | 3d0c787a48ff0d26fa5a1e93a4ca237df8999acf (patch) | |
tree | 5679a92bbad8c208e492ba0229541fc8010460ce /firmware/target/hosted/sdl/lcd-sdl.c | |
parent | bc657b51636dd7d5aa0d0a0d904e3f8799a560d6 (diff) | |
download | rockbox-3d0c787a48ff0d26fa5a1e93a4ca237df8999acf.tar.gz rockbox-3d0c787a48ff0d26fa5a1e93a4ca237df8999acf.zip |
Change display_zoom from int to double.
The main reason for this is to be able to downscale the sdl app, which
when used for designing themes for android tends not to fit on laptop
screens these days.
Change-Id: Ib52731dbebcdd03a572be7754c157471165eb2df
Diffstat (limited to 'firmware/target/hosted/sdl/lcd-sdl.c')
-rw-r--r-- | firmware/target/hosted/sdl/lcd-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c index 57026eedfe..40ba94072b 100644 --- a/firmware/target/hosted/sdl/lcd-sdl.c +++ b/firmware/target/hosted/sdl/lcd-sdl.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "sim-ui-defines.h" | 24 | #include "sim-ui-defines.h" |
25 | #include "system.h" /* for MIN() and MAX() */ | 25 | #include "system.h" /* for MIN() and MAX() */ |
26 | 26 | ||
27 | int display_zoom = 1; | 27 | double display_zoom = 1; |
28 | 28 | ||
29 | void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width, | 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, | 30 | int height, int max_x, int max_y, |