diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-20 10:54:59 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-12-20 10:54:59 +0000 |
commit | 5bff3e3287501d494536b074a5c540c5be2e94bd (patch) | |
tree | adaf5164f25505b33410ffccaa8ca40ca6d59af3 /amiga/gui.c | |
parent | e34ed32685a8d5cda7e31942cfa091db62643b2e (diff) | |
download | netsurf-5bff3e3287501d494536b074a5c540c5be2e94bd.tar.gz netsurf-5bff3e3287501d494536b074a5c540c5be2e94bd.tar.bz2 |
Update for new SDK
svn path=/trunk/netsurf/; revision=5915
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index c52ea7490..dac6f8d25 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -188,15 +188,15 @@ void gui_init(int argc, char** argv) ASO_NoTrack,FALSE, TAG_DONE); - tioreq= (struct timerequest *)AllocSysObjectTags(ASOT_IOREQUEST, - ASOIOR_Size,sizeof(struct timerequest), + tioreq= (struct TimeRequest *)AllocSysObjectTags(ASOT_IOREQUEST, + ASOIOR_Size,sizeof(struct TimeRequest), ASOIOR_ReplyPort,msgport, ASO_NoTrack,FALSE, TAG_DONE); OpenDevice("timer.device",UNIT_WAITUNTIL,(struct IORequest *)tioreq,0); - TimerBase = (struct Device *)tioreq->tr_node.io_Device; + TimerBase = (struct Device *)tioreq->Request.io_Device; ITimer = (struct TimerIFace *)GetInterface((struct Library *)TimerBase,"main",1,NULL); if(!(appport = AllocSysObjectTags(ASOT_PORT, @@ -2308,9 +2308,9 @@ void ami_init_mouse_pointers(void) POINTERA_WordWidth, (width + 15) / 16, POINTERA_XResolution, POINTERXRESN_SCREENRES, POINTERA_YResolution, POINTERYRESN_SCREENRESASPECT, - POINTERA_Dummy + 0x07, data, - POINTERA_Dummy + 0x08, width, - POINTERA_Dummy + 0x09, height, + POINTERA_ImageData, data, + POINTERA_Width, width, + POINTERA_Height, height, TAG_DONE); } } @@ -2656,6 +2656,7 @@ void gui_create_form_select_menu(struct browser_window *bw, void gui_launch_url(const char *url) { + printf("%s\n",url); } void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg) |