mirror of https://github.com/ppy/osu
Add SS as an acronym.
This commit is contained in:
parent
0c9ccaec95
commit
1e0653eff9
|
@ -26,7 +26,7 @@ public class ProfileHeader : Container
|
||||||
|
|
||||||
private readonly Sprite levelBadge;
|
private readonly Sprite levelBadge;
|
||||||
private readonly SpriteText levelText;
|
private readonly SpriteText levelText;
|
||||||
private readonly GradeBadge gradeDoubleSPlus, gradeDoubleS, gradeSPlus, gradeS, gradeA;
|
private readonly GradeBadge gradeSSPlus, gradeSS, gradeSPlus, gradeS, gradeA;
|
||||||
|
|
||||||
private const float cover_height = 350, info_height = 150, avatar_size = 110, avatar_bottom_position = -20, level_position = 30, level_height = 60;
|
private const float cover_height = 350, info_height = 150, avatar_size = 110, avatar_bottom_position = -20, level_position = 30, level_height = 60;
|
||||||
public ProfileHeader(User user)
|
public ProfileHeader(User user)
|
||||||
|
@ -193,8 +193,8 @@ public ProfileHeader(User user)
|
||||||
Spacing = new Vector2(20, 0),
|
Spacing = new Vector2(20, 0),
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
gradeDoubleSPlus = new GradeBadge("SSPlus"),
|
gradeSSPlus = new GradeBadge("SSPlus"),
|
||||||
gradeDoubleS = new GradeBadge("SS"),
|
gradeSS = new GradeBadge("SS"),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new FillFlowContainer<GradeBadge>
|
new FillFlowContainer<GradeBadge>
|
||||||
|
@ -287,8 +287,8 @@ private void load(TextureStore textures)
|
||||||
scoreText.Add(createScoreText("Replay Watched"));
|
scoreText.Add(createScoreText("Replay Watched"));
|
||||||
scoreNumberText.Add(createScoreNumberText("23"));
|
scoreNumberText.Add(createScoreNumberText("23"));
|
||||||
|
|
||||||
gradeDoubleSPlus.Count = 12;
|
gradeSSPlus.Count = 12;
|
||||||
gradeDoubleS.Count = 34;
|
gradeSS.Count = 34;
|
||||||
gradeSPlus.Count = 567;
|
gradeSPlus.Count = 567;
|
||||||
gradeS.Count = 890;
|
gradeS.Count = 890;
|
||||||
gradeA.Count = 1234;
|
gradeA.Count = 1234;
|
||||||
|
|
|
@ -192,6 +192,7 @@
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RNG/@EntryIndexedValue">RNG</s:String>
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RNG/@EntryIndexedValue">RNG</s:String>
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SRGB/@EntryIndexedValue">SRGB</s:String>
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SRGB/@EntryIndexedValue">SRGB</s:String>
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=TK/@EntryIndexedValue">TK</s:String>
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=TK/@EntryIndexedValue">TK</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SS/@EntryIndexedValue">SS</s:String>
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=EnumMember/@EntryIndexedValue">HINT</s:String>
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=EnumMember/@EntryIndexedValue">HINT</s:String>
|
||||||
<s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue"><?xml version="1.0" encoding="utf-16"?>
|
<s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue"><?xml version="1.0" encoding="utf-16"?>
|
||||||
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
|
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
|
||||||
|
|
Loading…
Reference in New Issue