diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-15 15:28:53 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-15 15:28:53 +0100 |
commit | 02c3f1fd622bb5b4da1462c5bb507a4a541447d5 (patch) | |
tree | 8db9ad8cc755cdab17d11a97309b3b147c576964 /test/testMainWindow.h | |
parent | Add imgui init and shutdown to appbase and gamemainwindow (diff) | |
download | ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.tar.bz2 ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.tar.xz ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.zip |
First cut reshuffling app/window/gl/render bits
Diffstat (limited to 'test/testMainWindow.h')
-rw-r--r-- | test/testMainWindow.h | 12 |
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 { }; |