-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 is contained in:
satbaby
2010-10-06 11:05:38 +00:00
parent 34084de56f
commit 772461a733
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;