Goofy Crosscomp
This commit is contained in:
parent
85231d8ba1
commit
71a4a241aa
@ -573,7 +573,7 @@ void Paint_DrawString(UWORD Xstart, UWORD Ystart, const char * pString,
|
|||||||
Debug("Width: %d\n", Paint.Width);
|
Debug("Width: %d\n", Paint.Width);
|
||||||
Debug("Height: %d\n", Paint.Height);
|
Debug("Height: %d\n", Paint.Height);
|
||||||
|
|
||||||
if (Xstart > Paint.Width || Ystart > Paint.Height) {
|
if (Xstart > 250 || Ystart > 122) {
|
||||||
Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
|
Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ int draw() {
|
|||||||
const char *confName = "default";
|
const char *confName = "default";
|
||||||
GoString confStr = {confName, strlen(confName)};
|
GoString confStr = {confName, strlen(confName)};
|
||||||
const char *code = getCode(confStr);
|
const char *code = getCode(confStr);
|
||||||
Debug("Code: %s", code);
|
Debug("Code: %s\n", code);
|
||||||
Paint_DrawString(5, 5, code, &Font24, WHITE, BLACK);
|
Paint_DrawString(5, 5, code, &Font24, WHITE, BLACK);
|
||||||
|
|
||||||
Paint_DrawRectangle(10, 112, 240, 92, BLACK, DOT_PIXEL_1X1, DRAW_FILL_EMPTY);
|
Paint_DrawRectangle(10, 112, 240, 92, BLACK, DOT_PIXEL_1X1, DRAW_FILL_EMPTY);
|
||||||
|
Loading…
Reference in New Issue
Block a user