* Turned the software renderer into a window as well

* Fix inability to move window on GNOME
* Fix status bar icons being frozen after icon set switch
This commit is contained in:
Cacodemon345
2021-12-29 23:49:09 +06:00
parent 6b07e10947
commit 1bdff37e38
11 changed files with 65 additions and 36 deletions

View File

@@ -2,10 +2,11 @@
#define SOFTWARERENDERER_HPP
#include <QWidget>
#include <QRasterWindow>
#include <atomic>
#include "qt_renderercomon.hpp"
class SoftwareRenderer : public QWidget, public RendererCommon
class SoftwareRenderer : public QRasterWindow, public RendererCommon
{
Q_OBJECT
public:
@@ -17,6 +18,7 @@ public slots:
protected:
void resizeEvent(QResizeEvent *event) override;
bool event(QEvent *event) override;
};
#endif // SOFTWARERENDERER_HPP