diff options
author | Bert <ber.t@gmx.com> | 2011-01-21 10:29:31 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-21 10:29:31 +0100 |
commit | 9dc46c1d81e74716f643dfab8c267cc6c3d8ec08 (patch) | |
tree | 05d0ccc9d499fc849c1ba0eb6d7321f13752c54b /config.h | |
parent | bb12b8c0fbc4d0a791f8a2cb8c7f2d64df995a4d (diff) | |
download | nsxiv-9dc46c1d81e74716f643dfab8c267cc6c3d8ec08.tar.zst |
Nicer zooming
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 +}; |