main_gui.c
changeset 197 25749afe81ef
parent 196 c4c33c0764a0
child 206 7f8c26d8526b
equal deleted inserted replaced
196:c4c33c0764a0 197:25749afe81ef
   211 }
   211 }
   212 
   212 
   213 void MenuClickIndustry(int index)
   213 void MenuClickIndustry(int index)
   214 {
   214 {
   215 	switch(index) {
   215 	switch(index) {
   216 	case 0: ShowBuildIndustryWindow(); break;
   216 	case 0: ShowIndustryDirectory(); break;
   217 	case 1: ShowIndustryDirectory(); break;
   217 	case 1: ShowBuildIndustryWindow(); break;
   218 	}
   218 	}
   219 }
   219 }
   220 
   220 
   221 void MenuClickShowTrains(int index)
   221 void MenuClickShowTrains(int index)
   222 {
   222 {
   656 	PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 2);
   656 	PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 2);
   657 }
   657 }
   658 
   658 
   659 static void ToolbarIndustryClick(Window *w)
   659 static void ToolbarIndustryClick(Window *w)
   660 {
   660 {
   661 	PopupMainToolbMenu(w, 280, 12, STR_0313_FUND_NEW_INDUSTRY, 2);
   661 	PopupMainToolbMenu(w, 280, 12, STR_INDUSTRY_DIR, 2);
   662 }
   662 }
   663 
   663 
   664 static void ToolbarTrainClick(Window *w)
   664 static void ToolbarTrainClick(Window *w)
   665 {
   665 {
   666 	Vehicle *v;
   666 	Vehicle *v;