-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
276c4a9
commit c004c84
Showing
5 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
osu.Game.Rulesets.Karaoke/Skinning/Argon/KaraokeArgonSkinTransformer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Game.Beatmaps; | ||
using osu.Game.Rulesets.Karaoke.Skinning.Default; | ||
using osu.Game.Skinning; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Skinning.Argon | ||
{ | ||
public class KaraokeArgonSkinTransformer : KaraokeDefaultSkinTransformer | ||
{ | ||
public KaraokeArgonSkinTransformer(ISkin skin, IBeatmap beatmap) | ||
: base(skin, beatmap) | ||
{ | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
osu.Game.Rulesets.Karaoke/Skinning/Default/KaraokeDefaultSkinTransformer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Framework.Bindables; | ||
using osu.Game.Beatmaps; | ||
using osu.Game.Skinning; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Skinning.Default | ||
{ | ||
public class KaraokeDefaultSkinTransformer : SkinTransformer | ||
{ | ||
private readonly KaraokeSkin karaokeSkin; | ||
|
||
public KaraokeDefaultSkinTransformer(ISkin skin, IBeatmap beatmap) | ||
: base(skin) | ||
{ | ||
karaokeSkin = new KaraokeSkin(new SkinInfo(), new InternalSkinStorageResourceProvider("Default")); | ||
} | ||
|
||
public override IBindable<TValue>? GetConfig<TLookup, TValue>(TLookup lookup) | ||
=> karaokeSkin.GetConfig<TLookup, TValue>(lookup); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
osu.Game.Rulesets.Karaoke/Skinning/Legacy/KaraokeClassicSkinTransformer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Game.Beatmaps; | ||
using osu.Game.Skinning; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Skinning.Legacy | ||
{ | ||
public class KaraokeClassicSkinTransformer : KaraokeLegacySkinTransformer | ||
{ | ||
public KaraokeClassicSkinTransformer(ISkin source, IBeatmap beatmap) | ||
: base(source, beatmap) | ||
{ | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
osu.Game.Rulesets.Karaoke/Skinning/Triangles/KaraokeTrianglesSkinTransformer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using osu.Game.Beatmaps; | ||
using osu.Game.Rulesets.Karaoke.Skinning.Default; | ||
using osu.Game.Skinning; | ||
|
||
namespace osu.Game.Rulesets.Karaoke.Skinning.Triangles | ||
{ | ||
public class KaraokeTrianglesSkinTransformer : KaraokeDefaultSkinTransformer | ||
{ | ||
public KaraokeTrianglesSkinTransformer(ISkin skin, IBeatmap beatmap) | ||
: base(skin, beatmap) | ||
{ | ||
} | ||
} | ||
} |