2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-09-30 20:39:50 +00:00
|
|
|
/** @file company_gui.h GUI Functions related to companies. */
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2008-09-30 20:39:50 +00:00
|
|
|
#ifndef COMPANY_GUI_H
|
|
|
|
#define COMPANY_GUI_H
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2008-09-30 20:51:04 +00:00
|
|
|
#include "company_type.h"
|
2019-01-31 13:57:44 +00:00
|
|
|
#include "group.h"
|
2011-01-03 11:55:08 +00:00
|
|
|
#include "gfx_type.h"
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2011-01-03 11:55:08 +00:00
|
|
|
TextColour GetDrawStringCompanyColour(CompanyID company);
|
2008-10-07 20:57:41 +00:00
|
|
|
void DrawCompanyIcon(CompanyID c, int x, int y);
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2019-01-31 13:57:44 +00:00
|
|
|
void ShowCompanyLiveryWindow(CompanyID company, GroupID group);
|
2008-09-30 20:39:50 +00:00
|
|
|
void ShowCompanyStations(CompanyID company);
|
|
|
|
void ShowCompanyFinances(CompanyID company);
|
|
|
|
void ShowCompany(CompanyID company);
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2008-09-30 20:39:50 +00:00
|
|
|
void InvalidateCompanyWindows(const Company *c);
|
2021-05-17 13:46:38 +00:00
|
|
|
void CloseCompanyWindows(CompanyID company);
|
2011-12-03 23:40:08 +00:00
|
|
|
void DirtyCompanyInfrastructureWindows(CompanyID company);
|
2008-01-12 14:10:35 +00:00
|
|
|
|
2008-09-30 20:39:50 +00:00
|
|
|
#endif /* COMPANY_GUI_H */
|