path: root/desktop/browser.h
diff options
authorJames Bursa <>2004-07-19 14:31:31 +0000
committerJames Bursa <>2004-07-19 14:31:31 +0000
commit9bd3eadbe6a779c3be8e67c8134cb126e6fff5e2 (patch)
treeb64e9bfd8cc18a3e25ad856f4721d77c0a28187d /desktop/browser.h
parent946566b0b645d1789c20ef4b48cd2e7dd423545e (diff)
[project @ 2004-07-19 14:31:31 by bursa]
Update and simplify textarea code. Now uses BOX_BR instead of more than one inline container. Prepare for use of UTF-8 in textareas and inputs. svn path=/import/netsurf/; revision=1104
Diffstat (limited to 'desktop/browser.h')
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 2442ace85..a44588b6a 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -37,7 +37,8 @@ struct browser_window
struct history *history;
/** Handler for keyboard input, or 0. */
- void (*caret_callback)(struct browser_window *bw, char key, void *p);
+ void (*caret_callback)(struct browser_window *bw,
+ unsigned int key, void *p);
/** User parameter for caret_callback. */
void *caret_p;
@@ -72,7 +73,7 @@ void browser_window_destroy(struct browser_window *bw);
void browser_window_mouse_click(struct browser_window *bw,
browser_mouse_click click, int x, int y);
-bool browser_window_key_press(struct browser_window *bw, char key);
+bool browser_window_key_press(struct browser_window *bw, unsigned int key);
void browser_window_form_select(struct browser_window *bw,
struct form_control *control, int item);