feat(lua): much more complete imgui bindings, allow lua imgui callbacks from outside yimmenu classic tabs through gui.add_imgui(func) but also inside yimmenu classic tabs through tab:add_imgui(func) (#1736)

This commit is contained in:
Quentin
2023-07-17 14:55:42 +02:00
committed by GitHub
parent 0417fbf0f9
commit 664b5c6c40
18 changed files with 5294 additions and 11 deletions

View File

@ -1,4 +1,5 @@
#include "views/view.hpp"
#include "lua/lua_manager.hpp"
namespace big
{
@ -11,6 +12,9 @@ namespace big
debug::main();
if (g_lua_manager)
g_lua_manager->draw_independent_gui();
if (g.window.demo) // It is not the YimMenu way.
ImGui::ShowDemoWindow(&g.window.demo);
}