bitmap to fontpreview button

This commit is contained in:
Joilnen Leite 2007-07-30 19:38:03 +00:00
parent 127a232a10
commit 84e817d020
2 changed files with 2038 additions and 2066 deletions

File diff suppressed because it is too large Load Diff

@ -159,7 +159,7 @@ void file_buttons(void)
xco+= 100; // scroll
}
else if(sfile->type==FILE_LOADFONT) {
uiDefIconButBitS(block, ICONTOG, FILE_SHOWSHORT, B_SORTFILELIST, ICON_BLANK3, xco+= XIC, 0, XIC, YIC, &sfile->f_fp, 0, 0, 0, 0, "Activate font preview");
uiDefIconButBitS(block, TOG, FILE_SHOWSHORT, B_SORTFILELIST, ICON_FONTPREVIEW, xco+= XIC, 0, XIC, YIC, &sfile->f_fp, 0, 0, 0, 0, "Activate font preview");
if (sfile->f_fp)
uiDefButC(block, FTPREVIEW, 0, "Font preview", xco+= XIC, 0, 100, YIC, sfile->fp_str, (float)0, (float)16, 0, 0, "Font preview");