示例#1
0
void CLCD::showMoviename(const std::string & name) // UTF-8
{
	// is this needed?
	if (mode != MODE_TVRADIO)
		return;

	showTextScreen(name, "", 1, false, false);
}
示例#2
0
void CLCD::setMovieInfo(const std::string big, const std::string small)
{
	int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];
	showmode |= EPG_NAME | EPG_TITLE; // take only the separator line from the config

	movie_big = big;
	movie_small = small;

	if (mode != MODE_MOVIE)
		return;

	showTextScreen(movie_big, movie_small, showmode, true);
}
示例#3
0
void CLCD::showServicename(const std::string name, const bool perform_wakeup)
{
	int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];

	//printf("CLCD::showServicename '%s' epg: '%s'\n", name.c_str(), epg_title.c_str());

	if (!name.empty())
		servicename = name;

	if (mode != MODE_TVRADIO)
		return;

	showTextScreen(servicename, epg_title, showmode, perform_wakeup);
	return;
}
void CLCD::setMovieInfo(const AUDIOMODES playmode, const std::string big, const std::string small, const bool centered)
{
	int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];
	showmode |= 3; // take only the separator line from the config

	movie_playmode = playmode;
	movie_big = big;
	movie_small = small;
	movie_centered = centered;

	if (mode != MODE_MOVIE)
		return;

	showAudioPlayMode(movie_playmode);
	showTextScreen(movie_big, movie_small, showmode, true, movie_centered);
}
示例#5
0
void CLCD::showServicename(const std::string & name, const bool perform_wakeup) // UTF-8
{
	/*
	   1 = show servicename
	   2 = show epg title
	   4 = draw separator line between name and EPG
	 */
	int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];

	//printf("CLCD::showServicename '%s' epg: '%s'\n", name.c_str(), epg_title.c_str());

	if (!name.empty())
		servicename = name;

	if (mode != MODE_TVRADIO)
		return;

	showTextScreen(servicename, epg_title, showmode, perform_wakeup, true);
	return;
}