summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets/news_widget.h2
-rw-r--r--src/widgets/order_widget.h2
-rw-r--r--src/widgets/osk_widget.h24
-rw-r--r--src/widgets/station_widget.h1
-rw-r--r--src/widgets/subsidy_widget.h2
-rw-r--r--src/widgets/tree_widget.h28
6 files changed, 30 insertions, 29 deletions
diff --git a/src/widgets/news_widget.h b/src/widgets/news_widget.h
index 5462f9ea1..6f4741790 100644
--- a/src/widgets/news_widget.h
+++ b/src/widgets/news_widget.h
@@ -57,7 +57,7 @@ enum MessageHistoryWidgets {
/** Widgets of the WC_GAME_OPTIONS (WC_GAME_OPTIONS is also used in others). */
enum MessageOptionWidgets {
- WID_MO_BACKGROUND, ///< Background of the widget.
+ WID_MO_BACKGROUND, ///< Background of the window.
WID_MO_LABEL, ///< Top label.
WID_MO_DROP_SUMMARY, ///< Dropdown that adjusts at once the level for all settings.
WID_MO_LABEL_SUMMARY, ///< Label of the summary drop down.
diff --git a/src/widgets/order_widget.h b/src/widgets/order_widget.h
index 4613445dc..e5af14d81 100644
--- a/src/widgets/order_widget.h
+++ b/src/widgets/order_widget.h
@@ -14,7 +14,7 @@
/** Widgets of the WC_VEHICLE_ORDERS. */
enum OrderWidgets {
- WID_O_CAPTION, ///< Window caption.
+ WID_O_CAPTION, ///< Caption of the window.
WID_O_TIMETABLE_VIEW, ///< Toggle timetable view.
WID_O_ORDER_LIST, ///< Order list panel.
WID_O_SCROLLBAR, ///< Order list scrollbar.
diff --git a/src/widgets/osk_widget.h b/src/widgets/osk_widget.h
index a53fdb4c0..ed7e5f00e 100644
--- a/src/widgets/osk_widget.h
+++ b/src/widgets/osk_widget.h
@@ -14,18 +14,18 @@
/** Widgets of the WC_OSK. */
enum OnScreenKeyboardWidgets {
- WID_OSK_CAPTION, ///< Caption of window.
- WID_OSK_TEXT, ///< Edit box.
- WID_OSK_CANCEL, ///< Cancel key.
- WID_OSK_OK, ///< Ok key.
- WID_OSK_BACKSPACE, ///< Backspace key.
- WID_OSK_SPECIAL, ///< Special key (at keyborads often used for tab key).
- WID_OSK_CAPS, ///< Capslock key.
- WID_OSK_SHIFT, ///< Shift(lock) key.
- WID_OSK_SPACE, ///< Space bar.
- WID_OSK_LEFT, ///< Cursor left key.
- WID_OSK_RIGHT, ///< Cursor right key.
- WID_OSK_LETTERS, ///< First widget of the 'normal' keys.
+ WID_OSK_CAPTION, ///< Caption of window.
+ WID_OSK_TEXT, ///< Edit box.
+ WID_OSK_CANCEL, ///< Cancel key.
+ WID_OSK_OK, ///< Ok key.
+ WID_OSK_BACKSPACE, ///< Backspace key.
+ WID_OSK_SPECIAL, ///< Special key (at keyborads often used for tab key).
+ WID_OSK_CAPS, ///< Capslock key.
+ WID_OSK_SHIFT, ///< Shift(lock) key.
+ WID_OSK_SPACE, ///< Space bar.
+ WID_OSK_LEFT, ///< Cursor left key.
+ WID_OSK_RIGHT, ///< Cursor right key.
+ WID_OSK_LETTERS, ///< First widget of the 'normal' keys.
WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS, ///< First widget of the numbers row.
WID_OSK_NUMBERS_LAST = WID_OSK_NUMBERS_FIRST + 13, ///< Last widget of the numbers row.
diff --git a/src/widgets/station_widget.h b/src/widgets/station_widget.h
index ea81820d0..2f1dc7cde 100644
--- a/src/widgets/station_widget.h
+++ b/src/widgets/station_widget.h
@@ -29,6 +29,7 @@ enum StationViewWidgets {
/** Widgets of the WC_STATION_LIST. */
enum StationListWidgets {
+ /* Name starts with ST instead of S, because of collision with SaveLoadWidgets */
WID_STL_CAPTION, ///< Caption of the window.
WID_STL_LIST, ///< The main panel, list of stations.
WID_STL_SCROLLBAR, ///< Scrollbar next to the main panel.
diff --git a/src/widgets/subsidy_widget.h b/src/widgets/subsidy_widget.h
index 82ab32fd6..7094db7e7 100644
--- a/src/widgets/subsidy_widget.h
+++ b/src/widgets/subsidy_widget.h
@@ -14,7 +14,7 @@
/** Widgets of the WC_SUBSIDIES_LIST. */
enum SubsidyListWidgets {
- /* Name starts with SU instead of S, because of collision with StationListWidgets */
+ /* Name starts with SU instead of S, because of collision with SaveLoadWidgets. */
WID_SUL_PANEL, ///< Main panel of window.
WID_SUL_SCROLLBAR, ///< Scrollbar of panel.
};
diff --git a/src/widgets/tree_widget.h b/src/widgets/tree_widget.h
index d6566232f..97897f83d 100644
--- a/src/widgets/tree_widget.h
+++ b/src/widgets/tree_widget.h
@@ -14,20 +14,20 @@
/** Widgets of the WC_BUILD_TREES. */
enum BuildTreesWidgets {
- WID_BT_TYPE_11, ///< tree 1st column 1st row
- WID_BT_TYPE_12, ///< tree 1st column 2nd row
- WID_BT_TYPE_13, ///< tree 1st column 3rd row
- WID_BT_TYPE_14, ///< tree 1st column 4th row
- WID_BT_TYPE_21, ///< tree 1st column 1st row
- WID_BT_TYPE_22, ///< tree 1st column 2nd row
- WID_BT_TYPE_23, ///< tree 1st column 3rd row
- WID_BT_TYPE_24, ///< tree 1st column 4th row
- WID_BT_TYPE_31, ///< tree 1st column 1st row
- WID_BT_TYPE_32, ///< tree 1st column 2nd row
- WID_BT_TYPE_33, ///< tree 1st column 3rd row
- WID_BT_TYPE_34, ///< tree 1st column 4th row
- WID_BT_TYPE_RANDOM, ///< button to build random type of tree
- WID_BT_MANY_RANDOM, ///< button to build many random trees
+ WID_BT_TYPE_11, ///< Tree 1st column 1st row.
+ WID_BT_TYPE_12, ///< Tree 1st column 2nd row.
+ WID_BT_TYPE_13, ///< Tree 1st column 3rd row.
+ WID_BT_TYPE_14, ///< Tree 1st column 4th row.
+ WID_BT_TYPE_21, ///< Tree 1st column 1st row.
+ WID_BT_TYPE_22, ///< Tree 1st column 2nd row.
+ WID_BT_TYPE_23, ///< Tree 1st column 3rd row.
+ WID_BT_TYPE_24, ///< Tree 1st column 4th row.
+ WID_BT_TYPE_31, ///< Tree 1st column 1st row.
+ WID_BT_TYPE_32, ///< Tree 1st column 2nd row.
+ WID_BT_TYPE_33, ///< Tree 1st column 3rd row.
+ WID_BT_TYPE_34, ///< Tree 1st column 4th row.
+ WID_BT_TYPE_RANDOM, ///< Button to build random type of tree.
+ WID_BT_MANY_RANDOM, ///< Button to build many random trees.
};
#endif /* WIDGETS_TREE_WIDGET_H */