mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
menue.cpp:-fix OSD on corners switch
Origin commit data
------------------
Branch: ni/coolstream
Commit: d8cdb87e83
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-08 (Sun, 08 Jul 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -850,6 +850,14 @@ void CMenuWidget::paint()
|
||||
saveScreen();
|
||||
#endif
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, nameString.c_str());
|
||||
//clear backround on corners switch
|
||||
static bool corners = g_settings.rounded_corners;
|
||||
if(g_settings.rounded_corners != corners){
|
||||
corners = g_settings.rounded_corners;
|
||||
if(!g_settings.rounded_corners){
|
||||
frameBuffer->paintBackgroundBoxRel(x, y+full_height, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET);
|
||||
}
|
||||
}
|
||||
|
||||
//paint shadow and backround
|
||||
int rad = RADIUS_LARGE-2;
|
||||
|
Reference in New Issue
Block a user