Logo Search packages:      
Sourcecode: vdr-plugin-ttxtsubs version File versions  Download package

ttxtsubsdisplay.h

#include "teletext.h"

struct ttxt_data_field;
struct timeval;

class cOsdBase;

#define MAXTTXTROWS 5

class cTtxtSubsDisplay {
 public:
  cTtxtSubsDisplay(void);
  ~cTtxtSubsDisplay(void);

  void SetPage(int Pageno); // Pageno is 0x000 to 0x799
  void Hide(void);
  void Show(void);
  void TtxtData(const uint8_t *);

 protected:
  void Clear(void);
  void ShowOSD();
  void ClearOSD(void);
  
 private:
  int mPageState;
  int mMag;
  int mNo;
  int mDoDisplay;
  struct ttxt_page page;
  cOsdBase *mOsd;
  cMutex mOsdLock;
  struct timeval *mLastDataTime;
};

Generated by  Doxygen 1.6.0   Back to index