mirror of
https://github.com/Force67/ps4delta.git
synced 2025-04-02 11:01:45 -04:00
34 lines
765 B
C++
34 lines
765 B
C++
|
|
/*
|
|
* PS4Delta : PS4 emulation and research project
|
|
*
|
|
* Copyright 2019-2020 Force67.
|
|
* For information regarding licensing see LICENSE
|
|
* in the root of the source tree.
|
|
*/
|
|
|
|
#include "renderwindow.h"
|
|
#include "logger/logger.h"
|
|
|
|
renderWindow::renderWindow() : QWindow() {
|
|
// require 720p
|
|
setMinimumWidth(1280);
|
|
setMinimumHeight(720);
|
|
setTitle("PS4Delta - GameWindow - [Vulkan]");
|
|
}
|
|
|
|
renderWindow::~renderWindow() {}
|
|
|
|
void renderWindow::toggleFullscreen() {
|
|
/*if (inFullscreen)
|
|
//setVisibility(Windowed);
|
|
else
|
|
//setVisibility(FullScreen);*/
|
|
|
|
inFullscreen = !inFullscreen;
|
|
}
|
|
|
|
void renderWindow::takeScreenshot(std::vector<uint8_t> &data, uint32_t sizeX,
|
|
uint32_t sizeY) {
|
|
LOG_UNIMPLEMENTED;
|
|
}
|