Fix: Don't allow right-click to close world generation progress window. (#13084)
[openttd-github.git] / src / company_gui.h
blobf6149b05fb032384ca0e8ec15233d698fbb79925
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file company_gui.h GUI Functions related to companies. */
10 #ifndef COMPANY_GUI_H
11 #define COMPANY_GUI_H
13 #include "company_type.h"
14 #include "group.h"
15 #include "gfx_type.h"
17 TextColour GetDrawStringCompanyColour(CompanyID company);
18 void DrawCompanyIcon(CompanyID c, int x, int y);
20 void ShowCompanyLiveryWindow(CompanyID company, GroupID group);
21 void ShowCompanyStations(CompanyID company);
22 void ShowCompanyFinances(CompanyID company);
23 void ShowCompany(CompanyID company);
25 void InvalidateCompanyWindows(const Company *c);
26 void CloseCompanyWindows(CompanyID company);
27 void DirtyCompanyInfrastructureWindows(CompanyID company);
29 #endif /* COMPANY_GUI_H */