X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=5450b5c6ca2c6d7f2b2fbc475dca0a08b8035fe3;hb=2ac57b3eebaf50940dafe27a24541c87cdbee07e;hp=4d4eb072cf4f9e699ba645276b703623ab115890;hpb=0288babb81e62bf607d8c2e428b577756b655fed;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 4d4eb07..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