Compilation fixes

This commit is contained in:
Bertrand Songis
2019-03-21 20:03:25 +01:00
parent 39d99abc30
commit 07840007de
10 changed files with 20 additions and 31 deletions
+2 -10
View File
@@ -27,22 +27,14 @@ uint8_t warningType;
uint8_t warningResult = 0;
uint8_t warningInfoFlags = ZCHAR;
void drawMessageBox()
void drawMessageBox(const char * title)
{
lcdDrawFilledRect(MENU_X, MENU_Y, MENU_W, 40, SOLID, ERASE);
lcdDrawRect(MENU_X, MENU_Y, MENU_W, 40);
lcdDrawSizedText(WARNING_LINE_X, WARNING_LINE_Y, warningText, WARNING_LINE_LEN);
lcdDrawSizedText(WARNING_LINE_X, WARNING_LINE_Y, title, WARNING_LINE_LEN);
// could be a place for a warningInfoText
}
void showMessageBox(const char * str)
{
warningText = str;
drawMessageBox();
warningText = NULL;
lcdRefresh();
}
const unsigned char ASTERISK_BITMAP[] = {
#include "asterisk.lbm"
};