mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
Move xml docs from ctors onto classes
This commit is contained in:
parent
5256f3ed31
commit
6a59088014
@ -6,6 +6,11 @@ using osu.Framework.Graphics.Shapes;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
/// <summary>
|
||||
/// A simple rounded expandable line. Set its <see cref="Anchor"/>
|
||||
/// property to the center of the edge it's meant stick with. By default,
|
||||
/// takes up the full parent's axis defined by <see cref="IsHorizontal"/>.
|
||||
/// </summary>
|
||||
public class LineBadge : Circle
|
||||
{
|
||||
public float UncollapsedSize;
|
||||
@ -39,11 +44,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A simple rounded expandable line. Set its <see cref="Anchor"/>
|
||||
/// property to the center of the edge it's meant stick with. By default,
|
||||
/// takes up the full parent's axis defined by <see cref="IsHorizontal"/>.
|
||||
/// </summary>
|
||||
/// <param name="startCollapsed">Whether to initialize with the
|
||||
/// <see cref="CollapsedSize"/> or the <see cref="UncollapsedSize"/>.</param>
|
||||
public LineBadge(bool startCollapsed = true)
|
||||
|
@ -16,6 +16,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
// not inheriting osuclickablecontainer/osuhovercontainer
|
||||
// because click/hover sounds cannot be disabled
|
||||
/// <summary>
|
||||
/// An icon with an action upon click that can be disabled.
|
||||
/// </summary>
|
||||
public class TooltipIconButton : ClickableContainer, IHasTooltip
|
||||
{
|
||||
private readonly SpriteIcon icon;
|
||||
@ -48,9 +51,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
set { icon.Icon = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A simple icon that has an action upon click and can be disabled.
|
||||
/// </summary>
|
||||
public TooltipIconButton()
|
||||
{
|
||||
isEnabled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user