mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Classes naming adjustments
This commit is contained in:
@ -13,18 +13,18 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Overlays.News.Displays
|
namespace osu.Game.Overlays.News.Displays
|
||||||
{
|
{
|
||||||
public class FrontpageDisplay : CompositeDrawable
|
public class FrontPageDisplay : CompositeDrawable
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private IAPIProvider api { get; set; }
|
private IAPIProvider api { get; set; }
|
||||||
|
|
||||||
private readonly FillFlowContainer content;
|
private readonly FillFlowContainer content;
|
||||||
private readonly FrontpageShowMoreButton showMore;
|
private readonly FrontPageShowMoreButton showMore;
|
||||||
|
|
||||||
private GetNewsRequest request;
|
private GetNewsRequest request;
|
||||||
private Cursor lastCursor;
|
private Cursor lastCursor;
|
||||||
|
|
||||||
public FrontpageDisplay()
|
public FrontPageDisplay()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
@ -53,7 +53,7 @@ namespace osu.Game.Overlays.News.Displays
|
|||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Spacing = new Vector2(0, 10)
|
Spacing = new Vector2(0, 10)
|
||||||
},
|
},
|
||||||
showMore = new FrontpageShowMoreButton
|
showMore = new FrontPageShowMoreButton
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
@ -115,7 +115,7 @@ namespace osu.Game.Overlays.News.Displays
|
|||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class FrontpageShowMoreButton : ShowMoreButton
|
private class FrontPageShowMoreButton : ShowMoreButton
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colourProvider)
|
private void load(OverlayColourProvider colourProvider)
|
||||||
|
@ -88,7 +88,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
if (current.NewValue == null)
|
if (current.NewValue == null)
|
||||||
{
|
{
|
||||||
LoadDisplay(new FrontpageDisplay());
|
LoadDisplay(new FrontPageDisplay());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user