- add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-09-20 13:46:31 +02:00
committed by Thilo Graf
parent ecdc1acb9f
commit 6ee3e54741
15 changed files with 18 additions and 17 deletions

View File

@@ -198,7 +198,7 @@ void CVolumeBar::initVolumeBarScale()
vb_pb->setType(CProgressBar::PB_REDRIGHT);
vb_pb->setRgb(85, 75, 100);
vb_pb->setFrameThickness(2);
vb_pb->setFrameThickness(FRAME_WIDTH_NONE);
vb_pb->setProgress(vb_pbx, vb_pby, vb_pbw, vb_pbh, *vb_vol, 100);
}