mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
IME implementation
This commit is contained in:
parent
ee44e6885a
commit
3e3757d30c
10 changed files with 1131 additions and 2 deletions
|
|
@ -32,6 +32,7 @@ namespace Dalamud.Interface.Internal
|
|||
private readonly CreditsWindow creditsWindow;
|
||||
private readonly DataWindow dataWindow;
|
||||
private readonly GamepadModeNotifierWindow gamepadModeNotifierWindow;
|
||||
private readonly IMEWindow imeWindow;
|
||||
private readonly ConsoleWindow consoleWindow;
|
||||
private readonly PluginStatWindow pluginStatWindow;
|
||||
private readonly PluginInstallerWindow pluginWindow;
|
||||
|
|
@ -64,6 +65,7 @@ namespace Dalamud.Interface.Internal
|
|||
this.creditsWindow = new CreditsWindow(dalamud) { IsOpen = false };
|
||||
this.dataWindow = new DataWindow(dalamud) { IsOpen = false };
|
||||
this.gamepadModeNotifierWindow = new GamepadModeNotifierWindow();
|
||||
this.imeWindow = new IMEWindow(dalamud);
|
||||
this.consoleWindow = new ConsoleWindow(dalamud) { IsOpen = this.dalamud.Configuration.LogOpenAtStartup };
|
||||
this.pluginStatWindow = new PluginStatWindow(dalamud) { IsOpen = false };
|
||||
this.pluginWindow = new PluginInstallerWindow(dalamud) { IsOpen = false };
|
||||
|
|
@ -77,6 +79,7 @@ namespace Dalamud.Interface.Internal
|
|||
this.windowSystem.AddWindow(this.creditsWindow);
|
||||
this.windowSystem.AddWindow(this.dataWindow);
|
||||
this.windowSystem.AddWindow(this.gamepadModeNotifierWindow);
|
||||
this.windowSystem.AddWindow(this.imeWindow);
|
||||
this.windowSystem.AddWindow(this.consoleWindow);
|
||||
this.windowSystem.AddWindow(this.pluginStatWindow);
|
||||
this.windowSystem.AddWindow(this.pluginWindow);
|
||||
|
|
@ -160,6 +163,11 @@ namespace Dalamud.Interface.Internal
|
|||
/// </summary>
|
||||
public void OpenGamepadModeNotifierWindow() => this.gamepadModeNotifierWindow.IsOpen = true;
|
||||
|
||||
/// <summary>
|
||||
/// Opens the <see cref="IMEWindow"/>.
|
||||
/// </summary>
|
||||
public void OpenIMEWindow() => this.imeWindow.IsOpen = true;
|
||||
|
||||
/// <summary>
|
||||
/// Opens the <see cref="ConsoleWindow"/>.
|
||||
/// </summary>
|
||||
|
|
@ -192,6 +200,15 @@ namespace Dalamud.Interface.Internal
|
|||
|
||||
#endregion
|
||||
|
||||
#region Close
|
||||
|
||||
/// <summary>
|
||||
/// Closes the <see cref="IMEWindow"/>.
|
||||
/// </summary>
|
||||
public void CloseIMEWindow() => this.imeWindow.IsOpen = false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Toggle
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -237,6 +254,11 @@ namespace Dalamud.Interface.Internal
|
|||
/// </summary>
|
||||
public void ToggleGamepadModeNotifierWindow() => this.gamepadModeNotifierWindow.Toggle();
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the <see cref="IMEWindow"/>.
|
||||
/// </summary>
|
||||
public void ToggleIMEWindow() => this.imeWindow.Toggle();
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the <see cref="ConsoleWindow"/>.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue