1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-23 22:55:37 +01:00
GiantsTools/Sdk/Include/ImGui/Public/IImGuiService.h
2021-01-23 15:40:09 -08:00

24 lines
496 B
C++

#pragma once
#include "Core/Public/IGameService.h"
struct IImGuiLayer;
DEFINE_SERVICE("{B2D9DF30-25ED-4312-9DC2-343DAE156182}", IImGuiService)
{
virtual bool PreBeginFrame() = 0;
virtual void BeginFrame() = 0;
virtual void EndFrame() = 0;
virtual void* GetContext() const = 0;
virtual bool HasControlFocus() = 0;
virtual void SetControlFocus(bool focused) = 0;
virtual void RegisterLayer(std::shared_ptr<IImGuiLayer> layer) = 0;
};
void ImGuiServiceCreate();