mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
info viewer: Fix corner radius
Origin commit data
------------------
Branch: ni/coolstream
Commit: d313392144
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -370,7 +370,7 @@ void CInfoViewerBB::showBBButtons(const int modus)
|
|||||||
|
|
||||||
if (paint) {
|
if (paint) {
|
||||||
int last_x = minX;
|
int last_x = minX;
|
||||||
frameBuffer->paintBoxRel(g_InfoViewer->ChanInfoX, BBarY, minX - g_InfoViewer->ChanInfoX, InfoHeightY_Info, COL_INFOBAR_BUTTONS_BACKGROUND, RADIUS_SMALL, CORNER_BOTTOM); //round
|
frameBuffer->paintBoxRel(g_InfoViewer->ChanInfoX, BBarY, minX - g_InfoViewer->ChanInfoX, InfoHeightY_Info, COL_INFOBAR_BUTTONS_BACKGROUND, RADIUS_LARGE, CORNER_BOTTOM); //round
|
||||||
for (i = BUTTON_MAX; i > 0;) {
|
for (i = BUTTON_MAX; i > 0;) {
|
||||||
--i;
|
--i;
|
||||||
if ((bbButtonInfo[i].x <= g_InfoViewer->ChanInfoX) || (bbButtonInfo[i].x >= g_InfoViewer->BoxEndX) || (!bbButtonInfo[i].paint))
|
if ((bbButtonInfo[i].x <= g_InfoViewer->ChanInfoX) || (bbButtonInfo[i].x >= g_InfoViewer->BoxEndX) || (!bbButtonInfo[i].paint))
|
||||||
@@ -425,7 +425,7 @@ void CInfoViewerBB::paintshowButtonBar()
|
|||||||
if (g_settings.casystem_display < 2)
|
if (g_settings.casystem_display < 2)
|
||||||
paintCA_bar(0,0);
|
paintCA_bar(0,0);
|
||||||
|
|
||||||
frameBuffer->paintBoxRel(g_InfoViewer->ChanInfoX, BBarY, g_InfoViewer->BoxEndX - g_InfoViewer->ChanInfoX, InfoHeightY_Info, COL_INFOBAR_BUTTONS_BACKGROUND, RADIUS_SMALL, CORNER_BOTTOM); //round
|
frameBuffer->paintBoxRel(g_InfoViewer->ChanInfoX, BBarY, g_InfoViewer->BoxEndX - g_InfoViewer->ChanInfoX, InfoHeightY_Info, COL_INFOBAR_BUTTONS_BACKGROUND, RADIUS_LARGE, CORNER_BOTTOM); //round
|
||||||
|
|
||||||
g_InfoViewer->showSNR();
|
g_InfoViewer->showSNR();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user