mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
feat: add Window.Update()
This commit is contained in:
parent
6758006c04
commit
45e3dc37a9
1 changed files with 9 additions and 0 deletions
|
|
@ -158,11 +158,20 @@ namespace Dalamud.Interface.Windowing
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Code to be executed every frame, even when the window is collapsed.
|
||||||
|
/// </summary>
|
||||||
|
public virtual void Update()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Draw the window via ImGui.
|
/// Draw the window via ImGui.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal void DrawInternal()
|
internal void DrawInternal()
|
||||||
{
|
{
|
||||||
|
this.Update();
|
||||||
|
|
||||||
if (!this.IsOpen)
|
if (!this.IsOpen)
|
||||||
{
|
{
|
||||||
if (this.internalIsOpen != this.internalLastIsOpen)
|
if (this.internalIsOpen != this.internalLastIsOpen)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue