diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-07-31 20:40:14 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-07-31 20:40:14 +0100 |
commit | 941a48dabd93323f11ac2b18803289d30e8b3a78 (patch) | |
tree | 0fca5e05f1cabdc457f633853d4c31263581df14 /framebuffer/fbtk.h | |
parent | 4125a8afdfcbc18fb5e0e60b49d6d5cdd44d008c (diff) | |
download | netsurf-941a48dabd93323f11ac2b18803289d30e8b3a78.tar.gz netsurf-941a48dabd93323f11ac2b18803289d30e8b3a78.tar.bz2 |
When setting fbtk caret, register callback for redrawing caret removal.
Diffstat (limited to 'framebuffer/fbtk.h')
-rw-r--r-- | framebuffer/fbtk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framebuffer/fbtk.h b/framebuffer/fbtk.h index 131ae6521..a3f01557a 100644 --- a/framebuffer/fbtk.h +++ b/framebuffer/fbtk.h @@ -273,7 +273,8 @@ bool fbtk_set_pos_and_size(fbtk_widget_t *widget, int x, int y, int width, int h * @param y y-coordinate of caret top * @param height height of caret */ -void fbtk_set_caret(fbtk_widget_t *widget, bool set, int x, int y, int height); +void fbtk_set_caret(fbtk_widget_t *widget, bool set, int x, int y, int height, + void (*remove_caret)(fbtk_widget_t *widget)); /** Map a widget and request it is redrawn. */ |