neutrino: add support for CST new simple frontpanel with LED segment display. (c) focus and adjusted by me.

Conflicts:
	src/daemonc/remotecontrol.cpp
	src/gui/channellist.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5f3872b5dd
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2014-09-26 (Fri, 26 Sep 2014)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Bas
2014-09-26 22:26:39 +08:00
committed by [CST] Focus
parent b70c1407d5
commit 683e1c9095
10 changed files with 185 additions and 63 deletions

View File

@@ -76,9 +76,15 @@ class CVFD
private:
#ifdef BOXMODEL_APOLLO
fp_display_caps_t caps;
#endif
MODES mode;
std::string servicename;
int service_number;
bool support_text;
bool support_numbers;
char volume;
unsigned char percentOver;
bool muted;
@@ -103,6 +109,7 @@ class CVFD
~CVFD();
bool has_lcd;
bool has_led_segment;
void setlcdparameter(void);
void setled(void);
void setled(bool on_off);
@@ -112,7 +119,7 @@ class CVFD
void setMode(const MODES m, const char * const title = "");
void showServicename(const std::string & name); // UTF-8
void showServicename(const std::string & name, int number = -1); // UTF-8
void showTime(bool force = false);
/** blocks for duration seconds */
void showRCLock(int duration = 2);
@@ -147,6 +154,7 @@ class CVFD
void Clear();
void ShowIcon(fp_icon icon, bool show);
void ShowText(const char *str);
void ShowNumber(int number);
void wake_up();
MODES getMode(void) { return mode; };
#ifdef LCD_UPDATE