add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines


Origin commit data
------------------
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 is contained in:
vanhofen
2017-09-20 13:46:31 +02:00
parent 159b844430
commit 619342d89d
16 changed files with 21 additions and 20 deletions

View File

@@ -1737,7 +1737,7 @@ void COsdSetup::paintWindowSize(int w, int h)
{
if (win_demo == NULL) {
win_demo = new CComponentsShapeSquare(0, 0, 0, 0);
win_demo->setFrameThickness(8);
win_demo->setFrameThickness(OFFSET_INNER_MID);
win_demo->disableShadow();
win_demo->setColorBody(COL_BACKGROUND);
win_demo->setColorFrame(COL_RED);