demo_imguizmo_launcher.cpp 801 B

12345678910111213141516171819202122
  1. // Part of ImGui Bundle - MIT License - Copyright (c) 2022-2026 Pascal Thomet - https://github.com/pthom/imgui_bundle
  2. #include "imgui.h"
  3. #include "imgui_md_wrapper/imgui_md_wrapper.h"
  4. #include "hello_imgui/hello_imgui.h"
  5. #include "demo_utils/api_demos.h"
  6. void demo_guizmo_curve_edit();
  7. void demo_imguizmo_launcher()
  8. {
  9. ImGuiMd::RenderUnindented(R"(
  10. [ImGuizmo](https://github.com/CedricGuillemet/ImGuizmo) provides an immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui.
  11. )");
  12. ImGui::Text(
  13. "Click the button below to launch the demo (below the button is a screenshot of the app that will be launched)"
  14. );
  15. if (ImGui::Button("Run gizmo demo"))
  16. SpawnDemo("demo_gizmo");
  17. ShowPythonVsCppFile("demos_imguizmo/demo_gizmo", 30);
  18. }