You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
469 B
21 lines
469 B
1 year ago
|
using gaemstone.Client.Utility;
|
||
|
using gaemstone.ECS;
|
||
|
using ImGuiNET;
|
||
|
using static gaemstone.Client.Systems.ImGuiManager;
|
||
|
|
||
|
namespace gaemstone.Client.Systems;
|
||
|
|
||
|
[Module]
|
||
|
[DependsOn<gaemstone.Client.Systems.ImGuiManager>]
|
||
|
public class ImGuiDemoWindow
|
||
|
{
|
||
|
private bool _isOpen = false;
|
||
|
|
||
|
[System]
|
||
|
public void Show(ImGuiData _)
|
||
|
{
|
||
|
if (ImGuiUtility.UIButtonToggle(2, ForkAwesome.WindowMaximize, "ImGui Demo Window", ref _isOpen))
|
||
|
ImGui.ShowDemoWindow(ref _isOpen);
|
||
|
}
|
||
|
}
|