summaryrefslogtreecommitdiff
path: root/src/widgets/sign_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 16:23:50 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 16:23:50 +0000
commit98d3f11d45c879b6cb0728c7a77fab349329abe8 (patch)
treeed784007a33a4f0320dbf07ef99b35a060f142f5 /src/widgets/sign_widget.h
parent2aa774e831ad1cb7849c998759449ef777c5c664 (diff)
downloadopenttd-98d3f11d45c879b6cb0728c7a77fab349329abe8.tar.xz
(svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile
Diffstat (limited to 'src/widgets/sign_widget.h')
-rw-r--r--src/widgets/sign_widget.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/widgets/sign_widget.h b/src/widgets/sign_widget.h
index 0163334cc..8d65bb309 100644
--- a/src/widgets/sign_widget.h
+++ b/src/widgets/sign_widget.h
@@ -14,12 +14,13 @@
/** Widgets of the WC_SIGN_LIST. */
enum SignListWidgets {
- SLW_CAPTION,
- SLW_LIST,
- SLW_SCROLLBAR,
- SLW_FILTER_TEXT, ///< Text box for typing a filter string
- SLW_FILTER_MATCH_CASE_BTN, ///< Button to toggle if case sensitive filtering should be used
- SLW_FILTER_CLEAR_BTN, ///< Button to clear the filter
+ /* Name starts with SI instead of S, becuase 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
};
/** Widgets of the WC_QUERY_STRING (WC_QUERY_STRING is also used in QueryStringWidgets). */