5 TYPE_GrData *OSDMenuLightBlueCursorGd, *OSDMenuDarkBlueCursorGd;
6 word chunks, remainder, cx;
15 Color = RGB(90, 205, 236);
16 TAP_Osd_FillBox(
OSDRgn, x, y, w, 2, Color);
17 TAP_Osd_FillBox(
OSDRgn, x + w - 2, y, 2, h, Color);
18 TAP_Osd_FillBox(
OSDRgn, x, y + h - 2, w, 2, Color);
19 TAP_Osd_FillBox(
OSDRgn, x, y, 2, h, Color);
45 OSDMenuSelectionBarRgn = TAP_Osd_Create(0, 0, OSDMenuLightBlueCursorGd->width, OSDMenuLightBlueCursorGd->height, 0, OSD_Flag_MemRgn);
50 chunks = w / OSDMenuLightBlueCursorGd->width;
51 remainder = w % OSDMenuLightBlueCursorGd->width;
55 for (; chunks > 0; chunks--)
58 cx += OSDMenuLightBlueCursorGd->width;
71 OSDMenuSelectionBarRgn = TAP_Osd_Create(0, 0, OSDMenuDarkBlueCursorGd->width, OSDMenuDarkBlueCursorGd->height, 0, OSD_Flag_MemRgn);
76 chunks = (w - 4) / OSDMenuDarkBlueCursorGd->width;
77 remainder = (w - 4) % OSDMenuDarkBlueCursorGd->width;
81 for (; chunks > 0; chunks--)
84 cx += OSDMenuDarkBlueCursorGd->width;