summaryrefslogtreecommitdiff
path: root/desktop/core_window.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-06-30 17:52:55 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-06-30 17:52:55 +0100
commitcca6707585253c3ead2f8cc20989a8646b62d038 (patch)
tree8cc1615615f5b785e4b9e4466e1f8ad701407f9a /desktop/core_window.h
parent060a4485bdda738c3c4a8083dd5d075171681891 (diff)
downloadnetsurf-cca6707585253c3ead2f8cc20989a8646b62d038.tar.gz
netsurf-cca6707585253c3ead2f8cc20989a8646b62d038.tar.bz2
Update documentation for update_size callback.
Diffstat (limited to 'desktop/core_window.h')
-rw-r--r--desktop/core_window.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/desktop/core_window.h b/desktop/core_window.h
index 9e68e2679..ad2319b32 100644
--- a/desktop/core_window.h
+++ b/desktop/core_window.h
@@ -32,7 +32,13 @@ struct core_window_callback_table {
/** Request a redraw of the window. */
void (*redraw_request)(struct core_window *cw, struct rect r);
- /** Update the limits of the window */
+ /**
+ * Update the limits of the window
+ *
+ * \param cw the core window object
+ * \param width the width in px, or negative if don't care
+ * \param height the height in px, or negative if don't care
+ */
void (*update_size)(struct core_window *cw, int width, int height);
/** Scroll the window to make area visible */