ImguiEmbed
This commit is contained in:
30
src/example_apps/ImguiEmbed/ImguiEmbed.h
Normal file
30
src/example_apps/ImguiEmbed/ImguiEmbed.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#define ENTRYPOINT
|
||||
#include "Archimedes.h"
|
||||
|
||||
#include "modules/GUImodules/TestImgui/src/TestImgui.h"
|
||||
|
||||
class ImguiEmbed : public Archimedes::App {
|
||||
|
||||
private:
|
||||
|
||||
void printHelp() {};
|
||||
|
||||
public:
|
||||
ImguiEmbed() {
|
||||
Archimedes::Module* m = (Archimedes::Module*) new TestImgui(nullptr, Get());
|
||||
|
||||
load(m, {});
|
||||
};
|
||||
~ImguiEmbed() {};
|
||||
|
||||
void handleArgs(const int& argc, char* argv[]) {};
|
||||
|
||||
void run();
|
||||
|
||||
//void stopModule(std::list<Archimedes::Module*>::iterator);
|
||||
|
||||
//void startModule(std::string);
|
||||
|
||||
};
|
||||
|
||||
Archimedes::App* MakeApp() { return new ImguiEmbed(); }
|
||||
Reference in New Issue
Block a user