mirror of
https://github.com/redstrate/Auracite.git
synced 2025-04-23 21:27:45 +00:00
33 lines
No EOL
682 B
C#
33 lines
No EOL
682 B
C#
using System;
|
|
using Dalamud.Interface.Windowing;
|
|
using ImGuiNET;
|
|
|
|
namespace Auracite;
|
|
|
|
public class StepWindow()
|
|
: Window("Step Window"), IDisposable
|
|
{
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
public override void Draw()
|
|
{
|
|
if (Plugin.CurrentStep != null)
|
|
{
|
|
ImGui.Text(Plugin.CurrentStep.StepName());
|
|
ImGui.Text(Plugin.CurrentStep.StepDescription());
|
|
|
|
ImGui.TextDisabled("Step requires manual user action.");
|
|
|
|
if (ImGui.Button("Retry"))
|
|
{
|
|
Plugin.CurrentStep.Run();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
ImGui.Text("Auracite is not running.");
|
|
}
|
|
}
|
|
} |