the gui problem^TM

This commit is contained in:
2025-03-21 16:16:25 -05:00
parent 7900def444
commit 6b8861a7fb
15 changed files with 316 additions and 206 deletions

View File

@@ -4,21 +4,24 @@
#include "Module.h"
#include "Window/Window.h"
class GuiModule : Module {
namespace Archimedes {
public:
typedef GuiModule* create_t();
class GuiModule : public Module {
GuiModule(void* h, App& a) : Module(h, a) {
deps["Window"] = "";
}
virtual ~GuiModule() {}
virtual void load() = 0;
virtual void run() = 0;
public:
typedef GuiModule* create_t(void*, App&);
private:
Window window;
};
GuiModule(void* h, App& a) : Module(h, a) {}
virtual ~GuiModule() {}
virtual void onLoad() = 0;
virtual void run() = 0;
Window* getWindow() { return window; }
private:
Window* window;
};
}
#endif