46 OSDMenuPutS(
MessageBoxOSDRgn, 0, 10, 380,
MessageBox.
Title, RGB(232,146,17), COLOR_None, 14, FALSE, ALIGN_CENTER);
52 EndOfText = s + strlen(s);
54 while(pText < EndOfText)
57 pText = strpbrk(pText,
"\x0d\x0a");
61 if (Lines == 7)
break;
65 y = 38 - 10 * (Lines - 1);
67 for(i = 0; i < Lines; i++)
69 OSDMenuPutS(
MessageBoxOSDRgn, 0, y - 7 + 36, 380, pText, RGB(192,192,192), COLOR_None, 14, FALSE, ALIGN_CENTER);
71 pText += (strlen(pText) + 1);
83 TAP_Osd_FillBox(
MessageBoxOSDRgn, x - (MB->width >> 1), 120, MB->width, MB->height, RGB(36,36,36));
84 OSDMenuPutS(
MessageBoxOSDRgn, x - (MB->width >> 1), 124, x + (MB->width >> 1),
MessageBox.
Button[i], RGB(230,230,250), COLOR_None, 14, FALSE, ALIGN_CENTER);
91 OSDMenuPutS(
MessageBoxOSDRgn, x - (MB->width >> 1), 124, x + (MB->width >> 1),
MessageBox.
Button[
MessageBox.
CurrentButton], RGB(40,40,40), COLOR_None, 14, FALSE, ALIGN_CENTER);
byte * strncpyUC(byte *dest, const byte *src, size_t n)
char Title[STDSTRINGSIZE]
char Button[MAXMBBUTTONS][STDSTRINGSIZE]