obdMenuSetCallback() */ Display the text of a single menu item optionally erases what's under it to prevent left-over text when the length changes
| 987 | // optionally erases what's under it to prevent left-over text when the length changes |
| 988 | // |
| 989 | void obdMenuShowItem(OBDISP *pOBD, int x, int y, char *szText, int bInvert, int bErase, int iFontSize, int bRender) |
| 990 | { |
| 991 | static char *szBlank = (char *)" "; |
| 992 | if (bErase) |
| 993 | obdWriteString(pOBD, 0, 0, y, szBlank, iFontSize, 0, bRender); // erase old info |
| 994 | obdWriteString(pOBD, 0, x, y, szText, iFontSize, bInvert, bRender); |
| 995 | } /* obdMenuShowItem() */ |
| 996 | |
| 997 | // |
| 998 | // Flash a menu item when it is selected |
no outgoing calls
no test coverage detected