Fixed view main menu border
This commit is contained in:
committed by
Raphael Coeffic
parent
2c790cbc16
commit
05115bc2da
@@ -115,8 +115,10 @@ ViewMainMenu::ViewMainMenu(Window* parent) :
|
|||||||
|
|
||||||
void ViewMainMenu::paint(BitmapBuffer* dc)
|
void ViewMainMenu::paint(BitmapBuffer* dc)
|
||||||
{
|
{
|
||||||
dc->drawFilledRect(carouselRect.x, carouselRect.y, carouselRect.w,
|
rect_t r = carouselRect;
|
||||||
carouselRect.h, SOLID, OVERLAY_COLOR, OPACITY(5));
|
r.x -= 8; r.y -= 8;
|
||||||
|
r.w += 16; r.h += 16;
|
||||||
|
dc->drawFilledRect(r.x, r.y, r.w, r.h, SOLID, OVERLAY_COLOR, OPACITY(5));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ViewMainMenu::deleteLater(bool detach, bool trash)
|
void ViewMainMenu::deleteLater(bool detach, bool trash)
|
||||||
|
|||||||
Reference in New Issue
Block a user