summaryrefslogtreecommitdiff
path: root/dxr3osd.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3osd.h')
-rw-r--r--dxr3osd.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/dxr3osd.h b/dxr3osd.h
index 588e90f..8514252 100644
--- a/dxr3osd.h
+++ b/dxr3osd.h
@@ -13,6 +13,27 @@ public:
virtual cOsd *CreateOsd(int Left, int Top, uint Level);
};
+// ==================================
+// osd interface
+class cDxr3Osd : public cOsd
+{
+private:
+ cSPUEncoder* Spu; ///< interface to cSPUEncoder
+ bool shown; ///< is the osd shown?
+ cPalette* Palette; ///< global palette (needed by all bitmaps)
+ cTimeMs *last;
+protected:
+ virtual void SetActive(bool On);
+public:
+ cDxr3Osd(int Left, int Top, uint Level);
+ ~cDxr3Osd();
+
+ eOsdError CanHandleAreas(const tArea *Areas, int NumAreas);
+ eOsdError SetAreas(const tArea *Areas, int NumAreas);
+
+ void Flush();
+};
+
#endif /*_DXR3_OSD_H_*/
// Local variables: