mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 00:19:18 +01:00
Merge pull request #768 from LadyDefile/master
This commit is contained in:
commit
878116bf14
1 changed files with 7 additions and 0 deletions
|
|
@ -84,6 +84,13 @@ namespace Dalamud.Interface.Windowing
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void RemoveAllWindows() => this.windows.Clear();
|
public void RemoveAllWindows() => this.windows.Clear();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get a window by name.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="windowName">The name of the <see cref="Window"/></param>
|
||||||
|
/// <returns>The <see cref="Window"/> object with matching name or null.</returns>
|
||||||
|
public Window? GetWindow(string windowName) => this.windows.FirstOrDefault(w => w.WindowName == windowName);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Draw all registered windows using ImGui.
|
/// Draw all registered windows using ImGui.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue