31 lines
494 B
C++
31 lines
494 B
C++
#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
|