diff options
author | root <root@ion.localnet> | 2010-07-02 21:49:21 +0200 |
---|---|---|
committer | root <root@ion.localnet> | 2010-07-02 21:49:21 +0200 |
commit | bb560a735a93448872e0d954bac3d36e3b410051 (patch) | |
tree | c926a22098b5220a9b929ed60b3e04404ce9094f /vfd.h | |
parent | d237e12c3f1817e8d011efdf1b838c340409f28e (diff) | |
download | vdr-plugin-targavfd-bb560a735a93448872e0d954bac3d36e3b410051.tar.gz vdr-plugin-targavfd-bb560a735a93448872e0d954bac3d36e3b410051.tar.bz2 |
Allow partial data transfer
Select brightness by in plain language
Update running clock frequently
Diffstat (limited to 'vfd.h')
-rw-r--r-- | vfd.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -69,8 +69,10 @@ class cVFD : public cVFDQueue { /* framebuffer and backingstore for current contents */ cVFDBitmap* framebuf; - cVFDBitmap* backingstore; - unsigned int lastIconState; + unsigned char * backingstore; + unsigned int lastIconState; + unsigned int m_iSizeYb; + protected: cVFDFont* pFont; @@ -87,7 +89,7 @@ public: void clear (); int DrawText(int x, int y, const char* string); - bool flush (); + bool flush (bool refreshAll = true); void icons(unsigned int state); virtual bool SetFont(const char *szFont, int bTwoLineMode, int nBigFontHeight, int nSmallFontHeight); |