summaryrefslogtreecommitdiff
path: root/test/testMainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/testMainWindow.h')
-rw-r--r--test/testMainWindow.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/testMainWindow.h b/test/testMainWindow.h
new file mode 100644
index 0000000..bc9c0bd
--- /dev/null
+++ b/test/testMainWindow.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "ui/window.h"
+
+class TestMainWindow : public Window {
+ // 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
+ {
+ }
+};