Student cap icon for the tutorial.

This commit is contained in:
Pieter-Jan Briers
2019-07-17 23:36:07 +02:00
parent 4b9c4022b8
commit 73511d9d8f
3 changed files with 96 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
viewBox="0 0 31.999999 18.548371"
height="18.54837"
width="31.999998"
y="0px"
x="0px"
id="Capa_1"
version="1.1"><metadata
id="metadata43"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs41" />
<g
style="fill:#000000;fill-opacity:1"
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g6">
<path
style="fill:#ffffff;fill-opacity:1"
id="path2"
d="m 395.904,475.016 -236.203,-72.7 v 71.524 49.896 c 0,56.133 105.787,101.644 236.274,101.644 130.48,0 236.285,-45.511 236.285,-101.644 0,-0.442 -0.145,-0.886 -0.154,-1.318 V 402.316 Z" />
<path
style="fill:#ffffff;fill-opacity:1"
id="path4"
d="m 0,318.734 84.383,30.185 7.191,-15.401 31,-2.635 4.42,4.599 -26.601,6.308 -3.877,11.475 c -0.007,0 -60.087,125.604 -51.263,187.05 0,0 37.502,22.37 74.988,0 l 9.962,-168 v -13.984 l 55.8,-12.588 -3.941,9.705 -41.604,13.529 19.242,6.874 236.203,72.7 236.201,-72.7 159.699,-57.116 -395.9,-152.313 z" />
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g8">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g10">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g12">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g14">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g16">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g18">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g20">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g22">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g24">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g26">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g28">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g30">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g32">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g34">
</g>
<g
transform="matrix(0.04041409,0,0,0.04041409,0,-6.7257937)"
id="g36">
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B