Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/dce3c8c170a7394e1114f...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/dce3c8c170a7394e1114f19...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/dce3c8c170a7394e1114f19fc...
The branch, master has been updated
via dce3c8c170a7394e1114f19fc5aa68007eb61324 (commit)
via 9ac58865a79c575ff5636614a18b828eaa4d4b4a (commit)
via 5aed1425609557573346675bda9be7ed3c0d5362 (commit)
from 0a0e7867b97a530686b4bc428dada5268e68e513 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=dce3c8c170a7394e111...
commit dce3c8c170a7394e1114f19fc5aa68007eb61324
Merge: 9ac5886 0a0e786
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Merge branch 'master' of
git://git.netsurf-browser.org/netsurf
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=9ac58865a79c575ff56...
commit 9ac58865a79c575ff5636614a18b828eaa4d4b4a
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Remove unused function declaration.
diff --git a/desktop/core_window.h b/desktop/core_window.h
index 8f53d96..6138f49 100644
--- a/desktop/core_window.h
+++ b/desktop/core_window.h
@@ -80,8 +80,4 @@ struct core_window_callback_table {
};
-void core_window_draw(struct core_window *cw, int x, int y, struct rect r,
- const struct redraw_context *ctx);
-
-
#endif
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=5aed142560955757334...
commit 5aed1425609557573346675bda9be7ed3c0d5362
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Document callbacks.
diff --git a/desktop/core_window.h b/desktop/core_window.h
index b7f1ba3..8f53d96 100644
--- a/desktop/core_window.h
+++ b/desktop/core_window.h
@@ -34,7 +34,12 @@ typedef enum {
/** Callbacks to achieve various core window functionality. */
struct core_window_callback_table {
- /** Request a redraw of the window. */
+ /**
+ * Request a redraw of the window
+ *
+ * \param cw the core window object
+ * \param r rectangle to redraw
+ */
void (*redraw_request)(struct core_window *cw, struct rect r);
/**
@@ -46,10 +51,21 @@ struct core_window_callback_table {
*/
void (*update_size)(struct core_window *cw, int width, int height);
- /** Scroll the window to make area visible */
+ /**
+ * Scroll the window to make area visible
+ *
+ * \param cw the core window object
+ * \param r rectangle to make visible
+ */
void (*scroll_visible)(struct core_window *cw, struct rect r);
- /** Get window viewport dimensions */
+ /**
+ * Get window viewport dimensions
+ *
+ * \param cw the core window object
+ * \param width to be set to viewport width in px
+ * \param height to be set to viewport height in px
+ */
void (*get_window_dimensions)(struct core_window *cw,
int *width, int *height);
-----------------------------------------------------------------------
Summary of changes:
desktop/core_window.h | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/desktop/core_window.h b/desktop/core_window.h
index b7f1ba3..6138f49 100644
--- a/desktop/core_window.h
+++ b/desktop/core_window.h
@@ -34,7 +34,12 @@ typedef enum {
/** Callbacks to achieve various core window functionality. */
struct core_window_callback_table {
- /** Request a redraw of the window. */
+ /**
+ * Request a redraw of the window
+ *
+ * \param cw the core window object
+ * \param r rectangle to redraw
+ */
void (*redraw_request)(struct core_window *cw, struct rect r);
/**
@@ -46,10 +51,21 @@ struct core_window_callback_table {
*/
void (*update_size)(struct core_window *cw, int width, int height);
- /** Scroll the window to make area visible */
+ /**
+ * Scroll the window to make area visible
+ *
+ * \param cw the core window object
+ * \param r rectangle to make visible
+ */
void (*scroll_visible)(struct core_window *cw, struct rect r);
- /** Get window viewport dimensions */
+ /**
+ * Get window viewport dimensions
+ *
+ * \param cw the core window object
+ * \param width to be set to viewport width in px
+ * \param height to be set to viewport height in px
+ */
void (*get_window_dimensions)(struct core_window *cw,
int *width, int *height);
@@ -64,8 +80,4 @@ struct core_window_callback_table {
};
-void core_window_draw(struct core_window *cw, int x, int y, struct rect r,
- const struct redraw_context *ctx);
-
-
#endif
--
NetSurf Browser