--- nono/wx/wxlcdwindow.cpp 2026/04/29 17:05:16 1.1.1.7 +++ nono/wx/wxlcdwindow.cpp 2026/04/29 17:05:31 1.1.1.9 @@ -12,6 +12,7 @@ #include "wxcolor.h" #include "wxuimessage.h" #include "lcd.h" +#include "monitor.h" // // LUNA 前面 LCD パネル @@ -102,7 +103,9 @@ WXLCDPanel::DrawChar(int x, int y, uint8 font = lcd->GetFont(ch); BitmapI1 src(font, 5, 8); - bitmap.DrawScaleUp((1 + x * 6) * unit, (1 + y * 9) * unit, unit, src, pal); + int dx = (1 + x * 6) * unit; + int dy = (1 + y * 9) * unit; + bitmap.DrawBitmapI1Scale(dx, dy, src, pal, unit); } @@ -192,7 +195,7 @@ WXLCDCharPanel::Draw() for (int ch = 0; ch < 256; ch++) { const uint8 *font = lcd->GetFont(ch); BitmapI1 src(font, 5, 8); - bitmap.DrawScaleUp(cx * unit, cy * unit, unit, src, pal); + bitmap.DrawBitmapI1Scale(cx * unit, cy * unit, src, pal, unit); cx += 6; if (ch % 16 == 15) {