Changeset - r7063:361738bfff30
[Not reviewed]
master
0 4 0
maedhros - 17 years ago 2007-06-25 17:29:03
maedhros@openttd.org
(svn r10328) -Codechange: Close the timetable window when closing the vehicle window.
4 files changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/aircraft_gui.cpp
Show inline comments
 
@@ -358,6 +358,7 @@ static void AircraftViewWndProc(Window *
 
		DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
 
		break;
 

	
 
	case WE_MOUSELOOP: {
src/roadveh_gui.cpp
Show inline comments
 
@@ -374,6 +374,7 @@ static void RoadVehViewWndProc(Window *w
 
		DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
 
		break;
 

	
 
	case WE_MOUSELOOP: {
src/ship_gui.cpp
Show inline comments
 
@@ -295,6 +295,7 @@ static void ShipViewWndProc(Window *w, W
 
			DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
 
			DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
 
			DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
 
			DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
 
			break;
 

	
 
		case WE_MOUSELOOP: {
src/train_gui.cpp
Show inline comments
 
@@ -282,6 +282,7 @@ static void TrainViewWndProc(Window *w, 
 
		DeleteWindowById(WC_VEHICLE_REFIT, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_ORDERS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_DETAILS, w->window_number);
 
		DeleteWindowById(WC_VEHICLE_TIMETABLE, w->window_number);
 
		break;
 

	
 
	case WE_MOUSELOOP: {
0 comments (0 inline, 0 general)