summaryrefslogtreecommitdiff
path: root/include/frontend.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/frontend.h
parent3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486 (diff)
downloadlibnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.gz
libnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.bz2
add cursor support
svn path=/trunk/libnsfb/; revision=7687
Diffstat (limited to 'include/frontend.h')
-rw-r--r--include/frontend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/frontend.h b/include/frontend.h
index 9e5bedf..bf6fee6 100644
--- a/include/frontend.h
+++ b/include/frontend.h
@@ -17,6 +17,8 @@ typedef bool (nsfb_fendfn_input_t)(nsfb_t *nsfb, nsfb_event_t *event, int timeou
typedef int (nsfb_fendfn_claim_t)(nsfb_t *nsfb, nsfb_bbox_t *box);
/* frontend area release */
typedef int (nsfb_fendfn_release_t)(nsfb_t *nsfb, nsfb_bbox_t *box);
+/* frontend cursor display */
+typedef int (nsfb_fendfn_cursor_t)(nsfb_t *nsfb, struct nsfb_cursor_s *cursor);
typedef struct nsfb_frontend_rtns_s {
nsfb_fendfn_defaults_t *defaults;
@@ -26,6 +28,7 @@ typedef struct nsfb_frontend_rtns_s {
nsfb_fendfn_input_t *input;
nsfb_fendfn_claim_t *claim;
nsfb_fendfn_release_t *release;
+ nsfb_fendfn_cursor_t *cursor;
} nsfb_frontend_rtns_t;
void _nsfb_register_frontend(const enum nsfb_frontend_e type, const nsfb_frontend_rtns_t *rtns, const char *name);