mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
infoviewer_bb: align icons on right side with text above
Origin commit data
------------------
Branch: ni/coolstream
Commit: 837b8b71ad
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-25 (Mon, 25 Nov 2013)
Origin message was:
------------------
- infoviewer_bb: align icons on right side with text above
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -157,7 +157,7 @@ void CInfoViewerBB::getBBIconInfo()
|
||||
bbIconMaxH = 0;
|
||||
BBarY = g_InfoViewer->BoxEndY + bottom_bar_offset;
|
||||
BBarFontY = BBarY + InfoHeightY_Info - (InfoHeightY_Info - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()) / 2; /* center in buttonbar */
|
||||
bbIconMinX = g_InfoViewer->BoxEndX;
|
||||
bbIconMinX = g_InfoViewer->BoxEndX - 8; //should be 10px, but 2px will be reduced for each icon
|
||||
CNeutrinoApp* neutrino = CNeutrinoApp::getInstance();
|
||||
|
||||
for (int i = 0; i < CInfoViewerBB::ICON_MAX; i++) {
|
||||
@@ -680,7 +680,7 @@ void CInfoViewerBB::showBarHdd(int percent)
|
||||
void CInfoViewerBB::paint_ca_icons(int caid, char * icon, int &icon_space_offset)
|
||||
{
|
||||
char buf[20];
|
||||
int endx = g_InfoViewer->BoxEndX -3;
|
||||
int endx = g_InfoViewer->BoxEndX - 10;
|
||||
int py = g_InfoViewer->BoxEndY + 2; /* hand-crafted, should be automatic */
|
||||
int px = 0;
|
||||
static map<int, std::pair<int,const char*> > icon_map;
|
||||
|
Reference in New Issue
Block a user