summaryrefslogtreecommitdiff
path: root/src/settings_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-06-01 10:44:45 +0000
committerfrosch <frosch@openttd.org>2012-06-01 10:44:45 +0000
commit198de5397ed4a217273bda29dae8ddf60ba48f1d (patch)
treeb413b984a9c90cf4d6cd247a7781362fb660b598 /src/settings_gui.h
parent88fff21b932eca52599d66239cc05dc97f5a998e (diff)
downloadopenttd-198de5397ed4a217273bda29dae8ddf60ba48f1d.tar.xz
(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h
Diffstat (limited to 'src/settings_gui.h')
-rw-r--r--src/settings_gui.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/settings_gui.h b/src/settings_gui.h
new file mode 100644
index 000000000..18af89f6a
--- /dev/null
+++ b/src/settings_gui.h
@@ -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 */
+