X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=4b3ca32d3eb3f2555e7458e8e0c9223ec6d63f9f;hb=d047ab5d9aee6224e864c10bce623e43c56a13c3;hp=99590c915591f46a8c2ea57282c2e358daf87e8f;hpb=80cc20b7784cccc9d8baf9839f9781db6bb6f539;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 99590c9..4b3ca32 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -882,7 +882,7 @@ ActionTAG* action_BitLShift(ActionTAG*atag); ActionTAG* action_BitRShift(ActionTAG*atag); ActionTAG* action_BitURShift(ActionTAG*atag); ActionTAG* action_GotoFrame(ActionTAG*atag, U16 frame); -ActionTAG* action_GetUrl(ActionTAG*atag, char* url, char* label); +ActionTAG* action_GetUrl(ActionTAG*atag, const char* url, char* label); ActionTAG* action_StoreRegister(ActionTAG*atag, U8 reg); ActionTAG* action_Constantpool(ActionTAG*atag, char* constantpool); ActionTAG* action_WaitForFrame(ActionTAG*atag, U16 frame, U8 skip); @@ -985,7 +985,7 @@ void swf_Render_SetBackgroundColor(RENDERBUF*buf, RGBA color); RGBA* swf_Render(RENDERBUF*dest); void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 depth,U16 clipdepth); void swf_RenderSWF(RENDERBUF*buf, SWF*swf); -void swf_Render_AddImage(RENDERBUF*buf, U16 id, RGBA*img, int width, int height); +void swf_Render_AddImage(RENDERBUF*buf, U16 id, RGBA*img, int width, int height); /* img is non-premultiplied */ void swf_Render_ClearCanvas(RENDERBUF*dest); void swf_Render_Delete(RENDERBUF*dest);