mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 06:13:04 +08:00
Formatting
This commit is contained in:
parent
b8129526a4
commit
88d878e1d5
@ -21,9 +21,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class OsuTabControlCheckBox : CheckBox
|
public class OsuTabControlCheckBox : CheckBox
|
||||||
{
|
{
|
||||||
private Box box;
|
private readonly Box box;
|
||||||
private SpriteText text;
|
private readonly SpriteText text;
|
||||||
private TextAwesome icon;
|
private readonly TextAwesome icon;
|
||||||
|
|
||||||
public event EventHandler<CheckBoxState> Action;
|
public event EventHandler<CheckBoxState> Action;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
private const float transition_duration = 500;
|
private const float transition_duration = 500;
|
||||||
|
|
||||||
private Container content;
|
private readonly Container content;
|
||||||
protected override Container<Drawable> Content => content;
|
protected override Container<Drawable> Content => content;
|
||||||
|
|
||||||
public readonly Container Details; //todo: replace with a real details view when added
|
public readonly Container Details; //todo: replace with a real details view when added
|
||||||
|
@ -17,8 +17,8 @@ namespace osu.Game.Screens.Select
|
|||||||
public class BeatmapDetailAreaTabControl : Container
|
public class BeatmapDetailAreaTabControl : Container
|
||||||
{
|
{
|
||||||
public static readonly float HEIGHT = 24;
|
public static readonly float HEIGHT = 24;
|
||||||
private OsuTabControlCheckBox modsCheckbox;
|
private readonly OsuTabControlCheckBox modsCheckbox;
|
||||||
private OsuTabControl<BeatmapDetailTab> tabs;
|
private readonly OsuTabControl<BeatmapDetailTab> tabs;
|
||||||
|
|
||||||
public Action<BeatmapDetailTab, bool> OnFilter; //passed the selected tab and if mods is checked
|
public Action<BeatmapDetailTab, bool> OnFilter; //passed the selected tab and if mods is checked
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user