diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2010-01-17 21:15:56 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2010-01-17 21:15:56 +0000 |
commit | ab450a81ec1d81d3ea92a5b14edd2265fc2227ea (patch) | |
tree | c6aa4d9bf18ec2b6558f18c82b6c213f9d87053a /apps/plugins/fractals/fractal_sets.h | |
parent | 5b94d44cc0b0bc7caceafff60131b633cc45c6bc (diff) | |
download | rockbox-ab450a81ec1d81d3ea92a5b14edd2265fc2227ea.tar.gz rockbox-ab450a81ec1d81d3ea92a5b14edd2265fc2227ea.zip |
Fractals: Prevent zooming more than deepest possible zoom
This prevent the mandelbrost set from being trashed if zooming too much
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24264 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fractals/fractal_sets.h')
-rw-r--r-- | apps/plugins/fractals/fractal_sets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/fractals/fractal_sets.h b/apps/plugins/fractals/fractal_sets.h index a41de45c14..3b5e3c7856 100644 --- a/apps/plugins/fractals/fractal_sets.h +++ b/apps/plugins/fractals/fractal_sets.h | |||
@@ -47,7 +47,7 @@ struct fractal_ops | |||
47 | int (*calc)(struct fractal_rect *rect, int (*button_yield_cb)(void *ctx), | 47 | int (*calc)(struct fractal_rect *rect, int (*button_yield_cb)(void *ctx), |
48 | void *button_yield_ctx); | 48 | void *button_yield_ctx); |
49 | void (*move)(int dx, int dy); | 49 | void (*move)(int dx, int dy); |
50 | void (*zoom)(int factor); | 50 | int (*zoom)(int factor); |
51 | int (*precision)(int d); | 51 | int (*precision)(int d); |
52 | }; | 52 | }; |
53 | 53 | ||