From 5bff3e3287501d494536b074a5c540c5be2e94bd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Dec 2008 10:54:59 +0000 Subject: Update for new SDK svn path=/trunk/netsurf/; revision=5915 --- amiga/gui.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'amiga/gui.c') 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) -- cgit v1.2.3