diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-06-04 09:35:08 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-06-04 09:35:08 +0000 |
commit | b010a257712b3d104035cbfc15aba8f517ffacb5 (patch) | |
tree | ba220c9c0c2c02ea1a8441ad8ace44d4c0bc5164 /render/textplain.h | |
parent | bc9fef0a1a7a45a640d37353f97e72006e1e09b6 (diff) | |
download | netsurf-b010a257712b3d104035cbfc15aba8f517ffacb5.tar.gz netsurf-b010a257712b3d104035cbfc15aba8f517ffacb5.tar.bz2 |
+ Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
Diffstat (limited to 'render/textplain.h')
-rw-r--r-- | render/textplain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/render/textplain.h b/render/textplain.h index 61a1c0c9a..2a80f1619 100644 --- a/render/textplain.h +++ b/render/textplain.h @@ -26,6 +26,7 @@ #include <stddef.h> #include <iconv.h> +#include "desktop/mouse.h" struct content; struct hlcache_handle; @@ -52,6 +53,10 @@ bool textplain_create(struct content *c, const struct http_parameter *params); bool textplain_process_data(struct content *c, const char *data, unsigned int size); bool textplain_convert(struct content *c); +void textplain_mouse_track(struct content *c, struct browser_window *bw, + browser_mouse_state mouse, int x, int y); +void textplain_mouse_action(struct content *c, struct browser_window *bw, + browser_mouse_state mouse, int x, int y); void textplain_reformat(struct content *c, int width, int height); void textplain_destroy(struct content *c); bool textplain_redraw(struct content *c, int x, int y, |