summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-05-31 13:25:49 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-05-31 13:25:49 +0100
commitcf5782718718bee4788dea315dfdbaeafbc3cbc0 (patch)
treee5c5ac0c523124a5235e2677519eff98b7b04c34 /desktop
parentab9efd19fe88547c305589e518a49961d58028b5 (diff)
downloadnetsurf-cf5782718718bee4788dea315dfdbaeafbc3cbc0.tar.gz
netsurf-cf5782718718bee4788dea315dfdbaeafbc3cbc0.tar.bz2
Add function to pass mouse input to treeview.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/global_history.c5
-rw-r--r--desktop/global_history.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c
index bad24f4c9..17fabb069 100644
--- a/desktop/global_history.c
+++ b/desktop/global_history.c
@@ -643,3 +643,8 @@ void global_history_redraw(int x, int y, struct rect *clip,
treeview_redraw(gh_ctx.tree, x, y, clip, ctx);
}
+void global_history_mouse_action(browser_mouse_state mouse, int x, int y)
+{
+ treeview_mouse_action(gh_ctx.tree, mouse, x, y);
+}
+
diff --git a/desktop/global_history.h b/desktop/global_history.h
index 5253f06a6..960eb1e7a 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -31,4 +31,7 @@ nserror global_history_fini(struct core_window_callback_table *cw_t,
void global_history_redraw(int x, int y, struct rect *clip,
const struct redraw_context *ctx);
+
+void global_history_mouse_action(browser_mouse_state mouse, int x, int y);
+
#endif