summaryrefslogtreecommitdiff
path: root/ttxtsubsdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'ttxtsubsdisplay.h')
-rw-r--r--ttxtsubsdisplay.h51
1 files changed, 26 insertions, 25 deletions
diff --git a/ttxtsubsdisplay.h b/ttxtsubsdisplay.h
index 9a42471..f39bb43 100644
--- a/ttxtsubsdisplay.h
+++ b/ttxtsubsdisplay.h
@@ -28,29 +28,30 @@ class cFont;
#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 *, uint64_t sched_time = 0);
-
- protected:
- void Clear(void);
- void ShowOSD();
- void ClearOSD(void);
-
- private:
- int mPageState;
- int mMag;
- int mNo;
- int mDoDisplay;
- struct ttxt_page page;
- cOsd *mOsd;
- cMutex mOsdLock;
- struct timeval *mLastDataTime;
- const cFont *mOsdFont;
+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 *, uint64_t sched_time = 0);
+
+protected:
+ void Clear(void);
+ void ShowOSD();
+ void ClearOSD(void);
+
+private:
+ int mPageState;
+ int mMag;
+ int mNo;
+ int mDoDisplay;
+ struct ttxt_page page;
+ cOsd *mOsd;
+ cMutex mOsdLock;
+ struct timeval *mLastDataTime;
+ const cFont *mOsdFont;
};