This commit is contained in:
goat 2020-06-01 13:43:05 +02:00
commit cf212e33d6
10 changed files with 1118 additions and 5 deletions

View file

@ -151,6 +151,8 @@ namespace Dalamud {
IsReady = true;
});
this.conditionDebugWindow = new ConditionDebugWindow( this );
}
public void Start() {
@ -215,6 +217,7 @@ namespace Dalamud {
private DalamudCreditsWindow creditsWindow;
private DalamudSettingsWindow settingsWindow;
private PluginInstallerWindow pluginWindow;
private ConditionDebugWindow conditionDebugWindow;
private void BuildDalamudUi()
{
@ -274,6 +277,16 @@ namespace Dalamud {
ImGui.EndMenu();
}
if( ImGui.BeginMenu( "Game" ) )
{
if( ImGui.MenuItem( "Condition Debug" ) )
{
this.conditionDebugWindow.Enabled = !this.conditionDebugWindow.Enabled;
}
ImGui.EndMenu();
}
if (ImGui.BeginMenu("Plugins"))
{
if (ImGui.MenuItem("Open Plugin installer"))
@ -378,6 +391,11 @@ namespace Dalamud {
if (this.isImguiDrawDemoWindow)
ImGui.ShowDemoWindow();
if( this.conditionDebugWindow.Enabled )
{
this.conditionDebugWindow.Draw();
}
}
#endregion