mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
DalamudPluginInterface functions for opening Settings and DevMenu (#1795)
* Add functions for plugins to open the Developer Menu and Dalamud Settings windows * Do not break ABI by instead declaring a new method OpenPluginsInstallerTo Replace OpenDalamudSettings with OpenDalamudSettingsTo
This commit is contained in:
parent
5dd627d18e
commit
00311b4dca
10 changed files with 335 additions and 112 deletions
53
Dalamud/Interface/DalamudWindowOpenKinds.cs
Normal file
53
Dalamud/Interface/DalamudWindowOpenKinds.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
namespace Dalamud.Interface;
|
||||
|
||||
/// <summary>
|
||||
/// Enum describing pages the plugin installer can be opened to.
|
||||
/// </summary>
|
||||
public enum PluginInstallerOpenKind
|
||||
{
|
||||
/// <summary>
|
||||
/// Open to the "All Plugins" page.
|
||||
/// </summary>
|
||||
AllPlugins,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "Installed Plugins" page.
|
||||
/// </summary>
|
||||
InstalledPlugins,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "Changelogs" page.
|
||||
/// </summary>
|
||||
Changelogs,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum describing tabs the settings window can be opened to.
|
||||
/// </summary>
|
||||
public enum SettingsOpenKind
|
||||
{
|
||||
/// <summary>
|
||||
/// Open to the "General" page.
|
||||
/// </summary>
|
||||
General,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "Look & Feel" page.
|
||||
/// </summary>
|
||||
LookAndFeel,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "Server Info Bar" page.
|
||||
/// </summary>
|
||||
ServerInfoBar,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "Experimental" page.
|
||||
/// </summary>
|
||||
Experimental,
|
||||
|
||||
/// <summary>
|
||||
/// Open to the "About" page.
|
||||
/// </summary>
|
||||
About,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue