radiotext: rework radiotext handling

Radiotext moved into a separate class and will be shown with screensaver.


Origin commit data
------------------
Branch: ni/coolstream
Commit: d995d2b8f8
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)



------------------
This commit was generated by Migit
This commit is contained in:
2020-01-05 22:22:22 +01:00
committed by vanhofen
parent 55381e778d
commit a2ba794cbf
12 changed files with 741 additions and 189 deletions

View File

@@ -44,7 +44,7 @@
class CFrameBuffer;
class COSDFader;
class CInfoViewerBB;
class CInfoViewer
class CInfoViewer : public sigc::trackable
{
private:
@@ -133,8 +133,7 @@ class CInfoViewer
void showMotorMoving(int duration);
void showLcdPercentOver();
int showChannelLogo(const t_channel_id logo_channel_id, const int channel_number_width);
void showRadiotext();
void killRadiotext();
void enableRadiotext();
//small infobox, shows a small textbox with a short message text,
//text must be located in a file named /tmp/infobar.txt
@@ -224,5 +223,7 @@ class CInfoViewer
inline t_channel_id get_current_channel_id(void) { return current_channel_id; }
void ResetModules();
bool hasTimeout();
sigc::signal<void> OnAfterKillTitle;
sigc::signal<void> OnEnableRadiotext;
};
#endif