summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-16 16:29:53 +0000
committerrubidium <rubidium@openttd.org>2011-12-16 16:29:53 +0000
commitb6a303387c920a823b857fe42ccde69ae115983e (patch)
tree57493a955d58f9bf4dda4eb9e507ef652fd8d139 /src/widgets
parente9f584ac210913a404e246184c8d3c1f52428b63 (diff)
downloadopenttd-b6a303387c920a823b857fe42ccde69ae115983e.tar.xz
(svn r23532) -Codechange: unify widget naming of (extra) viewport
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/viewport_widget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/viewport_widget.h b/src/widgets/viewport_widget.h
index 04bab1814..9a97fe54e 100644
--- a/src/widgets/viewport_widget.h
+++ b/src/widgets/viewport_widget.h
@@ -13,13 +13,13 @@
#define WIDGETS_VIEWPORT_WIDGET_H
/** Widgets of the WC_EXTRA_VIEW_PORT. */
-enum ExtraViewportWindowWidgets {
- EVW_CAPTION,
- EVW_VIEWPORT,
- EVW_ZOOMIN,
- EVW_ZOOMOUT,
- EVW_MAIN_TO_VIEW,
- EVW_VIEW_TO_MAIN,
+enum ExtraViewportWidgets {
+ WID_EV_CAPTION, ///< Caption of window.
+ WID_EV_VIEWPORT, ///< The viewport.
+ WID_EV_ZOOM_IN, ///< Zoom in.
+ WID_EV_ZOOM_OUT, ///< Zoom out.
+ WID_EV_MAIN_TO_VIEW, ///< Center the view of this viewport on the main view.
+ WID_EV_VIEW_TO_MAIN, ///< Center the main view on the view of this viewport.
};
#endif /* WIDGETS_VIEWPORT_WIDGET_H */