X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=5450b5c6ca2c6d7f2b2fbc475dca0a08b8035fe3;hb=a72d10185525aafd3fb4053573c5f44aa521f3d0;hp=07b9ea00d7f70fb1ed5cd6a45d3951c773e6d9a5;hpb=133453cc112df7e7d5ce35f3dde5178303154da5;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 07b9ea0..5450b5c 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -453,6 +453,7 @@ void swf_DumpShape(SHAPE2*shape2); // swfdraw.c +void swf_Shape10DrawerInit(drawer_t*draw, TAG*tag); void swf_Shape01DrawerInit(drawer_t*draw, TAG*tag); void swf_Shape11DrawerInit(drawer_t*draw, TAG*tag); SHAPE* swf_ShapeDrawerToShape(drawer_t*draw); @@ -561,8 +562,7 @@ int swf_FontSetInfo(TAG * t,SWFFONT * f); void swf_FontCreateLayout(SWFFONT*f); void swf_FontAddLayout(SWFFONT * f, int ascent, int descent, int leading); -int swf_FontExtract_DefineTextCallback(int id,SWFFONT * f,TAG * t,int jobs, - void(*callback)(int*chars, int nr, int id)); +int swf_ParseDefineText(TAG * t, void(*callback)(void*self, int*chars, int*xpos, int nr, int fontid, int fontsize, int xstart, int ystart, RGBA* color), void*self); void swf_WriteFont(SWFFONT* font, char* filename); SWFFONT* swf_ReadFont(char* filename); @@ -613,6 +613,10 @@ void swf_DumpFont(SWFFONT * font); // Button Conditions +/* missing: IDLE_OUTDOWN + OUTDOWN_OVERUP + OVERUP_OUTDOWN +*/ #define BC_OVERDOWN_IDLE 0x0100 #define BC_IDLE_OVERDOWN 0x0080 #define BC_OUTDOWN_IDLE 0x0040 @@ -730,6 +734,8 @@ void swf_GetUsedIDs(TAG * t, int * positions); void swf_Relocate(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[a]==0 means id a is free void swf_RelocateDepth(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[d]==0 means depth d is free +TAG* swf_Concatenate (TAG*list1,TAG*list2); // warning: both list1 and list2 are invalid after this call. + // swfcgi.c void swf_uncgi(); // same behaviour as Steven Grimm's uncgi-library