summaryrefslogtreecommitdiff
path: root/src/widgets/sign_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 18:27:50 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 18:27:50 +0000
commite4887d4dc4300006304f9c3623dba8c2ee10d6f0 (patch)
treeccb513339dbe46683153d2ada96a2cd74dd8db63 /src/widgets/sign_widget.h
parentbdb6280e799e2a511d8dc807fd6948f4b09de255 (diff)
downloadopenttd-e4887d4dc4300006304f9c3623dba8c2ee10d6f0.tar.xz
(svn r23551) -Codechange: document and rename widgets to be consistent and understandable
Diffstat (limited to 'src/widgets/sign_widget.h')
-rw-r--r--src/widgets/sign_widget.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/widgets/sign_widget.h b/src/widgets/sign_widget.h
index 638e6b8fa..c8e4afd84 100644
--- a/src/widgets/sign_widget.h
+++ b/src/widgets/sign_widget.h
@@ -15,23 +15,23 @@
/** Widgets of the WC_SIGN_LIST. */
enum SignListWidgets {
/* Name starts with SI instead of S, because of collision with StationListWidgets */
- SILW_CAPTION,
- SILW_LIST,
- SILW_SCROLLBAR,
- SILW_FILTER_TEXT, ///< Text box for typing a filter string
- SILW_FILTER_MATCH_CASE_BTN, ///< Button to toggle if case sensitive filtering should be used
- SILW_FILTER_CLEAR_BTN, ///< Button to clear the filter
+ WID_SIL_CAPTION, ///< Caption of the window.
+ WID_SIL_LIST, ///< List of signs.
+ WID_SIL_SCROLLBAR, ///< Scrollbar of list.
+ WID_SIL_FILTER_TEXT, ///< Text box for typing a filter string.
+ WID_SIL_FILTER_MATCH_CASE_BTN, ///< Button to toggle if case sensitive filtering should be used.
+ WID_SIL_FILTER_CLEAR_BTN, ///< Button to clear the filter.
};
/** Widgets of the WC_QUERY_STRING (WC_QUERY_STRING is also used in QueryStringWidgets). */
enum QueryEditSignWidgets {
- QUERY_EDIT_SIGN_WIDGET_CAPTION,
- QUERY_EDIT_SIGN_WIDGET_TEXT,
- QUERY_EDIT_SIGN_WIDGET_OK,
- QUERY_EDIT_SIGN_WIDGET_CANCEL,
- QUERY_EDIT_SIGN_WIDGET_DELETE,
- QUERY_EDIT_SIGN_WIDGET_PREVIOUS,
- QUERY_EDIT_SIGN_WIDGET_NEXT,
+ WID_QES_CAPTION, ///< Caption of the window.
+ WID_QES_TEXT, ///< Text of the query.
+ WID_QES_OK, ///< OK button.
+ WID_QES_CANCEL, ///< Cancel button.
+ WID_QES_DELETE, ///< Delete button.
+ WID_QES_PREVIOUS, ///< Previous button.
+ WID_QES_NEXT, ///< Next button.
};
#endif /* */