From 9c5f090e19c9949daaf433858eefab947fe1fd3e Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 14 Sep 2020 14:09:48 +0200 Subject: Correct display some rectangle in cLCARSNGDisplayMenu::DrawFrameDisplay --- displaymenu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'displaymenu.c') diff --git a/displaymenu.c b/displaymenu.c index 813d66e..5463817 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -724,15 +724,15 @@ void cLCARSNGDisplayMenu::DrawStatusElbows(void) void cLCARSNGDisplayMenu::DrawFrameDisplay(void) { if (initial) { - osd->DrawRectangle(xa00, yb00, xa02 - 1, yb01 - 1, frameColorBr); + DrawRectangleOutline(osd, xa00, yb00, xa02 - 1, yb01 - 1, frameColorBr, frameColorBg, 15); if (yb02) // DISK - osd->DrawRectangle(xa00, yb02, xa02 - 1, yb03 - 1, frameColorBr); + DrawRectangleOutline(osd, xa00, yb02, xa02 - 1, yb03 - 1, frameColorBr, frameColorBg, 15); if (yb04) // LOAD - osd->DrawRectangle(xa00, yb04, xa02 - 1, yb05 - 1, frameColorBr); + DrawRectangleOutline(osd, xa00, yb04, xa02 - 1, yb05 - 1, frameColorBr, frameColorBg, 15); if (yb06) // RECORDINGS - osd->DrawRectangle(xa00, yb06, xa02 - 1, yb07 - 1, frameColorBr); + DrawRectangleOutline(osd, xa00, yb06, xa02 - 1, yb07 - 1, frameColorBr, frameColorBg, 15); if (yb08) // TIMER - osd->DrawRectangle(xa00, yb08, xa02 - 1, yb081 - 1, frameColorBr); + DrawRectangleOutline(osd, xa00, yb08, xa02 - 1, yb081 - 1, frameColorBr, frameColorBg, 15); if (yb082) DrawRectangleOutline(osd, xa00, yb082, xa02 - 1, yb09 - 1, frameColorBr, frameColorBg, 15); } -- cgit v1.2.3