- 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

@@ -1855,7 +1855,7 @@ void CAudioPlayerGui::paintDetailsLine(int pos)
if (m_infobox == NULL)
{
m_infobox = new CComponentsInfoBox(m_x, ypos2, m_width, m_info_height);
m_infobox->setFrameThickness(2);
m_infobox->setFrameThickness(FRAME_WIDTH_MIN);
m_infobox->setCorner(RADIUS_LARGE);
m_infobox->setColorFrame(COL_FRAME_PLUS_0);
m_infobox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);