gui/osd_setup.cpp: lets just hide menu and repaint on corners option change

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7ab0876611
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-09 (Mon, 09 Jul 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-07-09 17:37:34 +04:00
parent 4c3e711727
commit 965654aad8
2 changed files with 11 additions and 4 deletions

View File

@@ -870,6 +870,7 @@ void CMenuWidget::paint()
saveScreen();
#endif
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, nameString.c_str());
#if 0
//clear backround on corners switch
static bool corners = g_settings.rounded_corners;
if(g_settings.rounded_corners != corners){
@@ -880,7 +881,7 @@ void CMenuWidget::paint()
frameBuffer->paintBackgroundBoxRel(x, y, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET);
}
}
#endif
//paint shadow and backround
int rad = RADIUS_LARGE-2;
frameBuffer->paintBoxRel(x+SHADOW_OFFSET ,y + SHADOW_OFFSET ,width + sb_width ,height + rad ,COL_MENUCONTENTDARK_PLUS_0 ,rad);