mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add testing indicator to title screen
This commit is contained in:
parent
9f01c9e413
commit
6149562e9e
1 changed files with 12 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ using Dalamud.Configuration.Internal;
|
||||||
using Dalamud.Game.ClientState.Conditions;
|
using Dalamud.Game.ClientState.Conditions;
|
||||||
using Dalamud.Game.Gui;
|
using Dalamud.Game.Gui;
|
||||||
using Dalamud.Game.Internal;
|
using Dalamud.Game.Internal;
|
||||||
|
using Dalamud.Interface.Colors;
|
||||||
using Dalamud.Interface.Internal.ManagedAsserts;
|
using Dalamud.Interface.Internal.ManagedAsserts;
|
||||||
using Dalamud.Interface.Internal.Windows;
|
using Dalamud.Interface.Internal.Windows;
|
||||||
using Dalamud.Interface.Internal.Windows.SelfTest;
|
using Dalamud.Interface.Internal.Windows.SelfTest;
|
||||||
|
|
@ -340,6 +341,8 @@ namespace Dalamud.Interface.Internal
|
||||||
|
|
||||||
if (!this.isImGuiDrawDevMenu && !condition.Any())
|
if (!this.isImGuiDrawDevMenu && !condition.Any())
|
||||||
{
|
{
|
||||||
|
var config = Service<DalamudConfiguration>.Get();
|
||||||
|
|
||||||
ImGui.PushStyleColor(ImGuiCol.Button, Vector4.Zero);
|
ImGui.PushStyleColor(ImGuiCol.Button, Vector4.Zero);
|
||||||
ImGui.PushStyleColor(ImGuiCol.ButtonActive, Vector4.Zero);
|
ImGui.PushStyleColor(ImGuiCol.ButtonActive, Vector4.Zero);
|
||||||
ImGui.PushStyleColor(ImGuiCol.ButtonHovered, Vector4.Zero);
|
ImGui.PushStyleColor(ImGuiCol.ButtonHovered, Vector4.Zero);
|
||||||
|
|
@ -358,6 +361,15 @@ namespace Dalamud.Interface.Internal
|
||||||
if (ImGui.Button("###devMenuOpener", new Vector2(40, 25)))
|
if (ImGui.Button("###devMenuOpener", new Vector2(40, 25)))
|
||||||
this.isImGuiDrawDevMenu = true;
|
this.isImGuiDrawDevMenu = true;
|
||||||
|
|
||||||
|
if (config.DoDalamudTest)
|
||||||
|
{
|
||||||
|
ImGui.SetWindowFontScale(2.2f);
|
||||||
|
ImGuiHelpers.ScaledDummy(20);
|
||||||
|
ImGuiHelpers.ScaledDummy(20);
|
||||||
|
ImGui.SameLine();
|
||||||
|
ImGui.TextColored(ImGuiColors.DPSRed, "Dalamud Staging");
|
||||||
|
}
|
||||||
|
|
||||||
ImGui.End();
|
ImGui.End();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue