mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-17 18:33:35 +02:00
helpbox: use a smoother color and a smaller height for separatorline
Origin commit data
------------------
Commit: 606cd62a43
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-04 (Sun, 04 Dec 2016)
Origin message was:
------------------
- helpbox: use a smoother color and a smaller height for separatorline
This commit is contained in:
@@ -137,9 +137,9 @@ void Helpbox::addSeparatorLine(const int& line_space, const int& line_indent)
|
|||||||
line->setXPos(line_indent);
|
line->setXPos(line_indent);
|
||||||
line->setColorBody(ccw_body->getColorBody());
|
line->setColorBody(ccw_body->getColorBody());
|
||||||
|
|
||||||
CComponentsShapeSquare *sepline = new CComponentsShapeSquare (0, 0, line->getWidth(), 2);
|
CComponentsShapeSquare *sepline = new CComponentsShapeSquare (0, 0, line->getWidth(), 1); //NI
|
||||||
sepline->setYPos(line->getHeight()/2 - sepline->getHeight()/2);
|
sepline->setYPos(line->getHeight()/2 - sepline->getHeight()/2);
|
||||||
sepline->setColorBody(COL_MENUCONTENTINACTIVE_TEXT);
|
sepline->setColorBody(COL_MENUCONTENT_PLUS_1); //NI
|
||||||
if (g_settings.theme.menu_Separator_gradient_enable)
|
if (g_settings.theme.menu_Separator_gradient_enable)
|
||||||
{
|
{
|
||||||
sepline->enableColBodyGradient(true);
|
sepline->enableColBodyGradient(true);
|
||||||
|
Reference in New Issue
Block a user