Archived
forked from RDTKEditor/RDTKEditor
添加对 Core 的直接引用
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
namespace RhythmBase.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an event to hide a row with specific transitions and visibility options.
|
||||
/// </summary>
|
||||
public class HideRow : BaseRowAnimation
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HideRow"/> class.
|
||||
/// </summary>
|
||||
public HideRow()
|
||||
{
|
||||
Type = EventType.HideRow;
|
||||
Tab = Tabs.Actions;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the transition type for hiding the row.
|
||||
/// </summary>
|
||||
public Transitions Transition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the visibility state of the row.
|
||||
/// </summary>
|
||||
public Shows Show { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the event.
|
||||
/// </summary>
|
||||
public override EventType Type { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tab category of the event.
|
||||
/// </summary>
|
||||
public override Tabs Tab { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Defines the possible transition types for hiding the row.
|
||||
/// </summary>
|
||||
public enum Transitions
|
||||
{
|
||||
/// <summary>
|
||||
/// Smooth transition.
|
||||
/// </summary>
|
||||
Smooth,
|
||||
/// <summary>
|
||||
/// Instant transition.
|
||||
/// </summary>
|
||||
Instant,
|
||||
/// <summary>
|
||||
/// Full transition.
|
||||
/// </summary>
|
||||
Full
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the possible visibility states of the row.
|
||||
/// </summary>
|
||||
public enum Shows
|
||||
{
|
||||
/// <summary>
|
||||
/// Row is visible.
|
||||
/// </summary>
|
||||
Visible,
|
||||
/// <summary>
|
||||
/// Row is hidden.
|
||||
/// </summary>
|
||||
Hidden,
|
||||
/// <summary>
|
||||
/// Only the character is visible.
|
||||
/// </summary>
|
||||
OnlyCharacter,
|
||||
/// <summary>
|
||||
/// Only the row is visible.
|
||||
/// </summary>
|
||||
OnlyRow
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user