CComponents: remove member setCornerRadius(),

setCorner() replaces this function, 2nd parameter sets type
This commit is contained in:
2013-09-15 20:39:54 +02:00
parent a9a1c5dd68
commit 33ec56ad6f
12 changed files with 16 additions and 26 deletions

View File

@@ -1645,7 +1645,7 @@ void CAudioPlayerGui::paintHead()
return;
CComponentsHeader header(m_x, m_y + m_title_height, m_width, m_theight, LOCALE_AUDIOPLAYER_HEAD, NEUTRINO_ICON_MP3);
header.setCornerRadius(RADIUS_MID);
header.setCorner(RADIUS_MID);
if (m_inetmode)
header.setCaption(LOCALE_INETRADIO_NAME);
@@ -1922,7 +1922,7 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
// paint id3 infobox
if (ibox == NULL)
ibox = new CComponentsInfoBox(m_x, ypos2, m_width, m_info_height);
ibox->setCornerRadius(RADIUS_LARGE);
ibox->setCorner(RADIUS_LARGE);
ibox->setYPos(ypos2);
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
ibox->paint(false);