bitmap to fontpreview button
This commit is contained in:
parent
127a232a10
commit
84e817d020
File diff suppressed because it is too large
Load Diff
@ -159,7 +159,7 @@ void file_buttons(void)
|
|||||||
xco+= 100; // scroll
|
xco+= 100; // scroll
|
||||||
}
|
}
|
||||||
else if(sfile->type==FILE_LOADFONT) {
|
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)
|
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");
|
uiDefButC(block, FTPREVIEW, 0, "Font preview", xco+= XIC, 0, 100, YIC, sfile->fp_str, (float)0, (float)16, 0, 0, "Font preview");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user