Files
simple64/simple64-gui/vkwindow.h
T
2022-08-31 11:24:48 -06:00

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