diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-11-10 17:00:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-11-10 17:00:15 +0000 |
commit | d1f2d29e102a3c429c892c70a7125cad3add5fe0 (patch) | |
tree | d127b2b5668161dbe72b6fe104a231268a873ba4 /framebuffer | |
parent | ea033c54d474113d6755ab19ad2c6b59e7ca1f01 (diff) | |
download | netsurf-d1f2d29e102a3c429c892c70a7125cad3add5fe0.tar.gz netsurf-d1f2d29e102a3c429c892c70a7125cad3add5fe0.tar.bz2 |
Doxygen cleanups and documentation additions
Diffstat (limited to 'framebuffer')
-rw-r--r-- | framebuffer/fbtk.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/framebuffer/fbtk.h b/framebuffer/fbtk.h index f64be42a0..ea5cf127b 100644 --- a/framebuffer/fbtk.h +++ b/framebuffer/fbtk.h @@ -291,6 +291,7 @@ bool fbtk_set_pos_and_size(fbtk_widget_t *widget, int x, int y, int width, int h * @param x x-coordinate of caret top * @param y y-coordinate of caret top * @param height height of caret + * @param remove_caret callback when caret is removed. */ void fbtk_set_caret(fbtk_widget_t *widget, bool set, int x, int y, int height, void (*remove_caret)(fbtk_widget_t *widget)); @@ -452,14 +453,18 @@ void fbtk_reposition_vscroll(fbtk_widget_t *scrollv, * Create a widget which is to be handled entirely by the calling application. * * @param window The window to add the user widget to. - * @param pw The private pointer which can be read using ::fbtk_get_pw + * @param x X coordinate of widget. + * @param y Y coordinate of widget. + * @param width Width of the widget + * @param height Height of the widget + * @param pw The private pointer which can be read using ::fbtk_get_userpw * @return new widget handle or NULL on error. */ fbtk_widget_t *fbtk_create_user(fbtk_widget_t *window, int x, int y, int width, int height, void *pw); /** - * Get the private context from a widget + * Get the user context from a widget * * @param widget The widget to get the context from. * @return The context or NULL. |