show infoviewer with rc pause,play,forward,rewind in movieplayer

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@821 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 772461a733
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-10-06 (Wed, 06 Oct 2010)

Origin message was:
------------------
-show infoviewer with rc pause,play,forward,rewind in movieplayer

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@821 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-10-06 11:05:38 +00:00
parent 4d0edd8e60
commit abbff4d1a6
3 changed files with 43 additions and 28 deletions

View File

@@ -826,6 +826,9 @@ void CInfoViewer::loop(int fadeValue, bool show_dot ,bool fadeIn)
res = messages_return::cancel_info;
}
}
} else if (fileplay && !timeshift && ( (msg == (neutrino_msg_t) g_settings.mpkey_pause) || (msg == (neutrino_msg_t) g_settings.mpkey_rewind) || (msg == (neutrino_msg_t) g_settings.mpkey_play) || (msg == (neutrino_msg_t) g_settings.mpkey_forward) || (msg == (neutrino_msg_t) g_settings.mpkey_stop)) ) {
g_RCInput->postMsg (msg, data);
res = messages_return::cancel_info;
}
}
@@ -1994,8 +1997,8 @@ void CInfoViewer::showIcon_CA_Status (int notfirst)
return;
}
char * white = (char *) "white";
char * yellow = (char *) "yellow";
const char * white = (char *) "white";
const char * yellow = (char *) "yellow";
static int icon_space_offset = 0;
bool paintIconFlag = false;