neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii

This commit is contained in:
[CST] Focus
2014-09-05 17:49:11 +04:00
parent f07e81c4b9
commit 420af7a4dc
45 changed files with 1767 additions and 1144 deletions

View File

@@ -1791,12 +1791,12 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
else
result = false;
}
else if (msg == CRCInput::RC_minus)
else if (msg == (neutrino_msg_t)g_settings.key_volumedown)
{
onSetGUIWindowPrev();
//refreshMovieInfo();
}
else if (msg == CRCInput::RC_plus)
else if (msg == (neutrino_msg_t)g_settings.key_volumeup)
{
onSetGUIWindowNext();
//refreshMovieInfo();
@@ -1985,11 +1985,11 @@ bool CMovieBrowser::onButtonPressBrowserList(neutrino_msg_t msg)
{
m_pcBrowser->scrollLineDown(1);
}
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pageup)
else if (msg == (neutrino_msg_t)g_settings.key_pageup)
{
m_pcBrowser->scrollPageUp(1);
}
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pagedown)
else if (msg == (neutrino_msg_t)g_settings.key_pagedown)
{
m_pcBrowser->scrollPageDown(1);
}
@@ -2099,11 +2099,11 @@ bool CMovieBrowser::onButtonPressFilterList(neutrino_msg_t msg)
{
m_pcFilter->scrollLineDown(1);
}
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pageup)
else if (msg == (neutrino_msg_t)g_settings.key_pageup)
{
m_pcFilter->scrollPageUp(1);
}
else if (msg == (neutrino_msg_t)g_settings.key_channelList_pagedown)
else if (msg == (neutrino_msg_t)g_settings.key_pagedown)
{
m_pcFilter->scrollPageDown(1);
}