mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
-use paintBoxFrame in audioplayer, -fix compil with -Werror
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@992 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1772,12 +1772,12 @@ void CAudioPlayerGui::paintInfo()
|
||||
if (!m_show_playlist)
|
||||
{
|
||||
// no playlist -> smaller Info-Box
|
||||
m_frameBuffer->paintBoxRel(m_x, m_y, m_width, m_title_height - 10 - m_fheight, COL_MENUCONTENT_PLUS_6, c_rad_mid);
|
||||
m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10 - m_fheight,2, COL_MENUCONTENT_PLUS_6, c_rad_mid);
|
||||
m_frameBuffer->paintBoxRel(m_x + 2, m_y + 2 , m_width - 4, m_title_height - 14 - m_fheight, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_frameBuffer->paintBoxRel(m_x, m_y, m_width, m_title_height - 10, COL_MENUCONTENT_PLUS_6, c_rad_mid);
|
||||
m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10,2, COL_MENUCONTENT_PLUS_6, c_rad_mid);
|
||||
m_frameBuffer->paintBoxRel(m_x + 2, m_y + 2 , m_width - 4, m_title_height - 14, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid);
|
||||
}
|
||||
|
||||
|
@@ -1780,11 +1780,11 @@ bool CMovieBrowser::onButtonPressBrowserList(neutrino_msg_t msg)
|
||||
{
|
||||
m_pcBrowser->scrollLineDown(1);
|
||||
}
|
||||
else if (msg == g_settings.key_channelList_pageup)
|
||||
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pageup)
|
||||
{
|
||||
m_pcBrowser->scrollPageUp(1);
|
||||
}
|
||||
else if (msg == g_settings.key_channelList_pagedown)
|
||||
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pagedown)
|
||||
{
|
||||
m_pcBrowser->scrollPageDown(1);
|
||||
}
|
||||
@@ -1894,11 +1894,11 @@ bool CMovieBrowser::onButtonPressFilterList(neutrino_msg_t msg)
|
||||
{
|
||||
m_pcFilter->scrollLineDown(1);
|
||||
}
|
||||
else if (msg == g_settings.key_channelList_pageup)
|
||||
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pageup)
|
||||
{
|
||||
m_pcFilter->scrollPageUp(1);
|
||||
}
|
||||
else if (msg == g_settings.key_channelList_pagedown)
|
||||
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pagedown)
|
||||
{
|
||||
m_pcFilter->scrollPageDown(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user