From 9dc46c1d81e74716f643dfab8c267cc6c3d8ec08 Mon Sep 17 00:00:00 2001 From: Bert Date: Fri, 21 Jan 2011 10:29:31 +0100 Subject: Nicer zooming --- config.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 32f8c37..14b2947 100644 --- a/config.h +++ b/config.h @@ -3,11 +3,13 @@ #define WIN_HEIGHT 600 /* */ -#define SCALE_MODE SCALE_DOWN +#define BG_COLOR "#888888" /* */ -#define ZOOM_MIN 12.5 -#define ZOOM_MAX 400 +#define SCALE_MODE SCALE_DOWN /* */ -#define BG_COLOR "#888888" +static const float zoom_levels[] = { + 12.5, 25.0, 50.0, 75.0, + 100.0, 150.0, 200.0, 400.0, 800.0 +}; -- cgit v1.2.3-54-g00ecf