remove GuiModule

This commit is contained in:
2025-04-10 12:27:31 -05:00
parent 10b8dd34ca
commit fc1fc6c35b
17 changed files with 33 additions and 42 deletions

View File

@@ -8,7 +8,7 @@
#include "modules/ImguiModule/src/ImguiModule.h"
TestImgui::TestImgui(Archimedes::App* a, void* h) : Archimedes::GuiModule(a, h) {
TestImgui::TestImgui(Archimedes::App* a, void* h) : Archimedes::Module(a, h) {
name = "TestImgui";
@@ -22,13 +22,6 @@ TestImgui::~TestImgui() {
void TestImgui::onLoad() {
WindowModule* wm = (WindowModule*) moduleInstances["WindowModule"];
if(!wm) {
std::cout << "No WindowModule for TestImgui!\n";
std::abort();
}
ImguiModule* im = (ImguiModule*) moduleInstances["ImguiModule"];
if(!im) {

View File

@@ -1,12 +1,6 @@
#ifndef GUIMODULE
#define GUIMODULE
#endif
#include "Archimedes.h"
#include "utils/Window/Window.h"
class TestImgui : public Archimedes::GuiModule {
class TestImgui : public Archimedes::Module {
public:
TestImgui(Archimedes::App*, void*);