summaryrefslogtreecommitdiff
path: root/include/libnsfb.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-06-02 13:01:45 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-06-02 13:01:45 +0000
commit30edb722902dff842b5b9544f9b43846b93adc92 (patch)
treeade17d9dc0ec2985a82a767134d2f22c354d181b /include/libnsfb.h
parent3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486 (diff)
downloadlibnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.gz
libnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.bz2
add cursor support
svn path=/trunk/libnsfb/; revision=7687
Diffstat (limited to 'include/libnsfb.h')
-rw-r--r--include/libnsfb.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/libnsfb.h b/include/libnsfb.h
index c125ead..d828fca 100644
--- a/include/libnsfb.h
+++ b/include/libnsfb.h
@@ -92,11 +92,17 @@ int nsfb_release(nsfb_t *nsfb, nsfb_bbox_t *box);
*/
int nsfb_get_geometry(nsfb_t *nsfb, int *width, int *height, int *bpp);
-/** Alter a nsfb geometry
+/** Alter the geometry of a framebuffer context
+ *
+ * @param nsfb The context to alter.
+ * @param width The new display width.
+ * @param height The new display height.
+ * @param bpp The new display depth.
*/
int nsfb_set_geometry(nsfb_t *nsfb, int width, int height, int bpp);
-/** Obtain the framebuffer memory base and stride. */
+/** Obtain the framebuffer memory base and stride.
+ */
int nsfb_get_framebuffer(nsfb_t *nsfb, uint8_t **ptr, int *linelen);
#endif