summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-01-26 16:19:24 +0000
committerDarkvater <darkvater@openttd.org>2006-01-26 16:19:24 +0000
commit2612d485506311f7bc9858af2bd8702939058f84 (patch)
tree121941aa494a22ee9c09b0ba52e6c0d61f8a8fba /gui.h
parentbc450bbc9a48e5d6b776eee0f02b76d533e5279a (diff)
downloadopenttd-2612d485506311f7bc9858af2bd8702939058f84.tar.xz
(svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.h b/gui.h
index 6dc454559..960b2741a 100644
--- a/gui.h
+++ b/gui.h
@@ -103,9 +103,9 @@ void SetHScrollCount(Window *w, int num);
void ShowCheatWindow(void);
void AskForNewGameToStart(void);
-void DrawEditBox(Window *w, int wid);
-void HandleEditBox(Window *w, int wid);
-int HandleEditBoxKey(Window *w, int wid, WindowEvent *we);
+void DrawEditBox(Window *w, querystr_d *string, int wid);
+void HandleEditBox(Window *w, querystr_d *string, int wid);
+int HandleEditBoxKey(Window *w, querystr_d *string, int wid, WindowEvent *we);
bool HandleCaret(Textbuf *tb);
void DeleteTextBufferAll(Textbuf *tb);