mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 05:17:42 +01:00
Remove ImGui.NET entirely
This commit is contained in:
parent
95ec633cc5
commit
90e426b325
29 changed files with 32 additions and 173 deletions
|
|
@ -23,14 +23,14 @@ internal class AddonPopoutWindow : Window, IDisposable
|
|||
: base(name)
|
||||
{
|
||||
this.addonTree = tree;
|
||||
this.PositionConditionNew = ImGuiCond.Once;
|
||||
this.PositionCondition = ImGuiCond.Once;
|
||||
|
||||
var pos = ImGui.GetMousePos() + new Vector2(50, -50);
|
||||
var workSize = ImGui.GetMainViewport().WorkSize;
|
||||
var pos2 = new Vector2(Math.Min(workSize.X - 750, pos.X), Math.Min(workSize.Y - 250, pos.Y));
|
||||
|
||||
this.Position = pos2;
|
||||
this.SizeConditionNew = ImGuiCond.Once;
|
||||
this.SizeCondition = ImGuiCond.Once;
|
||||
this.Size = new(700, 200);
|
||||
this.IsOpen = true;
|
||||
this.SizeConstraints = new() { MinimumSize = new(100, 100) };
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ internal unsafe class NodePopoutWindow : Window, IDisposable
|
|||
|
||||
this.Position = pos2;
|
||||
this.IsOpen = true;
|
||||
this.PositionConditionNew = ImGuiCond.Once;
|
||||
this.SizeConditionNew = ImGuiCond.Once;
|
||||
this.PositionCondition = ImGuiCond.Once;
|
||||
this.SizeCondition = ImGuiCond.Once;
|
||||
this.Size = new(700, 200);
|
||||
this.SizeConstraints = new() { MinimumSize = new(100, 100) };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue