UnrealImGui/Source/ImGui/Private/ImGuiDemo.h
Sebastian d4ffe9443f Enforced IWYU-style PCH model:
- Removed explicit PCH.
- Fixed includes to compile for all supported engine versions, including non-unity builds.
- Configured build.cs to treat ImGui as an engine module and added stricter compilation rules.
2020-06-25 10:52:46 +01:00

35 lines
586 B
C++

// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
#pragma once
#include <CoreMinimal.h>
#include <imgui.h>
class FImGuiModuleProperties;
// Widget drawing ImGui demo.
class FImGuiDemo
{
public:
FImGuiDemo(FImGuiModuleProperties& InProperties)
: Properties(InProperties)
{
}
void DrawControls(int32 ContextIndex);
private:
FImGuiModuleProperties& Properties;
ImVec4 ClearColor = ImColor{ 114, 144, 154 };
int32 ShowDemoWindowMask = 0;
int32 ShowAnotherWindowMask = 0;
int32 DemoWindowCounter = 0;
uint32 LastDemoWindowFrameNumber = 0;
};