mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Merge pull request #524 from daemitus/windowing
This commit is contained in:
commit
c01862e41c
1 changed files with 8 additions and 0 deletions
|
|
@ -113,6 +113,13 @@ namespace Dalamud.Interface.Windowing
|
||||||
this.IsOpen ^= true;
|
this.IsOpen ^= true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Code to be executed before conditionals are applied.
|
||||||
|
/// </summary>
|
||||||
|
public virtual void PreConditionals()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Code to be executed every time the window renders.
|
/// Code to be executed every time the window renders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -157,6 +164,7 @@ namespace Dalamud.Interface.Windowing
|
||||||
if (hasNamespace)
|
if (hasNamespace)
|
||||||
ImGui.PushID(this.Namespace);
|
ImGui.PushID(this.Namespace);
|
||||||
|
|
||||||
|
this.PreConditionals();
|
||||||
this.ApplyConditionals();
|
this.ApplyConditionals();
|
||||||
|
|
||||||
if (this.ForceMainWindow)
|
if (this.ForceMainWindow)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue