2017-08-28 19:29:07 +00:00
|
|
|
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-07-31 09:24:53 +00:00
|
|
|
struct FImGuiContextHandle;
|
2017-08-28 19:29:07 +00:00
|
|
|
|
2017-09-27 20:16:54 +00:00
|
|
|
// Gives access to selected ImGui implementation features.
|
|
|
|
namespace ImGuiImplementation
|
|
|
|
{
|
2018-08-10 22:53:03 +00:00
|
|
|
#if WITH_EDITOR
|
|
|
|
// Get the handle to the ImGui Context pointer.
|
2020-07-31 09:24:53 +00:00
|
|
|
FImGuiContextHandle& GetContextHandle();
|
2018-08-10 22:53:03 +00:00
|
|
|
|
|
|
|
// Set the ImGui Context pointer handle.
|
2020-07-31 09:24:53 +00:00
|
|
|
void SetParentContextHandle(FImGuiContextHandle& Parent);
|
2018-08-10 22:53:03 +00:00
|
|
|
#endif // WITH_EDITOR
|
2017-09-27 20:16:54 +00:00
|
|
|
}
|