summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-06-04 09:35:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-06-04 09:35:08 +0000
commitb010a257712b3d104035cbfc15aba8f517ffacb5 (patch)
treeba220c9c0c2c02ea1a8441ad8ace44d4c0bc5164 /content/content.h
parentbc9fef0a1a7a45a640d37353f97e72006e1e09b6 (diff)
downloadnetsurf-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 'content/content.h')
-rw-r--r--content/content.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h
index 652409533..f6d293ea2 100644
--- a/content/content.h
+++ b/content/content.h
@@ -31,6 +31,7 @@
#include "utils/config.h"
#include "utils/errors.h"
#include "content/content_type.h"
+#include "desktop/mouse.h"
#include "desktop/plot_style.h"
struct box;
@@ -117,6 +118,10 @@ bool content_can_reformat(struct hlcache_handle *h);
void content_reformat(struct hlcache_handle *h, int width, int height);
void content_request_redraw(struct hlcache_handle *h,
int x, int y, int width, int height);
+void content_mouse_track(struct hlcache_handle *h, struct browser_window *bw,
+ browser_mouse_state mouse, int x, int y);
+void content_mouse_action(struct hlcache_handle *h, struct browser_window *bw,
+ browser_mouse_state mouse, int x, int y);
bool content_redraw(struct hlcache_handle *h, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,