Skip to content

Commit

Permalink
Document TitleBar.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Jan 9, 2025
1 parent 62a7721 commit 0d6b92d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/Riverside.Toolkit/Controls/TitleBar/TitleBar.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,60 @@
namespace Riverside.Toolkit.Controls.TitleBar
{
/// <summary>
/// Specifies the selected caption button.
/// </summary>
public enum SelectedCaptionButton
{
/// <summary>
/// No button is selected.
/// </summary>
None = 0,
/// <summary>
/// The minimize button is selected.
/// </summary>
Minimize = 1,
/// <summary>
/// The maximize button is selected.
/// </summary>
Maximize = 2,
/// <summary>
/// The close button is selected.
/// </summary>
Close = 3
}

/// <summary>
/// Specifies the state of the caption buttons.
/// </summary>
public enum ButtonsState
{
/// <summary>
/// No button state.
/// </summary>
None,
/// <summary>
/// The minimize button is in the pointer over state.
/// </summary>
MinimizePointerOver,
/// <summary>
/// The minimize button is in the pressed state.
/// </summary>
MinimizePressed,
/// <summary>
/// The maximize button is in the pointer over state.
/// </summary>
MaximizePointerOver,
/// <summary>
/// The maximize button is in the pressed state.
/// </summary>
MaximizePressed,
/// <summary>
/// The close button is in the pointer over state.
/// </summary>
ClosePointerOver,
/// <summary>
/// The close button is in the pressed state.
/// </summary>
ClosePressed
}
}

0 comments on commit 0d6b92d

Please sign in to comment.