summaryrefslogtreecommitdiff
path: root/src/frontend.c
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 /src/frontend.c
parent3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486 (diff)
downloadlibnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.gz
libnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.bz2
add cursor support
svn path=/trunk/libnsfb/; revision=7687
Diffstat (limited to 'src/frontend.c')
-rw-r--r--src/frontend.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frontend.c b/src/frontend.c
index c53ba66..a071719 100644
--- a/src/frontend.c
+++ b/src/frontend.c
@@ -67,6 +67,13 @@ static int frontend_release(nsfb_t *nsfb, nsfb_bbox_t *box)
return 0;
}
+static int frontend_cursor(nsfb_t *nsfb, struct nsfb_cursor_s *cursor)
+{
+ nsfb=nsfb;
+ cursor=cursor;
+ return 0;
+}
+
nsfb_frontend_rtns_t *nsfb_frontend_get_rtns(enum nsfb_frontend_e type)
{
int fend_loop;
@@ -99,6 +106,9 @@ nsfb_frontend_rtns_t *nsfb_frontend_get_rtns(enum nsfb_frontend_e type)
if (rtns->release == NULL)
rtns->release = frontend_release;
+ if (rtns->cursor == NULL)
+ rtns->cursor = frontend_cursor;
+
break;
}
}