mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d58a3b1c9
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)
Origin message was:
------------------
- add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines
------------------
This commit was generated by Migit
This commit is contained in:
@@ -620,7 +620,7 @@ void CImageInfoNI::paint_DF_Info(int posx)
|
||||
paintLine(posx, font_small, buf.str());
|
||||
|
||||
CProgressBar pb(boxX, boxY, boxW, boxH);
|
||||
pb.setFrameThickness(0);
|
||||
pb.setFrameThickness(FRAME_WIDTH_NONE);
|
||||
pb.setRgb(70, 100, 90);
|
||||
pb.setType(CProgressBar::PB_REDRIGHT);
|
||||
pb.setValues(image_size.percent, 100);
|
||||
@@ -720,7 +720,7 @@ void CImageInfoNI::paint_MEM_Info(int posx, int posy)
|
||||
g_Font[font_small]->RenderString(posx, posy, boxX - posx, buf.str().c_str(), COL_INFOBAR_TEXT);
|
||||
|
||||
CProgressBar pb(boxX, boxY, boxW, boxH);
|
||||
pb.setFrameThickness(0);
|
||||
pb.setFrameThickness(FRAME_WIDTH_NONE);
|
||||
pb.setRgb(70, 100, 90);
|
||||
pb.setType(CProgressBar::PB_REDRIGHT);
|
||||
pb.setValues(mem_percent, 100);
|
||||
@@ -873,7 +873,7 @@ void CImageInfoNI::paint_NET_Info(int posx, int posy)
|
||||
g_Font[font_small]->RenderString(posx, posy, boxX - posx, temp_string, COL_INFOBAR_TEXT);
|
||||
|
||||
CProgressBar pb(boxX, boxY, boxW, boxH);
|
||||
pb.setFrameThickness(0);
|
||||
pb.setFrameThickness(FRAME_WIDTH_NONE);
|
||||
pb.setRgb(70, 100, 90);
|
||||
pb.setType(CProgressBar::PB_REDRIGHT);
|
||||
pb.setValues(percent, 100);
|
||||
|
Reference in New Issue
Block a user