10 char *buffer, *from, *upto, *p, c;
26 buffer = TAP_MemAlloc(strlen(pMenu->
MemoText) + 1);
32 while ((p = strpbrk(upto + 1,
" \n")))
41 if (upto < from) upto = p;
52 OSDMenuItemAdd(*from ? from :
" ", NULL, NULL, NULL, TRUE, FALSE, 0);
dword FMUC_GetStringWidth(const char *Text, tFontDataUC *FontData)
void OSDMemoFormatText(void)
void OSDMenuItemsClear(void)
bool OSDMenuItemAdd(const char *Name, const char *Value, TYPE_GrData *pNameIconGd, TYPE_GrData *pValueIconGd, bool Selectable, bool ValueArrows, dword ID)