Revert "epgplus: restore white grid lines instead of invisible dark ones"

This reverts commit 7ff442ac08.


Origin commit data
------------------
Commit: c709184e31
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-27 (Sun, 27 Aug 2017)
This commit is contained in:
vanhofen
2017-08-27 23:56:17 +02:00
parent 25a4911df4
commit 8d6a5b449d

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_MENUCONTENT_TEXT); this->frameBuffer->paintVLineRel(xPos, this->y, this->font->getHeight(), COL_MENUCONTENTDARK_PLUS_0);
} }
} }
@@ -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_MENUCONTENT_TEXT); this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0);
} }
} }
@@ -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_MENUCONTENT_TEXT); this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0);
} }
} }
@@ -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_MENUCONTENT_TEXT); this->separationLineThickness, this->font->getHeight(), COL_MENUCONTENTDARK_PLUS_0);
// 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_MENUCONTENT_TEXT); this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0);
} }
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_MENUCONTENT_TEXT); this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0);
} }
bool toggleColor = false; bool toggleColor = false;