mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user