X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=inline;f=lib%2Frfxswf.h;h=85b0c98de666703651d285dafa1078d8a9d58b9b;hb=refs%2Ftags%2Frelease-0-6-0;hp=60edecb9503ce5e09ba9fa0297aa124ed07c3a25;hpb=aecc804e3bd0642924c2225b76f483c6f32491c7;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 60edecb..85b0c98 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -586,7 +586,9 @@ int swf_TextSetCharRecord(TAG * t,SWFFONT * font,U8 * s,int scale,U8 gbits,U8 ab int swf_TextPrintDefineText(TAG * t,SWFFONT * f); // Prints text defined in tag t with font f to stdout -/* notice: if you set the fontid, make sure the corresponding font has layout information */ +void swf_FontPrepareForEditText(SWFFONT * f); + +/* notice: if you set the fontid, make sure you call swf_FontPrepareForEditText() for the font first */ void swf_SetEditText(TAG*tag, U16 flags, SRECT r, char*text, RGBA*color, int maxlength, U16 font, U16 height, EditTextLayout*layout, char*variable);