2017-03-26 20:32:57 +00:00
|
|
|
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-06-25 09:52:46 +00:00
|
|
|
#include <CoreMinimal.h>
|
|
|
|
|
2017-03-26 20:32:57 +00:00
|
|
|
#include <imgui.h>
|
|
|
|
|
2018-12-08 21:03:18 +00:00
|
|
|
class FImGuiModuleProperties;
|
2017-03-26 20:32:57 +00:00
|
|
|
|
|
|
|
// Widget drawing ImGui demo.
|
|
|
|
class FImGuiDemo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2018-12-08 21:03:18 +00:00
|
|
|
FImGuiDemo(FImGuiModuleProperties& InProperties)
|
|
|
|
: Properties(InProperties)
|
2018-11-25 20:36:55 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-03-18 19:45:08 +00:00
|
|
|
void DrawControls(int32 ContextIndex);
|
2017-03-26 20:32:57 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
2018-12-08 21:03:18 +00:00
|
|
|
FImGuiModuleProperties& Properties;
|
2018-11-25 20:36:55 +00:00
|
|
|
|
2017-03-26 20:32:57 +00:00
|
|
|
ImVec4 ClearColor = ImColor{ 114, 144, 154 };
|
|
|
|
|
2018-01-09 19:36:52 +00:00
|
|
|
int32 ShowDemoWindowMask = 0;
|
|
|
|
int32 ShowAnotherWindowMask = 0;
|
2018-03-18 19:45:08 +00:00
|
|
|
|
|
|
|
int32 DemoWindowCounter = 0;
|
|
|
|
uint32 LastDemoWindowFrameNumber = 0;
|
2017-03-26 20:32:57 +00:00
|
|
|
};
|