mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 14:23:43 +01:00
25 lines
763 B
C#
25 lines
763 B
C#
using Glamourer.Designs;
|
|
using Glamourer.Gui;
|
|
using OtterGui.Classes;
|
|
|
|
namespace Glamourer.Events;
|
|
|
|
/// <summary>
|
|
/// Triggered when an automated design is changed in any way.
|
|
/// <list type="number">
|
|
/// <item>Parameter is the tab to select. </item>
|
|
/// <item>Parameter is the design to select if the tab is the designs tab. </item>
|
|
/// </list>
|
|
/// </summary>
|
|
public sealed class TabSelected()
|
|
: EventWrapper<MainWindow.TabType, Design?, TabSelected.Priority>(nameof(TabSelected))
|
|
{
|
|
public enum Priority
|
|
{
|
|
/// <seealso cref="Gui.Tabs.DesignTab.DesignFileSystemSelector.OnTabSelected"/>
|
|
DesignSelector = 0,
|
|
|
|
/// <seealso cref="Gui.MainWindow.OnTabSelected"/>
|
|
MainWindow = 1,
|
|
}
|
|
}
|