diff --git a/Content.Client/UserInterface/ActionsUI.cs b/Content.Client/UserInterface/ActionsUI.cs index c0c6085279..2c275398e7 100644 --- a/Content.Client/UserInterface/ActionsUI.cs +++ b/Content.Client/UserInterface/ActionsUI.cs @@ -122,23 +122,25 @@ namespace Content.Client.UserInterface hotbarContainer.AddChild(settingsContainer); settingsContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 1 }); - _lockTexture = resourceCache.GetTexture("/Textures/Interface/Nano/lock.svg.png"); - _unlockTexture = resourceCache.GetTexture("/Textures/Interface/Nano/lock_open.svg.png"); + _lockTexture = resourceCache.GetTexture("/Textures/Interface/Nano/lock.svg.192dpi.png"); + _unlockTexture = resourceCache.GetTexture("/Textures/Interface/Nano/lock_open.svg.192dpi.png"); _lockButton = new TextureButton { TextureNormal = _unlockTexture, SizeFlagsHorizontal = SizeFlags.ShrinkCenter, SizeFlagsVertical = SizeFlags.ShrinkCenter, - SizeFlagsStretchRatio = 1 + SizeFlagsStretchRatio = 1, + Scale = (0.5f, 0.5f) }; settingsContainer.AddChild(_lockButton); settingsContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 2 }); _settingsButton = new TextureButton { - TextureNormal = resourceCache.GetTexture("/Textures/Interface/Nano/gear.svg.png"), + TextureNormal = resourceCache.GetTexture("/Textures/Interface/Nano/gear.svg.192dpi.png"), SizeFlagsHorizontal = SizeFlags.ShrinkCenter, SizeFlagsVertical = SizeFlags.ShrinkCenter, - SizeFlagsStretchRatio = 1 + SizeFlagsStretchRatio = 1, + Scale = (0.5f, 0.5f) }; settingsContainer.AddChild(_settingsButton); settingsContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 1 }); @@ -160,10 +162,11 @@ namespace Content.Client.UserInterface _loadoutContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 1 }); var previousHotbarIcon = new TextureRect() { - Texture = resourceCache.GetTexture("/Textures/Interface/Nano/left_arrow.svg.png"), + Texture = resourceCache.GetTexture("/Textures/Interface/Nano/left_arrow.svg.192dpi.png"), SizeFlagsHorizontal = SizeFlags.ShrinkCenter, SizeFlagsVertical = SizeFlags.ShrinkCenter, - SizeFlagsStretchRatio = 1 + SizeFlagsStretchRatio = 1, + TextureScale = (0.5f, 0.5f) }; _loadoutContainer.AddChild(previousHotbarIcon); _loadoutContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 2 }); @@ -176,10 +179,11 @@ namespace Content.Client.UserInterface _loadoutContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 2 }); var nextHotbarIcon = new TextureRect { - Texture = resourceCache.GetTexture("/Textures/Interface/Nano/right_arrow.svg.png"), + Texture = resourceCache.GetTexture("/Textures/Interface/Nano/right_arrow.svg.192dpi.png"), SizeFlagsHorizontal = SizeFlags.ShrinkCenter, SizeFlagsVertical = SizeFlags.ShrinkCenter, - SizeFlagsStretchRatio = 1 + SizeFlagsStretchRatio = 1, + TextureScale = (0.5f, 0.5f) }; _loadoutContainer.AddChild(nextHotbarIcon); _loadoutContainer.AddChild(new Control { SizeFlagsHorizontal = SizeFlags.FillExpand, SizeFlagsStretchRatio = 1 }); diff --git a/Resources/Textures/Interface/Nano/gear.svg b/Resources/Textures/Interface/Nano/gear.svg index ccb451d706..a4b4256d6e 100644 --- a/Resources/Textures/Interface/Nano/gear.svg +++ b/Resources/Textures/Interface/Nano/gear.svg @@ -1,3 +1,58 @@ - - + + + + + + image/svg+xml + + + + + + + diff --git a/Resources/Textures/Interface/Nano/gear.svg.192dpi.png b/Resources/Textures/Interface/Nano/gear.svg.192dpi.png new file mode 100644 index 0000000000..90d434da82 Binary files /dev/null and b/Resources/Textures/Interface/Nano/gear.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/Nano/gear.svg.192dpi.png.yml b/Resources/Textures/Interface/Nano/gear.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Nano/gear.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Nano/gear.svg.png b/Resources/Textures/Interface/Nano/gear.svg.png deleted file mode 100644 index 522472042c..0000000000 Binary files a/Resources/Textures/Interface/Nano/gear.svg.png and /dev/null differ diff --git a/Resources/Textures/Interface/Nano/left_arrow.svg b/Resources/Textures/Interface/Nano/left_arrow.svg index f3f1bb49b3..d86fe3fd58 100644 --- a/Resources/Textures/Interface/Nano/left_arrow.svg +++ b/Resources/Textures/Interface/Nano/left_arrow.svg @@ -1,3 +1,66 @@ - - + + + + + + image/svg+xml + + + + + + + + diff --git a/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png b/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png new file mode 100644 index 0000000000..6539a6cb7d Binary files /dev/null and b/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png.yml b/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Nano/left_arrow.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Nano/left_arrow.svg.png b/Resources/Textures/Interface/Nano/left_arrow.svg.png deleted file mode 100644 index b606395f58..0000000000 Binary files a/Resources/Textures/Interface/Nano/left_arrow.svg.png and /dev/null differ diff --git a/Resources/Textures/Interface/Nano/lock.svg.192dpi.png b/Resources/Textures/Interface/Nano/lock.svg.192dpi.png new file mode 100644 index 0000000000..6e30dbb394 Binary files /dev/null and b/Resources/Textures/Interface/Nano/lock.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/Nano/lock.svg.192dpi.png.yml b/Resources/Textures/Interface/Nano/lock.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Nano/lock.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Nano/lock.svg.png b/Resources/Textures/Interface/Nano/lock.svg.png deleted file mode 100644 index 148cc20f5e..0000000000 Binary files a/Resources/Textures/Interface/Nano/lock.svg.png and /dev/null differ diff --git a/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png b/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png new file mode 100644 index 0000000000..729c820aa0 Binary files /dev/null and b/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png.yml b/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Nano/lock_open.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Nano/lock_open.svg.png b/Resources/Textures/Interface/Nano/lock_open.svg.png deleted file mode 100644 index d08584bc17..0000000000 Binary files a/Resources/Textures/Interface/Nano/lock_open.svg.png and /dev/null differ diff --git a/Resources/Textures/Interface/Nano/right_arrow.svg b/Resources/Textures/Interface/Nano/right_arrow.svg index eff5fdff21..b01f7192fb 100644 --- a/Resources/Textures/Interface/Nano/right_arrow.svg +++ b/Resources/Textures/Interface/Nano/right_arrow.svg @@ -1,3 +1,69 @@ - - + + + + + + image/svg+xml + + + + + + + + diff --git a/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png b/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png new file mode 100644 index 0000000000..00badb5550 Binary files /dev/null and b/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png differ diff --git a/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png.yml b/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png.yml new file mode 100644 index 0000000000..5c43e23305 --- /dev/null +++ b/Resources/Textures/Interface/Nano/right_arrow.svg.192dpi.png.yml @@ -0,0 +1,2 @@ +sample: + filter: true diff --git a/Resources/Textures/Interface/Nano/right_arrow.svg.png b/Resources/Textures/Interface/Nano/right_arrow.svg.png deleted file mode 100644 index 4a75a88e76..0000000000 Binary files a/Resources/Textures/Interface/Nano/right_arrow.svg.png and /dev/null differ