epgplus: restore white grid lines instead of invisible dark ones

Origin commit data
------------------
Commit: 1df104ecc9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-08-26 (Sat, 26 Aug 2017)
This commit is contained in:
Stefan Seyfried
2017-08-26 13:10:12 +02:00
parent 77f71f0ce4
commit 7ff442ac08

View File

@@ -236,7 +236,7 @@ void EpgPlus::TimeLine::paintGrid()
for (int i = 0; i < numberOfTicks; ++i, xPos += tickDist) for (int i = 0; i < numberOfTicks; ++i, xPos += tickDist)
{ {
// display a line for the tick // display a line for the tick
this->frameBuffer->paintVLineRel(xPos, this->y, this->font->getHeight(), COL_MENUCONTENTDARK_PLUS_0); this->frameBuffer->paintVLineRel(xPos, this->y, this->font->getHeight(), COL_MENUCONTENT_TEXT);
} }
} }
@@ -292,7 +292,7 @@ void EpgPlus::TimeLine::paintMark(time_t _startTime, int pduration, int px, int
if (separationLineThickness > 0) if (separationLineThickness > 0)
{ {
this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight() + this->font->getHeight(), this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight() + this->font->getHeight(),
this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); this->width, this->separationLineThickness, COL_MENUCONTENT_TEXT);
} }
} }
@@ -305,7 +305,7 @@ void EpgPlus::TimeLine::clearMark()
if (separationLineThickness > 0) if (separationLineThickness > 0)
{ {
this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight() + this->font->getHeight(), this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight() + this->font->getHeight(),
this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); this->width, this->separationLineThickness, COL_MENUCONTENT_TEXT);
} }
} }
@@ -365,11 +365,11 @@ void EpgPlus::ChannelEventEntry::paint(bool pisSelected, bool toggleColor)
{ {
// left side // left side
this->frameBuffer->paintBoxRel(this->x, this->y, this->frameBuffer->paintBoxRel(this->x, this->y,
this->separationLineThickness, this->font->getHeight(), COL_MENUCONTENTDARK_PLUS_0); this->separationLineThickness, this->font->getHeight(), COL_MENUCONTENT_TEXT);
// bottom // bottom
this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight(), this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight(),
this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); this->width, this->separationLineThickness, COL_MENUCONTENT_TEXT);
} }
if (pisSelected) if (pisSelected)
@@ -510,7 +510,7 @@ void EpgPlus::ChannelEntry::paint(bool isSelected, time_t _selectedTime)
if (separationLineThickness > 0) if (separationLineThickness > 0)
{ {
this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight(), this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight(),
this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); this->width, this->separationLineThickness, COL_MENUCONTENT_TEXT);
} }
bool toggleColor = false; bool toggleColor = false;