Merge pull request #463 from hzulla/feature/new-folder-artwork

Update artwork for folder & blank game cartridge icon
This commit is contained in:
John Rassa 2018-08-11 08:18:30 -04:00 committed by GitHub
commit dc541e5e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 2 deletions

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

26
resources/cartridge.svg Normal file
View file

@ -0,0 +1,26 @@
<?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 fill="#aaa" stroke="#777" stroke-linejoin="round" stroke-width="3" d="m10 4 h108 v100 h-6 v20 h-96 v-20 h-6 v-100 z"/>
<path fill="#777" stroke="#777" stroke-linejoin="round" stroke-width="3" d="m60 94 h12 l-6 8 l-6 -8 z"/>
<path fill="#777" stroke="#777" stroke-linejoin="round" stroke-width="3" d="m58 4 h44 v80 h-44 v-80 z"/>
<line stroke="#777" stroke-width="3" x1="24" y1="4" x2="24" y2="124"/>
<line stroke="#777" stroke-width="3" x1="50" y1="4" x2="50" y2="124"/>
<line stroke="#777" stroke-width="3" x1="24" y1="10" x2="50" y2="10"/>
<line stroke="#777" stroke-width="3" x1="24" y1="16" x2="50" y2="16"/>
<line stroke="#777" stroke-width="3" x1="24" y1="22" x2="50" y2="22"/>
<line stroke="#777" stroke-width="3" x1="24" y1="28" x2="50" y2="28"/>
<line stroke="#777" stroke-width="3" x1="24" y1="34" x2="50" y2="34"/>
<line stroke="#777" stroke-width="3" x1="24" y1="40" x2="50" y2="40"/>
<line stroke="#777" stroke-width="3" x1="24" y1="46" x2="50" y2="46"/>
<line stroke="#777" stroke-width="3" x1="24" y1="52" x2="50" y2="52"/>
<line stroke="#777" stroke-width="3" x1="24" y1="58" x2="50" y2="58"/>
<line stroke="#777" stroke-width="3" x1="24" y1="64" x2="50" y2="64"/>
<line stroke="#777" stroke-width="3" x1="24" y1="70" x2="50" y2="70"/>
<line stroke="#777" stroke-width="3" x1="24" y1="76" x2="50" y2="76"/>
<line stroke="#777" stroke-width="3" x1="24" y1="82" x2="50" y2="82"/>
<line stroke="#777" stroke-width="3" x1="24" y1="88" x2="50" y2="88"/>
<line stroke="#777" stroke-width="3" x1="24" y1="94" x2="50" y2="94"/>
<line stroke="#777" stroke-width="3" x1="24" y1="100" x2="50" y2="100"/>
<line stroke="#777" stroke-width="3" x1="24" y1="106" x2="50" y2="106"/>
<line stroke="#777" stroke-width="3" x1="24" y1="112" x2="50" y2="112"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

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