help
This commit is contained in:
@@ -12,13 +12,14 @@ namespace Archimedes {
|
||||
typedef GuiModule* create_t(void*, App&);
|
||||
|
||||
GuiModule(void* h, App& a) : Module(h, a) {}
|
||||
virtual ~GuiModule() {}
|
||||
virtual ~GuiModule() { if(window) delete window; }
|
||||
virtual void onLoad() = 0;
|
||||
virtual void run() = 0;
|
||||
|
||||
Window* getWindow() { return window; }
|
||||
void createWindow() { window = new Window(); }
|
||||
|
||||
private:
|
||||
protected:
|
||||
Window* window;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user