Overte C++ Documentation
VKCanvas.h
1
//
2
// VKCanvas.h
3
// interface/src
4
//
5
// Copied from GLCanvas.h on 2025/01/27.
6
// originally created by Stephen Birarda on 8/14/13.
7
// Copyright 2013 High Fidelity, Inc.
8
// Copyright 2025 Overte e.V.
9
//
10
// Distributed under the Apache License, Version 2.0.
11
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
12
//
13
14
#pragma once
15
16
// TODO: find a way of doing this from CMake. I'm not familiar enough with build system to figure this out.
17
#ifndef USE_GL
18
19
#include "vk/VKWidget.h"
20
22
class
VKCanvas
:
public
VKWidget
{
23
Q_OBJECT
24
public
:
25
~
VKCanvas
() {};
26
protected
:
27
virtual
bool
event(QEvent* event)
override
;
28
};
29
30
#endif
VKCanvas
customized canvas that simply forwards requests/events to the singleton application
Definition:
VKCanvas.h:22
VKWidget
customized canvas that simply forwards requests/events to the singleton application
Definition:
VKWidget.h:31
interface
src
VKCanvas.h
Generated by
1.9.1