mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Added a way to replace the internal state pointer so that we can optionally share it between modules (e.g. multiple DLLs)
This commit is contained in:
parent
98e71afa72
commit
8149bace7b
2 changed files with 133 additions and 119 deletions
2
imgui.h
2
imgui.h
|
|
@ -143,6 +143,8 @@ public:
|
|||
namespace ImGui
|
||||
{
|
||||
// Main
|
||||
IMGUI_API void* GetInternalState();
|
||||
IMGUI_API void SetInternalState(void* state);
|
||||
IMGUI_API ImGuiIO& GetIO();
|
||||
IMGUI_API ImGuiStyle& GetStyle();
|
||||
IMGUI_API void NewFrame();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue