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:
@ -13,6 +13,7 @@
|
||||
#include "bindings/script.hpp"
|
||||
#include "bindings/tunables.hpp"
|
||||
#include "bindings/vector.hpp"
|
||||
#include "bindings/imgui.hpp"
|
||||
#include "file_manager.hpp"
|
||||
#include "script_mgr.hpp"
|
||||
|
||||
@ -215,5 +216,6 @@ namespace big
|
||||
lua::event::bind(state);
|
||||
lua::vector::bind(state);
|
||||
lua::global_table::bind(state);
|
||||
lua::imgui::bind(state, state.globals());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user