added bit codes of QtVulkanWindow.cpp

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2022-07-12 11:43:33 +08:00
parent 41b9f13270
commit 30a6983eef

View File

@ -1 +1,32 @@
#include<hgl/qt/QtVulkanWindow.h> #include<hgl/qt/QtVulkanWindow.h>
namespace hgl
{
bool QtVulkanWindow::event(QEvent* e)
{
switch(e->type())
{
case QEvent::UpdateRequest:
// render();
break;
case QEvent::PlatformSurface:
break;
default: break;
}
}
void QtVulkanWindow::exposeEvent(QExposeEvent*){}
void QtVulkanWindow::hideEvent(QHideEvent* ev){}
void QtVulkanWindow::keyPressEvent(QKeyEvent*){}
void QtVulkanWindow::keyReleaseEvent(QKeyEvent*){}
void QtVulkanWindow::mouseMoveEvent(QMouseEvent*){}
void QtVulkanWindow::mousePressEvent(QMouseEvent*){}
void QtVulkanWindow::mouseReleaseEvent(QMouseEvent*){}
void QtVulkanWindow::resizeEvent(QResizeEvent*){}
void QtVulkanWindow::moveEvent(QMoveEvent*){}
void QtVulkanWindow::wheelEvent(QWheelEvent*){}
}//namespace hgl