moviebrowser: use RC_left/right to switch display modes ...

... to get free volume keys, because these keys should change
volume only.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 54e202cea8
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-01 (Tue, 01 Dec 2015)

Origin message was:
------------------
- moviebrowser: use RC_left/right to switch display modes ...

... to get free volume keys, because these keys should change
volume only.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-12-01 08:17:56 +01:00
parent d66d8bb0c9
commit e0a7eddc60

View File

@@ -1783,11 +1783,11 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
else
result = false;
}
else if (msg == (neutrino_msg_t)g_settings.key_volumedown)
else if (msg == CRCInput::RC_left)
{
onSetGUIWindowPrev();
}
else if (msg == (neutrino_msg_t)g_settings.key_volumeup)
else if (msg == CRCInput::RC_right)
{
onSetGUIWindowNext();
}
@@ -2031,9 +2031,9 @@ bool CMovieBrowser::onButtonPressLastPlayList(neutrino_msg_t msg)
m_pcLastPlay->scrollLineUp(1);
else if (msg == CRCInput::RC_down)
m_pcLastPlay->scrollLineDown(1);
else if (msg == CRCInput::RC_left)
else if ((neutrino_msg_t)g_settings.key_pageup)
m_pcLastPlay->scrollPageUp(1);
else if (msg == CRCInput::RC_right)
else if ((neutrino_msg_t)g_settings.key_pagedown)
m_pcLastPlay->scrollPageDown(1);
else if (msg == CRCInput::RC_play)
markItem(m_pcLastPlay);
@@ -2055,9 +2055,9 @@ bool CMovieBrowser::onButtonPressLastRecordList(neutrino_msg_t msg)
m_pcLastRecord->scrollLineUp(1);
else if (msg == CRCInput::RC_down)
m_pcLastRecord->scrollLineDown(1);
else if (msg == CRCInput::RC_left)
else if ((neutrino_msg_t)g_settings.key_pageup)
m_pcLastRecord->scrollPageUp(1);
else if (msg == CRCInput::RC_right)
else if ((neutrino_msg_t)g_settings.key_pagedown)
m_pcLastRecord->scrollPageDown(1);
else if (msg == CRCInput::RC_play)
markItem(m_pcLastRecord);
@@ -2123,14 +2123,6 @@ bool CMovieBrowser::onButtonPressFilterList(neutrino_msg_t msg)
}
}
}
else if (msg == CRCInput::RC_left)
{
m_pcFilter->scrollPageUp(1);
}
else if (msg == CRCInput::RC_right)
{
m_pcFilter->scrollPageDown(1);
}
else
{
// default