summaryrefslogtreecommitdiff
path: root/test/testMainWindow.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-07 00:25:19 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-07-07 00:25:19 +0100
commitb43ed0554f5d6326f80e8d6bd85d75a422ca8c05 (patch)
tree596e967d69b073109dad7db437a60093bf499e26 /test/testMainWindow.h
parentReplace deprecated GL_QUADS usage in text rendering (diff)
parentReplace deprecated GL_QUADS usage in text rendering (diff)
downloadilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.tar.bz2
ilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.tar.xz
ilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.zip
Merge branch 'imgui'
Diffstat (limited to 'test/testMainWindow.h')
-rw-r--r--test/testMainWindow.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/testMainWindow.h b/test/testMainWindow.h
index 445491d..f54eb72 100644
--- a/test/testMainWindow.h
+++ b/test/testMainWindow.h
@@ -1,15 +1,13 @@
#pragma once
-#include "ui/window.h"
+#include "ui/applicationBase.h"
+#include "ui/mainWindow.h"
-class TestMainWindow : public Window {
+class TestMainWindow : public MainWindow {
// This exists only to hold an OpenGL context open for the duration of the tests,
// in the same way a real main window would always exist.
public:
TestMainWindow();
-
- void
- tick(TickDuration) override
- {
- }
};
+
+class TestMainWindowAppBase : public ApplicationBase, public TestMainWindow { };