mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Pass reference to showMovieTitle; Fix function name
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1959 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -539,11 +539,11 @@ void CInfoViewer::show_current_next(bool new_chan, int epgpos)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInfoViewer::showMovieTitle(const int playState, const std::string Channel,
|
void CInfoViewer::showMovieTitle(const int playState, const std::string &Channel,
|
||||||
const std::string g_file_epg, const std::string g_file_epg1,
|
const std::string &g_file_epg, const std::string &g_file_epg1,
|
||||||
const int duration, const int curr_pos)
|
const int duration, const int curr_pos)
|
||||||
{
|
{
|
||||||
chack_channellogo_ca_SettingsChange();
|
check_channellogo_ca_SettingsChange();
|
||||||
aspectRatio = 0;
|
aspectRatio = 0;
|
||||||
last_curr_id = last_next_id = 0;
|
last_curr_id = last_next_id = 0;
|
||||||
showButtonBar = true;
|
showButtonBar = true;
|
||||||
@@ -645,7 +645,7 @@ void CInfoViewer::reset_allScala()
|
|||||||
lastsig = lastsnr = lasthdd = lastvar = -1;
|
lastsig = lastsnr = lasthdd = lastvar = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInfoViewer::chack_channellogo_ca_SettingsChange()
|
void CInfoViewer::check_channellogo_ca_SettingsChange()
|
||||||
{
|
{
|
||||||
if (casysChange != g_settings.casystem_display || channellogoChange != g_settings.infobar_show_channellogo) {
|
if (casysChange != g_settings.casystem_display || channellogoChange != g_settings.infobar_show_channellogo) {
|
||||||
casysChange = g_settings.casystem_display;
|
casysChange = g_settings.casystem_display;
|
||||||
@@ -661,7 +661,7 @@ void CInfoViewer::chack_channellogo_ca_SettingsChange()
|
|||||||
|
|
||||||
void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, const t_satellite_position satellitePosition, const t_channel_id new_channel_id, const bool calledFromNumZap, int epgpos)
|
void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, const t_satellite_position satellitePosition, const t_channel_id new_channel_id, const bool calledFromNumZap, int epgpos)
|
||||||
{
|
{
|
||||||
chack_channellogo_ca_SettingsChange();
|
check_channellogo_ca_SettingsChange();
|
||||||
aspectRatio = 0;
|
aspectRatio = 0;
|
||||||
last_curr_id = last_next_id = 0;
|
last_curr_id = last_next_id = 0;
|
||||||
showButtonBar = !calledFromNumZap;
|
showButtonBar = !calledFromNumZap;
|
||||||
|
@@ -159,7 +159,7 @@ class CInfoViewer
|
|||||||
void paintshowButtonBar();
|
void paintshowButtonBar();
|
||||||
void show_current_next(bool new_chan, int epgpos);
|
void show_current_next(bool new_chan, int epgpos);
|
||||||
void reset_allScala();
|
void reset_allScala();
|
||||||
void chack_channellogo_ca_SettingsChange();
|
void check_channellogo_ca_SettingsChange();
|
||||||
public:
|
public:
|
||||||
bool chanready;
|
bool chanready;
|
||||||
bool is_visible;
|
bool is_visible;
|
||||||
@@ -167,8 +167,8 @@ class CInfoViewer
|
|||||||
uint32_t lcdUpdateTimer;
|
uint32_t lcdUpdateTimer;
|
||||||
|
|
||||||
CInfoViewer();
|
CInfoViewer();
|
||||||
void showMovieTitle(const int playState, const std::string title,
|
void showMovieTitle(const int playState, const std::string &title,
|
||||||
const std::string g_file_epg, const std::string g_file_epg1,
|
const std::string &g_file_epg, const std::string &g_file_epg1,
|
||||||
const int duration, const int curr_pos);
|
const int duration, const int curr_pos);
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
|
@@ -1353,7 +1353,7 @@ void CMoviePlayerGui::callInfoViewer(const std::string & epg_title, const std::s
|
|||||||
const std::string & epg_channel, const int duration, const int curr_pos)
|
const std::string & epg_channel, const int duration, const int curr_pos)
|
||||||
{
|
{
|
||||||
if (isMovieBrowser) {
|
if (isMovieBrowser) {
|
||||||
g_InfoViewer->showMovieTitle(playstate, epg_channel.c_str(), epg_title, epg_info1,
|
g_InfoViewer->showMovieTitle(playstate, epg_channel, epg_title, epg_info1,
|
||||||
duration, curr_pos);
|
duration, curr_pos);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user