mirror of
https://github.com/simple64/simple64.git
synced 2026-11-18 06:44:02 +01:00
26 lines
479 B
C++
26 lines
479 B
C++
#ifndef VKWINDOW_H
|
|
#define VKWINDOW_H
|
|
|
|
#include <QCloseEvent>
|
|
#include <QWindow>
|
|
#include "common.h"
|
|
|
|
class VkWindow : public QWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VkWindow(QWindow *parent = nullptr);
|
|
~VkWindow();
|
|
protected:
|
|
void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
|
|
|
|
void timerEvent(QTimerEvent *te) Q_DECL_OVERRIDE;
|
|
private:
|
|
int m_width;
|
|
int m_height;
|
|
int orig_width;
|
|
int orig_height;
|
|
int timerId = 0;
|
|
};
|
|
#endif // VKWINDOW_H
|