Add SS as an acronym.

This commit is contained in:
Huo Yaoyuan 2017-06-15 09:10:23 +08:00
parent 0c9ccaec95
commit 1e0653eff9
2 changed files with 6 additions and 5 deletions

View File

@ -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;

View File

@ -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">&lt;?xml version="1.0" encoding="utf-16"?&gt;&#xD; <s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;&#xD;
&lt;Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"&gt;&#xD; &lt;Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"&gt;&#xD;