diff options
author | Darkvater <darkvater@openttd.org> | 2006-01-26 16:19:24 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-01-26 16:19:24 +0000 |
commit | 2612d485506311f7bc9858af2bd8702939058f84 (patch) | |
tree | 121941aa494a22ee9c09b0ba52e6c0d61f8a8fba /gui.h | |
parent | bc450bbc9a48e5d6b776eee0f02b76d533e5279a (diff) | |
download | openttd-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |