mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Rename {Multiplayer -> OnlinePlay}Composite
This commit is contained in:
parent
4c43a67b68
commit
ed4b8482b6
@ -12,7 +12,7 @@ using osu.Game.Online.Chat;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class BeatmapTitle : MultiplayerComposite
|
||||
public class BeatmapTitle : OnlinePlayComposite
|
||||
{
|
||||
private readonly LinkFlowContainer textFlow;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class BeatmapTypeInfo : MultiplayerComposite
|
||||
public class BeatmapTypeInfo : OnlinePlayComposite
|
||||
{
|
||||
private LinkFlowContainer beatmapAuthor;
|
||||
|
||||
|
@ -10,7 +10,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class ModeTypeInfo : MultiplayerComposite
|
||||
public class ModeTypeInfo : OnlinePlayComposite
|
||||
{
|
||||
private const float height = 30;
|
||||
private const float transition_duration = 100;
|
||||
|
@ -15,7 +15,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
/// <summary>
|
||||
/// A header used in the multiplayer interface which shows text / details beneath a line.
|
||||
/// </summary>
|
||||
public class OverlinedHeader : MultiplayerComposite
|
||||
public class OverlinedHeader : OnlinePlayComposite
|
||||
{
|
||||
private bool showLine = true;
|
||||
|
||||
|
@ -9,7 +9,7 @@ using osu.Game.Graphics.Sprites;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class ParticipantCountDisplay : MultiplayerComposite
|
||||
public class ParticipantCountDisplay : OnlinePlayComposite
|
||||
{
|
||||
private const float text_size = 30;
|
||||
private const float transition_duration = 100;
|
||||
|
@ -8,7 +8,7 @@ using osu.Game.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class ParticipantsDisplay : MultiplayerComposite
|
||||
public class ParticipantsDisplay : OnlinePlayComposite
|
||||
{
|
||||
public Bindable<string> Details = new Bindable<string>();
|
||||
|
||||
|
@ -14,7 +14,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class ParticipantsList : MultiplayerComposite
|
||||
public class ParticipantsList : OnlinePlayComposite
|
||||
{
|
||||
public const float TILE_SIZE = 35;
|
||||
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Online.Rooms.RoomStatuses;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Components
|
||||
{
|
||||
public class RoomStatusInfo : MultiplayerComposite
|
||||
public class RoomStatusInfo : OnlinePlayComposite
|
||||
{
|
||||
public RoomStatusInfo()
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
Width = cover_width,
|
||||
Masking = true,
|
||||
Margin = new MarginPadding { Left = stripWidth },
|
||||
Child = new MultiplayerBackgroundSprite(BeatmapSetCoverType.List) { RelativeSizeAxes = Axes.Both }
|
||||
Child = new OnlinePlayBackgroundSprite(BeatmapSetCoverType.List) { RelativeSizeAxes = Axes.Both }
|
||||
},
|
||||
new Container
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
{
|
||||
public class ParticipantInfo : MultiplayerComposite
|
||||
public class ParticipantInfo : OnlinePlayComposite
|
||||
{
|
||||
public ParticipantInfo()
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
{
|
||||
public class RoomInfo : MultiplayerComposite
|
||||
public class RoomInfo : OnlinePlayComposite
|
||||
{
|
||||
private readonly List<Drawable> statusElements = new List<Drawable>();
|
||||
private readonly OsuTextFlowContainer roomName;
|
||||
|
@ -12,7 +12,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
{
|
||||
public class RoomInspector : MultiplayerComposite
|
||||
public class RoomInspector : OnlinePlayComposite
|
||||
{
|
||||
private const float transition_duration = 100;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Match.Components
|
||||
{
|
||||
public class Header : MultiplayerComposite
|
||||
public class Header : OnlinePlayComposite
|
||||
{
|
||||
public const float HEIGHT = 50;
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace osu.Game.Screens.OnlinePlay.Match.Components
|
||||
protected const float TRANSITION_DURATION = 350;
|
||||
protected const float FIELD_PADDING = 45;
|
||||
|
||||
protected MultiplayerComposite Settings { get; set; }
|
||||
protected OnlinePlayComposite Settings { get; set; }
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Screens.OnlinePlay.Match.Components;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
||||
{
|
||||
public class BeatmapSelectionControl : MultiplayerComposite
|
||||
public class BeatmapSelectionControl : OnlinePlayComposite
|
||||
{
|
||||
[Resolved]
|
||||
private MultiplayerMatchSubScreen matchSubScreen { get; set; }
|
||||
|
@ -19,7 +19,7 @@ using OsuFont = osu.Game.Graphics.OsuFont;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
||||
{
|
||||
public class MultiplayerMatchHeader : MultiplayerComposite
|
||||
public class MultiplayerMatchHeader : OnlinePlayComposite
|
||||
{
|
||||
public const float HEIGHT = 50;
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
|
||||
};
|
||||
}
|
||||
|
||||
protected class MatchSettings : MultiplayerComposite
|
||||
protected class MatchSettings : OnlinePlayComposite
|
||||
{
|
||||
private const float disabled_alpha = 0.2f;
|
||||
|
||||
|
@ -7,7 +7,7 @@ using osu.Game.Online.Multiplayer;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
{
|
||||
public abstract class MultiplayerRoomComposite : MultiplayerComposite
|
||||
public abstract class MultiplayerRoomComposite : OnlinePlayComposite
|
||||
{
|
||||
[CanBeNull]
|
||||
protected MultiplayerRoom Room => Client.Room;
|
||||
|
@ -10,7 +10,7 @@ using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Screens.OnlinePlay
|
||||
{
|
||||
public class MultiplayerComposite : CompositeDrawable
|
||||
public class OnlinePlayComposite : CompositeDrawable
|
||||
{
|
||||
[Resolved(typeof(Room))]
|
||||
protected Bindable<int?> RoomID { get; private set; }
|
@ -338,7 +338,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
}
|
||||
}
|
||||
|
||||
private class HeaderBackgroundSprite : MultiplayerBackgroundSprite
|
||||
private class HeaderBackgroundSprite : OnlinePlayBackgroundSprite
|
||||
{
|
||||
protected override UpdateableBeatmapBackgroundSprite CreateBackgroundSprite() => new BackgroundSprite { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
|
@ -36,7 +36,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
};
|
||||
}
|
||||
|
||||
protected class MatchSettings : MultiplayerComposite
|
||||
protected class MatchSettings : OnlinePlayComposite
|
||||
{
|
||||
private const float disabled_alpha = 0.2f;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user