Crisp double scale icons for top button bar.
Still looks good on 100% scale mode but looks much better on higher modes than the previous bilinear scaling.
@@ -128,14 +128,14 @@ namespace Content.Client.UserInterface
|
|||||||
RootControl = new LayoutContainer();
|
RootControl = new LayoutContainer();
|
||||||
LayoutContainer.SetAnchorPreset(RootControl, LayoutContainer.LayoutPreset.Wide);
|
LayoutContainer.SetAnchorPreset(RootControl, LayoutContainer.LayoutPreset.Wide);
|
||||||
|
|
||||||
var escapeTexture = _resourceCache.GetTexture("/Textures/Interface/hamburger.svg.96dpi.png");
|
var escapeTexture = _resourceCache.GetTexture("/Textures/Interface/hamburger.svg.192dpi.png");
|
||||||
var characterTexture = _resourceCache.GetTexture("/Textures/Interface/character.svg.96dpi.png");
|
var characterTexture = _resourceCache.GetTexture("/Textures/Interface/character.svg.192dpi.png");
|
||||||
var inventoryTexture = _resourceCache.GetTexture("/Textures/Interface/inventory.svg.96dpi.png");
|
var inventoryTexture = _resourceCache.GetTexture("/Textures/Interface/inventory.svg.192dpi.png");
|
||||||
var craftingTexture = _resourceCache.GetTexture("/Textures/Interface/hammer.svg.96dpi.png");
|
var craftingTexture = _resourceCache.GetTexture("/Textures/Interface/hammer.svg.192dpi.png");
|
||||||
var actionsTexture = _resourceCache.GetTexture("/Textures/Interface/fist.svg.96dpi.png");
|
var actionsTexture = _resourceCache.GetTexture("/Textures/Interface/fist.svg.192dpi.png");
|
||||||
var adminTexture = _resourceCache.GetTexture("/Textures/Interface/gavel.svg.96dpi.png");
|
var adminTexture = _resourceCache.GetTexture("/Textures/Interface/gavel.svg.192dpi.png");
|
||||||
var tutorialTexture = _resourceCache.GetTexture("/Textures/Interface/tutorial.svg.96dpi.png");
|
var tutorialTexture = _resourceCache.GetTexture("/Textures/Interface/tutorial.svg.192dpi.png");
|
||||||
var sandboxTexture = _resourceCache.GetTexture("/Textures/Interface/sandbox.svg.96dpi.png");
|
var sandboxTexture = _resourceCache.GetTexture("/Textures/Interface/sandbox.svg.192dpi.png");
|
||||||
|
|
||||||
_topButtonsContainer = new HBoxContainer
|
_topButtonsContainer = new HBoxContainer
|
||||||
{
|
{
|
||||||
@@ -473,6 +473,7 @@ namespace Content.Client.UserInterface
|
|||||||
new Control {CustomMinimumSize = (0, VertPad)},
|
new Control {CustomMinimumSize = (0, VertPad)},
|
||||||
(_textureRect = new TextureRect
|
(_textureRect = new TextureRect
|
||||||
{
|
{
|
||||||
|
TextureScale = (0.5f, 0.5f),
|
||||||
Texture = texture,
|
Texture = texture,
|
||||||
SizeFlagsHorizontal = SizeFlags.ShrinkCenter,
|
SizeFlagsHorizontal = SizeFlags.ShrinkCenter,
|
||||||
SizeFlagsVertical = SizeFlags.Expand | SizeFlags.ShrinkCenter,
|
SizeFlagsVertical = SizeFlags.Expand | SizeFlags.ShrinkCenter,
|
||||||
|
|||||||
BIN
Resources/Textures/Interface/character.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 569 B |
BIN
Resources/Textures/Interface/fist.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 991 B |
|
Before Width: | Height: | Size: 548 B |
BIN
Resources/Textures/Interface/gavel.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 548 B |
BIN
Resources/Textures/Interface/hamburger.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 316 B |
BIN
Resources/Textures/Interface/hammer.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 808 B |
|
Before Width: | Height: | Size: 459 B |
BIN
Resources/Textures/Interface/inventory.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 884 B |
|
Before Width: | Height: | Size: 512 B |
BIN
Resources/Textures/Interface/sandbox.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 731 B |
BIN
Resources/Textures/Interface/students-cap.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 596 B |
BIN
Resources/Textures/Interface/target-doll-high.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 735 B |
BIN
Resources/Textures/Interface/target-doll-low.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 781 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
BIN
Resources/Textures/Interface/target-doll-middle.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
BIN
Resources/Textures/Interface/target-doll.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
BIN
Resources/Textures/Interface/tutorial.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
2
Resources/Textures/Interface/tutorial.svg.192dpi.png.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 644 B |