mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
CMoviePlayerGui: Bind enable/disable FileTime to enableInfoClock()
This commit is contained in:
@@ -42,10 +42,10 @@ class CTimeOSD : public CComponentsFrmClock
|
||||
|
||||
private:
|
||||
CProgressBar timescale;
|
||||
mode m_mode;
|
||||
mode m_mode, tmp_mode;
|
||||
bool m_restore;
|
||||
time_t m_time_show;
|
||||
|
||||
void Init();
|
||||
void initTimeString();
|
||||
void updatePos(int position, int duration);
|
||||
void KillAndResetTimescale();
|
||||
@@ -53,6 +53,8 @@ class CTimeOSD : public CComponentsFrmClock
|
||||
public:
|
||||
CTimeOSD();
|
||||
// ~CTimeOSD(); is inherited
|
||||
void Init();
|
||||
static CTimeOSD* getInstance();
|
||||
void show(time_t time_show, bool force = true);
|
||||
void kill();
|
||||
bool IsVisible() {return m_mode != MODE_HIDE;}
|
||||
@@ -60,6 +62,10 @@ class CTimeOSD : public CComponentsFrmClock
|
||||
void switchMode(int position, int duration);
|
||||
mode getMode() { return m_mode; };
|
||||
void setMode (mode mode_) { m_mode = mode_; };
|
||||
mode getTmpMode() { return tmp_mode; };
|
||||
void setTmpMode () { tmp_mode = m_mode; };
|
||||
bool getRestore() { return m_restore; };
|
||||
void setRestore() { m_restore = (m_mode != MODE_HIDE); };
|
||||
void setHeight(const int){}//NOTE: dummy member, height is strictly bound to settings
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user