mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 16:30:32 +00:00
a76f4bc451
- Hot-reloading from inside of the editor and after recompiling from the outside should be equally supported and work together. - Improved robustness of the delegates redirections. There should be no lost delegates when reloading (either after in-editor or outside recompilation). - Refactored code to use the same redirection template for context and delegates container.
18 lines
443 B
C++
18 lines
443 B
C++
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
#pragma once
|
|
|
|
struct FImGuiContextHandle;
|
|
|
|
// Gives access to selected ImGui implementation features.
|
|
namespace ImGuiImplementation
|
|
{
|
|
#if WITH_EDITOR
|
|
// Get the handle to the ImGui Context pointer.
|
|
FImGuiContextHandle& GetContextHandle();
|
|
|
|
// Set the ImGui Context pointer handle.
|
|
void SetParentContextHandle(FImGuiContextHandle& Parent);
|
|
#endif // WITH_EDITOR
|
|
}
|