mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +00:00
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
This commit is contained in:
parent
88fff21b93
commit
198de5397e
@ -539,6 +539,7 @@
|
||||
<ClInclude Include="..\src\sound\sdl_s.h" />
|
||||
<ClInclude Include="..\src\video\sdl_v.h" />
|
||||
<ClInclude Include="..\src\settings_func.h" />
|
||||
<ClInclude Include="..\src\settings_gui.h" />
|
||||
<ClInclude Include="..\src\settings_internal.h" />
|
||||
<ClInclude Include="..\src\settings_type.h" />
|
||||
<ClInclude Include="..\src\ship.h" />
|
||||
|
@ -846,6 +846,9 @@
|
||||
<ClInclude Include="..\src\settings_func.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\settings_gui.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\settings_internal.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
@ -1430,6 +1430,10 @@
|
||||
RelativePath=".\..\src\settings_func.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\settings_gui.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\settings_internal.h"
|
||||
>
|
||||
|
@ -1427,6 +1427,10 @@
|
||||
RelativePath=".\..\src\settings_func.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\settings_gui.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\..\src\settings_internal.h"
|
||||
>
|
||||
|
@ -272,6 +272,7 @@ sdl.h
|
||||
sound/sdl_s.h
|
||||
video/sdl_v.h
|
||||
settings_func.h
|
||||
settings_gui.h
|
||||
settings_internal.h
|
||||
settings_type.h
|
||||
ship.h
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "../stdafx.h"
|
||||
#include "../table/sprites.h"
|
||||
#include "../error.h"
|
||||
#include "../gui.h"
|
||||
#include "../settings_gui.h"
|
||||
#include "../querystring_gui.h"
|
||||
#include "../company_base.h"
|
||||
#include "../company_gui.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "strings_func.h"
|
||||
#include "window_func.h"
|
||||
#include "rail_gui.h"
|
||||
#include "gui.h"
|
||||
#include "settings_gui.h"
|
||||
#include "company_gui.h"
|
||||
|
||||
#include "widgets/cheat_widget.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#define GUI_H
|
||||
|
||||
#include "vehicle_type.h"
|
||||
#include "gfx_type.h"
|
||||
#include "economy_type.h"
|
||||
#include "tile_type.h"
|
||||
#include "transport_type.h"
|
||||
@ -28,8 +27,6 @@ void InitializeGUI();
|
||||
void ShowGameOptions();
|
||||
void ShowGameDifficulty();
|
||||
void ShowGameSettings();
|
||||
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
|
||||
void DrawBoolButton(int x, int y, bool state, bool clickable);
|
||||
|
||||
/* train_gui.cpp */
|
||||
void ShowOrdersWindow(const Vehicle *v);
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "error.h"
|
||||
#include "gui.h"
|
||||
#include "settings_gui.h"
|
||||
#include "sound_func.h"
|
||||
#include "window_func.h"
|
||||
#include "textbuf_gui.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "error.h"
|
||||
#include "gui.h"
|
||||
#include "settings_gui.h"
|
||||
#include "newgrf.h"
|
||||
#include "strings_func.h"
|
||||
#include "window_func.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "currency.h"
|
||||
#include "error.h"
|
||||
#include "gui.h"
|
||||
#include "settings_gui.h"
|
||||
#include "textbuf_gui.h"
|
||||
#include "command_func.h"
|
||||
#include "screenshot.h"
|
||||
|
21
src/settings_gui.h
Normal file
21
src/settings_gui.h
Normal file
@ -0,0 +1,21 @@
|
||||
/* $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 settings_gui.h Functions for setting GUIs. */
|
||||
|
||||
#ifndef SETTING_GUI_H
|
||||
#define SETTING_GUI_H
|
||||
|
||||
#include "gfx_type.h"
|
||||
|
||||
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
|
||||
void DrawBoolButton(int x, int y, bool state, bool clickable);
|
||||
|
||||
#endif /* SETTING_GUI_H */
|
||||
|
Loading…
Reference in New Issue
Block a user