work on TestImgui

This commit is contained in:
2025-03-21 02:57:04 -05:00
parent 85ca37da22
commit 028162509e
3 changed files with 49 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
#include "TestImgui.h"
void TestImgui::load() {}
void TestImgui::run() {}

View File

@@ -1 +1,38 @@
#include "imgui.h"
#include "Archimedes.h"
#include <imgui.h>
#include <backends/imgui_impl_glfw.h>
#include <backends/imgui_impl_opengl3.h>
#include <GLFW/glfw3.h>
class TestImgui : public Module {
public:
TestImgui(void* h, App& a) : Module(h, a) {
std::cout << "Enter path to Window library: ";
std::string path;
std::cin.ignore();
std::getline(std::cin, path);
deps["Window"] = path;
name = "TestImgui";
}
~TestImgui() {}
void load();
void run();
private:
};
extern "C" {
Module* create(void* handle, App& app) {
return new TestImgui(handle, app);
}
}