mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into dvbsi++
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <driver/screen_max.h>
|
||||
|
||||
#include <system/debug.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define TOUCH_BASE "/var/etc/."
|
||||
|
||||
|
@@ -869,6 +869,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