summaryrefslogtreecommitdiff
path: root/src/widgets/misc_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 16:49:53 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 16:49:53 +0000
commit05af1d176bff01154933da8c3e3ba97784f4b8d6 (patch)
treefca79faf9f9319be4cae1b972e603c9512961402 /src/widgets/misc_widget.h
parent4453288f3f5acf4e20441303e14bd7d5d285c92b (diff)
downloadopenttd-05af1d176bff01154933da8c3e3ba97784f4b8d6.tar.xz
(svn r23536) -Codechange: document and rename widgets to be consistent and understandable
Diffstat (limited to 'src/widgets/misc_widget.h')
-rw-r--r--src/widgets/misc_widget.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/widgets/misc_widget.h b/src/widgets/misc_widget.h
index b446509e2..13d37da97 100644
--- a/src/widgets/misc_widget.h
+++ b/src/widgets/misc_widget.h
@@ -14,35 +14,35 @@
/** Widgets of the WC_LAND_INFO. */
enum LandInfoWidgets {
- LIW_BACKGROUND, ///< Background to draw on
+ WID_LI_BACKGROUND, ///< Background of the window.
};
/** Widgets of the WC_TOOLTIPS. */
enum ToolTipsWidgets {
- TTW_BACKGROUND, ///< Background to draw on
+ WID_TT_BACKGROUND, ///< Background of the window.
};
/** Widgets of the WC_GAME_OPTIONS (WC_GAME_OPTIONS is also used in others). */
enum AboutWidgets {
- AW_SCROLLING_TEXT, ///< The actually scrolling text
- AW_WEBSITE, ///< URL of OpenTTD website
+ WID_A_SCROLLING_TEXT, ///< The actually scrolling text.
+ WID_A_WEBSITE, ///< URL of OpenTTD website.
};
/** Widgets of the WC_QUERY_STRING (WC_QUERY_STRING is also used in QueryEditSignWidgets). */
enum QueryStringWidgets {
- QUERY_STR_WIDGET_CAPTION,
- QUERY_STR_WIDGET_TEXT,
- QUERY_STR_WIDGET_DEFAULT,
- QUERY_STR_WIDGET_CANCEL,
- QUERY_STR_WIDGET_OK
+ WID_QS_CAPTION, ///< Caption of the window.
+ WID_QS_TEXT, ///< Text of the query.
+ WID_QS_DEFAULT, ///< Default button.
+ WID_QS_CANCEL, ///< Cancel button.
+ WID_QS_OK ///< OK button.
};
/** Widgets of the WC_CONFIRM_POPUP_QUERY (WC_CONFIRM_POPUP_QUERY is also used in BootstrapAskForDownloadWidgets). */
enum QueryWidgets {
- QUERY_WIDGET_CAPTION,
- QUERY_WIDGET_TEXT,
- QUERY_WIDGET_NO,
- QUERY_WIDGET_YES
+ WID_Q_CAPTION, ///< Caption of the window.
+ WID_Q_TEXT, ///< Text of the query.
+ WID_Q_NO, ///< Yes button.
+ WID_Q_YES ///< No button.
};
#endif /* WIDGETS_MISC_WIDGET_H */