summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-02-28 12:20:49 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-02-28 12:20:49 +0000
commit9c0c9ecdfe9ddd07b20c2fc07188c5f9a23762f2 (patch)
treec5e6013111747a27f27278c771bba876a4dcf00a /desktop/browser.h
parent046ee3643093036acc4e3af041fba3a075dcb8f5 (diff)
downloadnetsurf-9c0c9ecdfe9ddd07b20c2fc07188c5f9a23762f2.tar.gz
netsurf-9c0c9ecdfe9ddd07b20c2fc07188c5f9a23762f2.tar.bz2
Add browser_window drag type accessor.
svn path=/trunk/netsurf/; revision=13494
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index d2cbfc08e..7fff04c82 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -410,8 +410,7 @@ void browser_window_scroll_visible(struct browser_window *bw,
void browser_window_set_scroll(struct browser_window *bw, int x, int y);
/*
- * Set the position of the current browser window with respect to the parent
- * browser window
+ * Set drag type for a browser window, and inform front end
*
* \param bw browser window to set the type of the current drag for
* \param type drag type
@@ -421,6 +420,14 @@ void browser_window_set_drag_type(struct browser_window *bw,
browser_drag_type type, const struct rect *rect);
/*
+ * Get type of any current drag for a browser window
+ *
+ * \param bw browser window to set the type of the current drag for
+ * \return drag type
+ */
+browser_drag_type browser_window_get_drag_type(struct browser_window *bw);
+
+/*
* Get the root level browser window
*
* \param bw browser window to set the type of the current drag for