summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-23 07:35:29 +0000
committerrubidium <rubidium@openttd.org>2008-03-23 07:35:29 +0000
commit65c7ef9629220ccc6425f4a9760acefe7d2234cb (patch)
treeb8ecc029a1471dcfbee5f01f224bcf9ffe931ab7 /src/toolbar_gui.h
parentfb755e6e87808fe8e55f4910740f689cbe7604ae (diff)
downloadopenttd-65c7ef9629220ccc6425f4a9760acefe7d2234cb.tar.xz
(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
Diffstat (limited to 'src/toolbar_gui.h')
-rw-r--r--src/toolbar_gui.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/toolbar_gui.h b/src/toolbar_gui.h
new file mode 100644
index 000000000..766ee37c7
--- /dev/null
+++ b/src/toolbar_gui.h
@@ -0,0 +1,13 @@
+/* $Id$ */
+
+/** @file toolbar_gui.h Stuff related to the (main) toolbar. */
+
+#ifndef TOOLBAR_GUI_H
+#define TOOLBAR_GUI_H
+
+#include "window_type.h"
+
+Point GetToolbarDropdownPos(uint16 parent_button, int width, int height);
+Window *AllocateToolbar();
+
+#endif /*TOOLBAR_GUI_H*/