This repository has been archived on 2025-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

80 lines
1.6 KiB
C#

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
}
}
}