mirror of
https://github.com/Force67/ps4delta.git
synced 2025-04-02 11:01:45 -04:00
30 lines
No EOL
590 B
C++
30 lines
No EOL
590 B
C++
#pragma once
|
|
|
|
/*
|
|
* PS4Delta : PS4 emulation and research project
|
|
*
|
|
* Copyright 2019-2020 Force67.
|
|
* For information regarding licensing see LICENSE
|
|
* in the root of the source tree.
|
|
*/
|
|
|
|
#include <QWidget>
|
|
#include <QWindow>
|
|
|
|
#include "gfx/gfx_base.h"
|
|
|
|
class renderWindow : public QWindow, public gfx::frameBase {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
renderWindow();
|
|
~renderWindow();
|
|
|
|
void toggleFullscreen() override;
|
|
void takeScreenshot(std::vector<uint8_t> &data, uint32_t sizeX,
|
|
uint32_t sizeY) override;
|
|
|
|
private:
|
|
bool inFullscreen{false};
|
|
bool showFps{false};
|
|
}; |