Layers and Events
This commit is contained in:
30
modules/ImguiModule/src/ImguiModule.h
Normal file
30
modules/ImguiModule/src/ImguiModule.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef GUIMODULE
|
||||
#define GUIMODULE
|
||||
#endif
|
||||
|
||||
#include "Archimedes.h"
|
||||
|
||||
#include "utils/Window/Window.h"
|
||||
|
||||
class ImguiModule : public Archimedes::GuiModule {
|
||||
|
||||
public:
|
||||
ImguiModule(void*, Archimedes::App*);
|
||||
|
||||
~ImguiModule();
|
||||
|
||||
void onLoad();
|
||||
|
||||
void run();
|
||||
|
||||
|
||||
private:
|
||||
std::list<Archimedes::Renderer::renderCmd*>::iterator rcmd;
|
||||
|
||||
Archimedes::Window* window;
|
||||
};
|
||||
|
||||
#ifdef TESTIMGUI_DYNAMIC
|
||||
#define MODULE_TYPE ImguiModule
|
||||
#include "endModule.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user