diff options
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/departures_widget.h | 29 | ||||
-rw-r--r-- | src/widgets/genworld_widget.h | 2 | ||||
-rw-r--r-- | src/widgets/road_widget.h | 1 | ||||
-rw-r--r-- | src/widgets/smallmap_widget.h | 1 | ||||
-rw-r--r-- | src/widgets/station_widget.h | 2 | ||||
-rw-r--r-- | src/widgets/timetable_widget.h | 3 | ||||
-rw-r--r-- | src/widgets/underground_widget.h | 21 | ||||
-rw-r--r-- | src/widgets/waypoint_widget.h | 1 |
8 files changed, 60 insertions, 0 deletions
diff --git a/src/widgets/departures_widget.h b/src/widgets/departures_widget.h new file mode 100644 index 000000000..e39b4d6cd --- /dev/null +++ b/src/widgets/departures_widget.h @@ -0,0 +1,29 @@ +/* $Id$ */ + +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + +/** @file waypoint_widget.h Types related to the waypoint widgets. */ + +#ifndef WIDGETS_DEPARTURES_WIDGET_H +#define WIDGETS_DEPARTURES_WIDGET_H + +/** Widgets of the WC_DEPARTURES_BOARD. */ +enum DeparturesWindowWidgets { + WID_DB_CAPTION, ///< Window caption + WID_DB_LIST, ///< List of departures + WID_DB_SCROLLBAR, ///< List scrollbar + WID_DB_SHOW_DEPS, ///< Toggle departures button + WID_DB_SHOW_ARRS, ///< Toggle arrivals button + WID_DB_SHOW_VIA, ///< Toggle via button + WID_DB_SHOW_TRAINS, ///< Toggle trains button + WID_DB_SHOW_ROADVEHS, ///< Toggle road vehicles button + WID_DB_SHOW_SHIPS, ///< Toggle ships button + WID_DB_SHOW_PLANES, ///< Toggle planes button +}; + +#endif /* WIDGETS_DEPARTURES_WIDGET_H */ diff --git a/src/widgets/genworld_widget.h b/src/widgets/genworld_widget.h index 10727f103..f9cc4e104 100644 --- a/src/widgets/genworld_widget.h +++ b/src/widgets/genworld_widget.h @@ -21,6 +21,7 @@ enum GenerateLandscapeWidgets { WID_GL_MAPSIZE_X_PULLDOWN, ///< Dropdown 'map X size'. WID_GL_MAPSIZE_Y_PULLDOWN, ///< Dropdown 'map Y size'. + WID_GL_LAYER_COUNT_PULLDOWN, ///< Dropdown 'map layer count'. WID_GL_TOWN_PULLDOWN, ///< Dropdown 'No. of towns'. WID_GL_INDUSTRY_PULLDOWN, ///< Dropdown 'No. of industries'. @@ -68,6 +69,7 @@ enum CreateScenarioWidgets { WID_CS_RANDOM_WORLD, ///< Generate random land button WID_CS_MAPSIZE_X_PULLDOWN, ///< Pull-down arrow for x map size. WID_CS_MAPSIZE_Y_PULLDOWN, ///< Pull-down arrow for y map size. + WID_CS_LAYER_COUNT_PULLDOWN, ///< Pull-down arrow for map layer count. WID_CS_START_DATE_DOWN, ///< Decrease start year (start earlier). WID_CS_START_DATE_TEXT, ///< Clickable start date value. WID_CS_START_DATE_UP, ///< Increase start year (start later). diff --git a/src/widgets/road_widget.h b/src/widgets/road_widget.h index f022489e5..d12d870c5 100644 --- a/src/widgets/road_widget.h +++ b/src/widgets/road_widget.h @@ -23,6 +23,7 @@ enum RoadToolbarWidgets { WID_ROT_BUS_STATION, ///< Build bus station. WID_ROT_TRUCK_STATION, ///< Build truck station. WID_ROT_ONE_WAY, ///< Build one-way road. + WID_ROT_TRAFFIC_LIGHT, ///< Build trafficlights. WID_ROT_BUILD_BRIDGE, ///< Build bridge. WID_ROT_BUILD_TUNNEL, ///< Build tunnel. WID_ROT_REMOVE, ///< Remove road. diff --git a/src/widgets/smallmap_widget.h b/src/widgets/smallmap_widget.h index 6476b8f1b..7b7f1ba16 100644 --- a/src/widgets/smallmap_widget.h +++ b/src/widgets/smallmap_widget.h @@ -23,6 +23,7 @@ enum SmallMapWidgets { WID_SM_CONTOUR, ///< Button to select the contour view (height map). WID_SM_VEHICLES, ///< Button to select the vehicles view. WID_SM_INDUSTRIES, ///< Button to select the industries view. + WID_SM_ROUTE_LINKS, ///< Button to select the route link view. WID_SM_ROUTES, ///< Button to select the routes view. WID_SM_VEGETATION, ///< Button to select the vegetation view. WID_SM_OWNERS, ///< Button to select the owners view. diff --git a/src/widgets/station_widget.h b/src/widgets/station_widget.h index e33565ea1..76ad864d9 100644 --- a/src/widgets/station_widget.h +++ b/src/widgets/station_widget.h @@ -20,12 +20,14 @@ enum StationViewWidgets { WID_SV_ACCEPT_RATING_LIST, ///< List of accepted cargoes / rating of cargoes. WID_SV_LOCATION, ///< 'Location' button. WID_SV_ACCEPTS_RATINGS, ///< 'Accepts' / 'Ratings' button. + WID_SV_CARGO_FROM_TO_VIA, ///< 'Source' button WID_SV_RENAME, ///< 'Rename' button. WID_SV_CLOSE_AIRPORT, ///< 'Close airport' button. WID_SV_TRAINS, ///< List of scheduled trains button. WID_SV_ROADVEHS, ///< List of scheduled road vehs button. WID_SV_SHIPS, ///< List of scheduled ships button. WID_SV_PLANES, ///< List of scheduled planes button. + WID_SV_DEPARTURES, ///< Departures button. }; /** Widgets of the #CompanyStationsWindow class. */ diff --git a/src/widgets/timetable_widget.h b/src/widgets/timetable_widget.h index 09beb6167..cce1533c4 100644 --- a/src/widgets/timetable_widget.h +++ b/src/widgets/timetable_widget.h @@ -31,6 +31,9 @@ enum VehicleTimetableWidgets { WID_VT_EXPECTED_SELECTION, ///< Disable/hide the expected selection button. WID_VT_CHANGE_SPEED, ///< Change speed limit button. WID_VT_CLEAR_SPEED, ///< Clear speed limit button. + WID_VT_TTSEP_MODE_DROPDOWN, ///< Select separation mode dropdown + WID_VT_TTSEP_SET_PARAMETER, ///< Set the separation parameter (time / number) + WID_VT_TTSEP_PANEL_TEXT ///< Panel area for separation info text }; #endif /* WIDGETS_TIMETABLE_WIDGET_H */ diff --git a/src/widgets/underground_widget.h b/src/widgets/underground_widget.h new file mode 100644 index 000000000..522c9db8b --- /dev/null +++ b/src/widgets/underground_widget.h @@ -0,0 +1,21 @@ +/* $Id: terraform_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */ + +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + +/** @file terraform_widget.h Types related to the terraform widgets. */ + +#ifndef WIDGETS_UNDERGROUND_WIDGET_H +#define WIDGETS_UNDERGROUND_WIDGET_H + +/** Widgets of the #TerraformToolbarWindow class. */ +enum UndergroundToolbarWidgets { + WID_UT_BUILD_ESCALATOR, ///< Build escalator + WID_UT_DEMOLISH, ///< Demolish aka dynamite button. +}; + +#endif /* WIDGETS_UNDERGROUND_WIDGET_H */ diff --git a/src/widgets/waypoint_widget.h b/src/widgets/waypoint_widget.h index 8fceddaa7..e73f3af6d 100644 --- a/src/widgets/waypoint_widget.h +++ b/src/widgets/waypoint_widget.h @@ -19,6 +19,7 @@ enum WaypointWidgets { WID_W_CENTER_VIEW, ///< Center the main view on this waypoint. WID_W_RENAME, ///< Rename this waypoint. WID_W_SHOW_VEHICLES, ///< Show the vehicles visiting this waypoint. + WID_W_DEPARTURES, ///< Departures button. }; #endif /* WIDGETS_WAYPOINT_WIDGET_H */ |