summaryrefslogtreecommitdiff
path: root/src/viewport_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r--src/viewport_type.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h
index 274a29e26..9fbd9279e 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -51,10 +51,14 @@ struct ViewportSign {
void MarkDirty() const;
};
+/**
+ * Directions of zooming.
+ * @see DoZoomInOutWindow
+ */
enum ZoomStateChange {
- ZOOM_IN = 0,
- ZOOM_OUT = 1,
- ZOOM_NONE = 2, // hack, used to update the button status
+ ZOOM_IN = 0, ///< Zoom in (get more detailed view).
+ ZOOM_OUT = 1, ///< Zoom out (get helicopter view).
+ ZOOM_NONE = 2, ///< Hack, used to update the button status.
};
/**