OLED Emulator - dont highlight entire row
This commit is contained in:
parent
98961a9421
commit
550677cc93
1 changed files with 4 additions and 1 deletions
|
@ -318,6 +318,9 @@ void DiskCaddy::ShowSelectedImage(u32 index)
|
|||
const char* name = image->GetName();
|
||||
if (name)
|
||||
{
|
||||
// snprintf(buffer, 256, " ");
|
||||
memset(buffer, 'Z', screenLCD->Width()/screenLCD->GetFontWidth());
|
||||
screenLCD->PrintText(false, x, y, buffer, BkColour, BkColour);
|
||||
snprintf(buffer, 256, "%d %s", caddyIndex + 1, name);
|
||||
screenLCD->PrintText(false, x, y, buffer, RGBA(0xff, 0xff, 0xff, 0xff), caddyIndex == index ? RGBA(0xff, 0xff, 0xff, 0xff) : BkColour);
|
||||
y += LCDFONTHEIGHT;
|
||||
|
|
Loading…
Reference in a new issue