mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-12-27 07:21:07 +01:00
Remove RASPI support
This commit is contained in:
@@ -642,33 +642,84 @@ void cSoftOsd::Flush(void) {
|
||||
|
||||
#ifdef USE_OPENGLOSD
|
||||
|
||||
//Dummy Pixmap for skins
|
||||
// Dummy Pixmap for skins
|
||||
class cDummyPixmap : public cPixmap {
|
||||
public:
|
||||
cDummyPixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort = cRect::Null) : cPixmap(Layer, ViewPort, DrawPort) {}
|
||||
public:
|
||||
cDummyPixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort = cRect::Null)
|
||||
: cPixmap(Layer, ViewPort, DrawPort) {}
|
||||
virtual ~cDummyPixmap(void) {}
|
||||
virtual void Clear(void) {}
|
||||
virtual void Fill(tColor Color) { (void)Color; }
|
||||
virtual void DrawImage(const cPoint &Point, const cImage &Image) { (void)Point; (void)Image; }
|
||||
virtual void DrawImage(const cPoint &Point, int ImageHandle) { (void)Point; (void)ImageHandle; }
|
||||
virtual void DrawPixel(const cPoint &Point, tColor Color) { (void)Point; (void)Color; }
|
||||
virtual void DrawBitmap(const cPoint &Point, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0, bool Overlay = false) {
|
||||
(void) Point; (void)Bitmap; (void)ColorFg; (void)ColorBg; (void)Overlay; }
|
||||
virtual void DrawText(const cPoint &Point, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width = 0, int Height = 0, int Alignment = taDefault) {
|
||||
(void)Point; (void)s; (void)ColorFg; (void) ColorBg; (void) Font; (void)Width; (void)Height; (void)Alignment; }
|
||||
virtual void DrawRectangle(const cRect &Rect, tColor Color) { (void)Rect; (void)Color; }
|
||||
virtual void DrawEllipse(const cRect &Rect, tColor Color, int Quadrants = 0) { (void)Rect; (void)Color; (void)Quadrants; }
|
||||
virtual void DrawSlope(const cRect &Rect, tColor Color, int Type) { (void)Rect; (void)Color; (void)Type; }
|
||||
virtual void Render(const cPixmap *Pixmap, const cRect &Source, const cPoint &Dest) { (void)Pixmap; (void)Source; (void)Dest; }
|
||||
virtual void Copy(const cPixmap *Pixmap, const cRect &Source, const cPoint &Dest) { (void)Pixmap; (void)Source; (void)Dest; }
|
||||
virtual void Scroll(const cPoint &Dest, const cRect &Source = cRect::Null) { (void)Dest; (void)Source; }
|
||||
virtual void Pan(const cPoint &Dest, const cRect &Source = cRect::Null) { (void)Dest; (void)Source; }
|
||||
virtual void DrawImage(const cPoint &Point, const cImage &Image) {
|
||||
(void)Point;
|
||||
(void)Image;
|
||||
}
|
||||
virtual void DrawImage(const cPoint &Point, int ImageHandle) {
|
||||
(void)Point;
|
||||
(void)ImageHandle;
|
||||
}
|
||||
virtual void DrawPixel(const cPoint &Point, tColor Color) {
|
||||
(void)Point;
|
||||
(void)Color;
|
||||
}
|
||||
virtual void DrawBitmap(const cPoint &Point, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0,
|
||||
bool Overlay = false) {
|
||||
(void)Point;
|
||||
(void)Bitmap;
|
||||
(void)ColorFg;
|
||||
(void)ColorBg;
|
||||
(void)Overlay;
|
||||
}
|
||||
virtual void DrawText(const cPoint &Point, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font,
|
||||
int Width = 0, int Height = 0, int Alignment = taDefault) {
|
||||
(void)Point;
|
||||
(void)s;
|
||||
(void)ColorFg;
|
||||
(void)ColorBg;
|
||||
(void)Font;
|
||||
(void)Width;
|
||||
(void)Height;
|
||||
(void)Alignment;
|
||||
}
|
||||
virtual void DrawRectangle(const cRect &Rect, tColor Color) {
|
||||
(void)Rect;
|
||||
(void)Color;
|
||||
}
|
||||
virtual void DrawEllipse(const cRect &Rect, tColor Color, int Quadrants = 0) {
|
||||
(void)Rect;
|
||||
(void)Color;
|
||||
(void)Quadrants;
|
||||
}
|
||||
virtual void DrawSlope(const cRect &Rect, tColor Color, int Type) {
|
||||
(void)Rect;
|
||||
(void)Color;
|
||||
(void)Type;
|
||||
}
|
||||
virtual void Render(const cPixmap *Pixmap, const cRect &Source, const cPoint &Dest) {
|
||||
(void)Pixmap;
|
||||
(void)Source;
|
||||
(void)Dest;
|
||||
}
|
||||
virtual void Copy(const cPixmap *Pixmap, const cRect &Source, const cPoint &Dest) {
|
||||
(void)Pixmap;
|
||||
(void)Source;
|
||||
(void)Dest;
|
||||
}
|
||||
virtual void Scroll(const cPoint &Dest, const cRect &Source = cRect::Null) {
|
||||
(void)Dest;
|
||||
(void)Source;
|
||||
}
|
||||
virtual void Pan(const cPoint &Dest, const cRect &Source = cRect::Null) {
|
||||
(void)Dest;
|
||||
(void)Source;
|
||||
}
|
||||
};
|
||||
|
||||
// Dummy OSD for OpenGL OSD if no X Server is available
|
||||
class cDummyOsd : public cOsd {
|
||||
private:
|
||||
cDummyPixmap *p;
|
||||
|
||||
public:
|
||||
cDummyOsd(int Left, int Top, uint Level) : cOsd(Left, Top, Level) {}
|
||||
virtual ~cDummyOsd() {}
|
||||
|
||||
Reference in New Issue
Block a user