mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user