Replace folder bitmap with svg artwork.

This commit is contained in:
Hanno Zulla 2018-07-25 14:52:13 +02:00
parent de021ca00f
commit 3e27412d65
3 changed files with 6 additions and 1 deletions

View file

@ -90,7 +90,7 @@ ImageGridComponent<T>::ImageGridComponent(Window* window) : IList<ImageGridData,
mEntriesDirty = true;
mLastCursor = 0;
mDefaultGameTexture = ":/blank_game.png";
mDefaultFolderTexture = ":/folder.png";
mDefaultFolderTexture = ":/folder.svg";
mSize = screen * 0.80f;
mMargin = screen * 0.07f;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

5
resources/folder.svg Normal file
View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="128" height="128" version="1.1" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">
<path d="m10 19h38a6 6 90 0 1 6 6v6h64a6 6 90 0 1 6 6v66a6 6 90 0 1-6 6h-108a6 6 90 0 1-6-6v-78a6 6 90 0 1 6-6z" fill="#aaa" stroke="#aaa" stroke-linejoin="round" stroke-width="3"/>
<path d="m10 35h108a6 6 90 0 1 6 6v62a6 6 90 0 1-6 6h-108a6 6 90 0 1-6-6v-62a6 6 90 0 1 6-6z" fill="#777" stroke="#777" stroke-linejoin="round" stroke-width="3"/>
</svg>

After

Width:  |  Height:  |  Size: 495 B