Skip to content

CoreTrackProject/ImFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImFramework

ImGui package, a collection of ImGui libraries including window handling

Goal:

  • Window handling (glfw)
  • Backend vulkan/opengl
  • ImGui docking branch
  • Plugin handling

pseudo code code:

  • design pattern for threading which is convinient to use together with imgui

maybe: #include <ImThread.h> ?

ThreadToken token = ImFramework::DefineThread("Name", async_function_ptr, report_function_ptr, cancellation_token);

if(ImGui::Button("Start thread")) {

ImFramework::StartThread(token)

}

if(ImFramework::ThreadHasData(token)) {

}

if(ImFramework::ThreadFinished(token)) {

}

Additional libraries:

  • Sequencer
  • Node editor
  • Plot lib

#include <ImFramework.h>

int main() {

ImFramework::Init(ImFramework::Window::GLFW, ImFramework::Backend::Vulkan);

while(ImFramework::Begin()) { ImGui::Begin("Hello world");

ImGui::Button("Click me");

ImGui::End(); ImFramework::End(); }

return 0; };

About

ImGui package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages