Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MythPainter: Remove unused code
  • Loading branch information
mark-kendall committed Sep 17, 2020
1 parent 9e1741e commit 9419cf7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mythtv/libs/libmythui/mythpainter.h
Expand Up @@ -49,15 +49,13 @@ class MUI_PUBLIC MythPainter : public QObject
virtual bool SupportsAlpha(void) = 0;
virtual bool SupportsClipping(void) = 0;
virtual void FreeResources(void) { }
virtual void Begin(QPaintDevice *parent) { m_parent = parent; }
virtual void End() { m_parent = nullptr; }
virtual void Begin(QPaintDevice* /*Parent*/) { }
virtual void End() { }

virtual void SetClipRect(const QRect &clipRect);
virtual void SetClipRegion(const QRegion &clipRegion);
virtual void Clear(QPaintDevice *device, const QRegion &region);

QPaintDevice *GetParent(void) { return m_parent; }

virtual void DrawImage(const QRect &dest, MythImage *im, const QRect &src,
int alpha) = 0;

Expand Down Expand Up @@ -127,7 +125,6 @@ class MUI_PUBLIC MythPainter : public QObject

void CheckFormatImage(MythImage *im);

QPaintDevice* m_parent { nullptr };
int m_hardwareCacheSize { 0 };
int m_maxHardwareCacheSize { 0 };

Expand Down

0 comments on commit 9419cf7

Please sign in to comment.