make include headers only
This commit is contained in:
@@ -12,19 +12,17 @@ namespace Archimedes {
|
||||
typedef GuiModule* create_t(void*, App*);
|
||||
|
||||
GuiModule(void* h, App* a) : Module(h, a) {
|
||||
window = new WindowModule(nullptr, a);
|
||||
deps["WindowModule"] = window;
|
||||
windowModule = new WindowModule(nullptr, a);
|
||||
deps["WindowModule"] = windowModule;
|
||||
}
|
||||
virtual ~GuiModule() { if(window) delete window; }
|
||||
virtual ~GuiModule() {}
|
||||
virtual void onLoad() = 0;
|
||||
virtual void run() = 0;
|
||||
|
||||
Window* getWindow() { return window; }
|
||||
void createWindow() { window = new Window(); }
|
||||
Window* getWindow() { return windowModule; }
|
||||
|
||||
protected:
|
||||
WindowModule* window;
|
||||
//Renderer* renderer;
|
||||
WindowModule* windowModule;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user