layers are redundant

This commit is contained in:
2025-04-09 14:16:38 -05:00
parent 42b5a53b89
commit 908b00db62
11 changed files with 68 additions and 191 deletions

View File

@@ -12,14 +12,11 @@ namespace Archimedes {
class GuiModule : public Module {
public:
typedef GuiModule* create_t(void*, App*);
GuiModule(void* h, App* a) : Module(h, a) {
deps["WindowModule"] = new WindowModule(nullptr, a);
GuiModule(App* a, void* h) : Module(a, h) {
WindowModule* wm = new WindowModule(a);
deps[wm->getName()] = wm;
}
virtual ~GuiModule() {}
virtual void onLoad() = 0;
virtual void run() = 0;
};
}