mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-19 00:40:32 +00:00
35f2d342a0
- Added ImGui Module Manager that that implements module logic and manages other module resources. - Added Texture Manager to manage texture resources and maps them to index that can be passed to ImGui context. - Added Context Proxy that represents and manages a single ImGui context. - Added Slate ImGui Widget to render ImGui output.
23 lines
354 B
C++
23 lines
354 B
C++
// Distributed under the MIT License (MIT) (see accompanying LICENSE file)
|
|
|
|
#pragma once
|
|
|
|
#include <imgui.h>
|
|
|
|
|
|
// Widget drawing ImGui demo.
|
|
class FImGuiDemo
|
|
{
|
|
public:
|
|
|
|
void DrawControls();
|
|
|
|
private:
|
|
|
|
ImVec4 ClearColor = ImColor{ 114, 144, 154 };
|
|
|
|
bool bShowDemo = false;
|
|
bool bDemoShowTestWindow = true;
|
|
bool bDemoShowAnotherTestWindow = false;
|
|
};
|