From 73511d9d8f3048fb15f253cb28b1edd42cfea2b8 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 17 Jul 2019 23:36:07 +0200 Subject: [PATCH] Student cap icon for the tutorial. --- Content.Client/UserInterface/GameHud.cs | 5 +- .../Textures/UserInterface/students-cap.svg | 93 ++++++++++++++++++ .../UserInterface/students-cap.svg.96dpi.png | Bin 0 -> 596 bytes 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 Resources/Textures/UserInterface/students-cap.svg create mode 100644 Resources/Textures/UserInterface/students-cap.svg.96dpi.png diff --git a/Content.Client/UserInterface/GameHud.cs b/Content.Client/UserInterface/GameHud.cs index 44b4ec2cd7..9cc508a045 100644 --- a/Content.Client/UserInterface/GameHud.cs +++ b/Content.Client/UserInterface/GameHud.cs @@ -59,7 +59,7 @@ namespace Content.Client.UserInterface var escapeTexture = _resourceCache.GetTexture("/Textures/UserInterface/hamburger.svg.96dpi.png"); var characterTexture = _resourceCache.GetTexture("/Textures/UserInterface/character.svg.96dpi.png"); var craftingTexture = _resourceCache.GetTexture("/Textures/UserInterface/hammer.svg.96dpi.png"); - var tutorialTexture = _resourceCache.GetTexture("/Textures/UserInterface/tutorial.svg.96dpi.png"); + var tutorialTexture = _resourceCache.GetTexture("/Textures/UserInterface/students-cap.svg.96dpi.png"); _topButtonsContainer = new HBoxContainer { @@ -199,7 +199,8 @@ namespace Content.Client.UserInterface SizeFlagsVertical = SizeFlags.Expand | SizeFlags.ShrinkCenter, MouseFilter = MouseFilterMode.Ignore, ModulateSelfOverride = ColorNormal, - CustomMinimumSize = (0, 32) + CustomMinimumSize = (0, 32), + Stretch = TextureRect.StretchMode.KeepCentered }); _container.AddChild(_label = new Label diff --git a/Resources/Textures/UserInterface/students-cap.svg b/Resources/Textures/UserInterface/students-cap.svg new file mode 100644 index 0000000000..64d400e844 --- /dev/null +++ b/Resources/Textures/UserInterface/students-cap.svg @@ -0,0 +1,93 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/Textures/UserInterface/students-cap.svg.96dpi.png b/Resources/Textures/UserInterface/students-cap.svg.96dpi.png new file mode 100644 index 0000000000000000000000000000000000000000..b3dd0a6780e0c58578332fdbed46f05dc37fc858 GIT binary patch literal 596 zcmV-a0;~OrP)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^ zaAhuUa%Y?FJQ@H10ntfBK~zYIy_P*_6j2m~zgYqaMq-czBp_C%7BoV@ZetS+5h0zr zo!D90DA=b_1i{uqC5ptxCV}++KnfF#DWf6*MbX8LD4)gL#bL9vyOUi#@OY2+bI-Z= z-TP)>4^W5HOX^E?O}(lf+>5QE#K+aU>Nj`ehq|CnsYx$Mhr`>|CZu_I6HyuMg}2oL z#EqyGii&zjy`sMEf;11C>J9a9BWWoVE~r2M0dXUKsY~jd+J{ZbmRK+GNxh>^=H(n$qOWDJa}^Xj&GFGTE9%j#`)s|o2=td-S%^^|%`eW%Xn@%ClL zvzhVN=tqGI(W<}-@CdjDj00z5-y*OElz|HH7#MErb%TKE%=k-_y@SA+XfUsY@)kUxoXIp*+JN|J{PXbfG1nE_c0sCY5JMaP6 i1fB!SNs_$i#O@!3(pDv1)PR2g0000