add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee3e54741
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

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-20 13:46:31 +02:00
committed by Thilo Graf
parent 0a8ce310be
commit bdbe2f5ab8
15 changed files with 18 additions and 17 deletions

View File

@@ -450,7 +450,7 @@ void CProgressBar::paintProgress(bool do_save_bg)
pb_green /= sum;
if (*pb_gradient)
setFrameThickness(0);
setFrameThickness(FRAME_WIDTH_NONE);
initDimensions();