mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +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>
|
||||
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>
|
||||
/// Draw all registered windows using ImGui.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue