mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type
Origin commit data
------------------
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)
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