1 #ifndef MYTHPAINTERGPU_H
2 #define MYTHPAINTERGPU_H
22 Q_DECLARE_FLAGS(ViewControls, ViewControl)
27 void SetViewControl (ViewControls Control);
30 void CurrentDPIChanged (qreal DPI);
34 ViewControls m_viewControl { Viewport | Framebuffer };
35 qreal m_pixelRatio { 1.0 };
36 bool m_usingHighDPI {
false };
40 Q_DECLARE_OPERATORS_FOR_FLAGS(MythPainterGPU::ViewControls)