-rw-r--r-- | src/controller/actions/set_ortho.c | 13 | ||||
-rw-r--r-- | src/controller/actions/zoom.c | 70 | ||||
-rw-r--r-- | src/controller/actions/zoom.h | 4 | ||||
-rw-r--r-- | src/controller/callbacks/display.c | 6 | ||||
-rw-r--r-- | src/controller/callbacks/keyboard.c | 7 | ||||
-rw-r--r-- | src/controller/callbacks/mouse.c | 49 | ||||
-rw-r--r-- | src/controller/callbacks/mouse_wheel.c | 66 | ||||
-rw-r--r-- | src/controller/callbacks/reshape.c | 68 | ||||
-rw-r--r-- | src/model/geometry/density_legend_geometry.c | 18 | ||||
-rw-r--r-- | src/model/state/zoom_info.h | 1 | ||||
-rw-r--r-- | src/model/state/zoom_info_init.c | 6 |
11 files changed, 197 insertions, 111 deletions
diff --git a/src/model/state/zoom_info.h b/src/model/state/zoom_info.h index 5916b3c..83fab2c 100644 --- a/src/model/state/zoom_info.h +++ b/src/model/state/zoom_info.h | |||
@@ -15,6 +15,7 @@ typedef struct | |||
15 | 15 | ||
16 | /* | 16 | /* |
17 | * Left, right, bottom and top of zoom region in world coordinates. | 17 | * Left, right, bottom and top of zoom region in world coordinates. |
18 | * Rubber-band zoom. | ||
18 | */ | 19 | */ |
19 | double coords[4]; | 20 | double coords[4]; |
20 | } ZOOM_INFO; | 21 | } ZOOM_INFO; |