MythTV  master
mythpainterwindow.h
Go to the documentation of this file.
1 #ifndef MYTHPAINTERWINDOW_H
2 #define MYTHPAINTERWINDOW_H
3 
4 // Qt
5 #include <QWidget>
6 
7 // MythTV
8 #include "mythrender_base.h"
9 
10 class MythMainWindow;
11 class MythPainter;
12 
13 class MythPainterWindow : public QWidget
14 {
15  public:
16  static QString CreatePainters(MythMainWindow* MainWindow,
17  MythPainterWindow*& PaintWin,
18  MythPainter*& Painter);
19  static void DestroyPainters(MythPainterWindow*& PaintWin,
20  MythPainter*& Painter);
21 
23  bool RenderIsShared (void);
24 
25  protected:
26  explicit MythPainterWindow(MythMainWindow *MainWin);
27  ~MythPainterWindow() override = default;
28 
29  MythRender* m_render { nullptr };
30 
31  private:
32  Q_DISABLE_COPY(MythPainterWindow)
33 };
34 
35 #endif // MYTHPAINTERWINDOW_H
MythPainterWindow::DestroyPainters
static void DestroyPainters(MythPainterWindow *&PaintWin, MythPainter *&Painter)
Definition: mythpainterwindow.cpp:59
MythPainterWindow
Definition: mythpainterwindow.h:14
MythPainterWindow::~MythPainterWindow
~MythPainterWindow() override=default
mythrender_base.h
MythPainterWindow::CreatePainters
static QString CreatePainters(MythMainWindow *MainWindow, MythPainterWindow *&PaintWin, MythPainter *&Painter)
Definition: mythpainterwindow.cpp:18
MythPainterWindow::RenderIsShared
bool RenderIsShared(void)
Definition: mythpainterwindow.cpp:77
MythPainterWindow::m_render
MythRender * m_render
Definition: mythpainterwindow.h:29
MythPainterWindow::GetRenderDevice
MythRender * GetRenderDevice(void)
Definition: mythpainterwindow.cpp:72
MythRender
Definition: mythrender_base.h:23
MythPainter
Definition: mythpainter.h:33
MythPainterWindow::MythPainterWindow
MythPainterWindow(MythMainWindow *MainWin)
Definition: mythpainterwindow.cpp:67
MythMainWindow
Definition: mythmainwindow.h:33