diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-04-15 18:00:21 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-04-15 18:00:21 +0000 |
commit | ee9a4712cddef9c318977b16b76b8c525d0f8908 (patch) | |
tree | 2dfc05c332ba06dce83f9ea787d2929ebb1982c6 /desktop/textinput.h | |
parent | 34b92e905fa29ba7e7c279a72f3b0fb9bc626a4a (diff) | |
download | netsurf-ee9a4712cddef9c318977b16b76b8c525d0f8908.tar.gz netsurf-ee9a4712cddef9c318977b16b76b8c525d0f8908.tar.bz2 |
[project @ 2005-04-15 18:00:19 by jmb]
Split out generic text input code.
Support internationalised text input.
Fix textarea-related bugs.
svn path=/import/netsurf/; revision=1642
Diffstat (limited to 'desktop/textinput.h')
-rw-r--r-- | desktop/textinput.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/textinput.h b/desktop/textinput.h new file mode 100644 index 000000000..155f526a0 --- /dev/null +++ b/desktop/textinput.h @@ -0,0 +1,27 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net> + * Copyright 2004 James Bursa <bursa@users.sourceforge.net> + * Copyright 2004 Andrew Timmins <atimmins@blueyonder.co.uk> + * Copyright 2004 John Tytgat <John.Tytgat@aaug.net> + */ + +/** \file + * Textual input handling (interface) + */ + +struct browser_window; +struct box; + +void browser_window_textarea_click(struct browser_window *bw, + browser_mouse_state mouse, + struct box *textarea, + int box_x, int box_y, + int x, int y); +void browser_window_input_click(struct browser_window* bw, + struct box *input, + int box_x, int box_y, + int x, int y); +void browser_window_remove_caret(struct browser_window *bw); |