mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Cleanup CorePlugin window.
This commit is contained in:
parent
260fcb9c4f
commit
23c0e34737
1 changed files with 0 additions and 18 deletions
|
|
@ -13,9 +13,6 @@ namespace Dalamud.CorePlugin
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class PluginWindow : Window, IDisposable
|
internal class PluginWindow : Window, IDisposable
|
||||||
{
|
{
|
||||||
private Vector4 bgCol = ImGuiColors.HealerGreen;
|
|
||||||
private Vector4 textCol = ImGuiColors.DalamudWhite;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="PluginWindow"/> class.
|
/// Initializes a new instance of the <see cref="PluginWindow"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -41,21 +38,6 @@ namespace Dalamud.CorePlugin
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
ImGui.ColorPicker4("bg", ref this.bgCol);
|
|
||||||
ImGui.ColorPicker4("text", ref this.textCol);
|
|
||||||
|
|
||||||
ImGui.PushStyleColor(ImGuiCol.ChildBg, this.bgCol);
|
|
||||||
ImGui.PushStyleColor(ImGuiCol.Text, this.textCol);
|
|
||||||
|
|
||||||
if (ImGui.BeginChild("##changelog", new Vector2(-1, 100), true, ImGuiWindowFlags.NoNavFocus | ImGuiWindowFlags.NoNavInputs | ImGuiWindowFlags.AlwaysAutoResize))
|
|
||||||
{
|
|
||||||
ImGui.Text("Changelog:");
|
|
||||||
ImGuiHelpers.ScaledDummy(2);
|
|
||||||
ImGui.TextWrapped("* ASIhif ai fdh adhsfuoadf\n* IUHoiaudsfh adsof hioaudshfuio husiodfh\n* A iiaojfdpasd ijopadfnklafwjenalkfjensgdlkjnasasdfbhnj");
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui.EndChild();
|
|
||||||
ImGui.PopStyleColor(2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue