mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 12:53:41 +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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Code to be executed before conditionals are applied.
|
||||
/// </summary>
|
||||
public virtual void PreConditionals()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Code to be executed every time the window renders.
|
||||
/// </summary>
|
||||
|
|
@ -157,6 +164,7 @@ namespace Dalamud.Interface.Windowing
|
|||
if (hasNamespace)
|
||||
ImGui.PushID(this.Namespace);
|
||||
|
||||
this.PreConditionals();
|
||||
this.ApplyConditionals();
|
||||
|
||||
if (this.ForceMainWindow)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue