Merge pull request #546 from DioEgizio/add-server-icon

feat: add a proper server icon
This commit is contained in:
DioEgizio 2022-12-05 07:49:55 +01:00 committed by GitHub
commit b29c99656e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 9883 additions and 10 deletions

View File

@ -415,3 +415,28 @@
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
## Oxygen Icons
The Oxygen Icon Theme
Copyright (C) 2007 Nuno Pinheiro <nuno@oxygen-icons.org>
Copyright (C) 2007 David Vignoni <david@icon-king.com>
Copyright (C) 2007 David Miller <miller@oxygen-icons.org>
Copyright (C) 2007 Johann Ollivier Lapeyre <johann@oxygen-icons.org>
Copyright (C) 2007 Kenneth Wimer <kwwii@bootsplash.org>
Copyright (C) 2007 Riccardo Iaconelli <riccardo@oxygen-icons.org>
and others
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.

View File

@ -40,5 +40,6 @@
<file>scalable/export.svg</file>
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#eff0f1;
}
</style>
</defs>
<path
style="fill:currentColor"
d="m 2,2 0,3 0,1 0,1 0,3 0,1 0,3 12,0 0,-3 0,-1 0,-3 0,-1 0,-1 0,-3 z m 9,1 2,0 0,1 -2,0 z M 3,6 13,6 13,7 3,7 Z m 8,2 2,0 0,1 -2,0 z m -8,2 10,0 0,1 -10,0 z m 8,2 2,0 0,1 -2,0 z"
class="ColorScheme-Text"/>
</svg>

After

Width:  |  Height:  |  Size: 495 B

View File

@ -40,5 +40,6 @@
<file>scalable/export.svg</file>
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
}
</style>
</defs>
<path
style="fill:currentColor"
d="m 2,2 0,3 0,1 0,1 0,3 0,1 0,3 12,0 0,-3 0,-1 0,-3 0,-1 0,-1 0,-3 z m 9,1 2,0 0,1 -2,0 z M 3,6 13,6 13,7 3,7 Z m 8,2 2,0 0,1 -2,0 z m -8,2 10,0 0,1 -10,0 z m 8,2 2,0 0,1 -2,0 z"
class="ColorScheme-Text"/>
</svg>

After

Width:  |  Height:  |  Size: 495 B

View File

@ -47,6 +47,7 @@
<file>scalable/tag.svg</file>
<file>scalable/export.svg</file>
<file>scalable/rename.svg</file>
<file>scalable/server.svg</file>
<file>scalable/launch.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="24px"
viewBox="0 0 24 24"
width="24px"
fill="#000000"
version="1.1"
id="svg136"
sodipodi:docname="server.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs140" />
<sodipodi:namedview
id="namedview138"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="42.791667"
inkscape:cx="12.222006"
inkscape:cy="12.257059"
inkscape:window-width="1748"
inkscape:window-height="1161"
inkscape:window-x="9"
inkscape:window-y="33"
inkscape:window-maximized="0"
inkscape:current-layer="svg136" />
<path
d="M0 0h24v24H0V0z"
fill="none"
id="path132" />
<path
d="M19 15v4H5v-4h14m1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 18.5c-.82 0-1.5-.67-1.5-1.5s.68-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM19 5v4H5V5h14m1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 8.5c-.82 0-1.5-.67-1.5-1.5S6.18 5.5 7 5.5s1.5.68 1.5 1.5S7.83 8.5 7 8.5z"
id="path134"
style="fill:#757575;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -48,5 +48,6 @@
<file>scalable/rename.svg</file>
<file>scalable/tag.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 15v4H5v-4h14m1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 18.5c-.82 0-1.5-.67-1.5-1.5s.68-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM19 5v4H5V5h14m1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 8.5c-.82 0-1.5-.67-1.5-1.5S6.18 5.5 7 5.5s1.5.68 1.5 1.5S7.83 8.5 7 8.5z"/></svg>

After

Width:  |  Height:  |  Size: 499 B

View File

@ -28,14 +28,14 @@
<!-- Java icon. From Oracle, fixed because it was derpy. -->
<file>scalable/java.svg</file>
<!-- Star, CC-BY-SA 3.0, Oxygen icons.-->
<!-- Star, LGPL3, Oxygen icons.-->
<file>16x16/star.png</file>
<file>24x24/star.png</file>
<file>32x32/star.png</file>
<file>48x48/star.png</file>
<file>64x64/star.png</file>
<!-- "folder-remote", CC-BY-SA 3.0, Oxygen icons. Used for the worlds folder-->
<!-- "folder-remote", LGPL3, Oxygen icons. Used for the worlds folder-->
<file>16x16/worlds.png</file>
<file>22x22/worlds.png</file>
<file>32x32/worlds.png</file>
@ -84,7 +84,7 @@
<file>48x48/cat.png</file>
<file>64x64/cat.png</file>
<!-- Show mods folder. CC-BY-SA 3.0 http://openiconlibrary.sourceforge.net/gallery2/?./Icons/places/oxygen-style/folder-favorites.png -->
<!-- Show mods folder. LGPL3 http://openiconlibrary.sourceforge.net/gallery2/?./Icons/places/oxygen-style/folder-favorites.png -->
<file>scalable/centralmods.svg</file>
<file>16x16/centralmods.png</file>
<file>22x22/centralmods.png</file>
@ -162,25 +162,25 @@
<file>64x64/status-running.png</file>
<file>scalable/status-running.svg</file>
<!-- Plugin (blue recolor), CC-BY-SA 3.0, Oxygen icons. -->
<!-- Plugin (blue recolor), LGPL3, Oxygen icons. -->
<file>16x16/loadermods.png</file>
<file>24x24/loadermods.png</file>
<file>32x32/loadermods.png</file>
<file>64x64/loadermods.png</file>
<!-- Plugin (red recolor), CC-BY-SA 3.0, Oxygen icons. -->
<!-- Plugin (red recolor), LGPL3, Oxygen icons. -->
<file>16x16/jarmods.png</file>
<file>24x24/jarmods.png</file>
<file>32x32/jarmods.png</file>
<file>64x64/jarmods.png</file>
<!-- Plugin (green original), CC-BY-SA 3.0, Oxygen icons. -->
<!-- Plugin (green original), LGPL3, Oxygen icons. -->
<file>16x16/coremods.png</file>
<file>24x24/coremods.png</file>
<file>32x32/coremods.png</file>
<file>64x64/coremods.png</file>
<!-- Resource packs, CC-BY-SA 3.0, Oxygen icons. -->
<!-- Resource packs, LGPL3, Oxygen icons. -->
<file>16x16/resourcepacks.png</file>
<file>24x24/resourcepacks.png</file>
<file>32x32/resourcepacks.png</file>
@ -189,7 +189,7 @@
<!-- Resource packs, CC-BY-SA 3.0, Oxygen icons. -->
<file>128x128/shaderpacks.png</file>
<!-- Refresh, CC-BY-SA 3.0, Oxygen icons. -->
<!-- Refresh, LGPL3, Oxygen icons. -->
<file>16x16/refresh.png</file>
<file>22x22/refresh.png</file>
<file>32x32/refresh.png</file>
@ -338,7 +338,7 @@
<file>scalable/instances/fox_legacy.svg</file>
<file>scalable/instances/bee_legacy.svg</file>
<!-- delete, tag, rename, shortcut CC-BY-SA 3.0, Oxygen icons.-->
<!-- delete, tag, rename, shortcut and server LGPL3, Oxygen icons.-->
<file>scalable/delete.svg</file>
<file>scalable/tag.svg</file>
<file>scalable/rename.svg</file>
@ -346,5 +346,6 @@
<file>scalable/export.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 961 KiB

View File

@ -40,5 +40,6 @@
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/shortcut.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@
<svg enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h32v32h-32z" fill="none"/><path d="m26 0h-20z" fill="none"/><path d="m6 0c-3.2999967 0-6 2.7000033-6 6v3 17c0 3.299997 2.7000033 6 6 6h20c3.299997 0 6-2.700003 6-6v-17-3c0-3.2999967-2.700003-6-6-6z" fill="#36c"/><path clip-rule="evenodd" d="m28 6c0-1.1-.9-2-2-2h-20c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2z" fill="#daeeff" fill-rule="evenodd"/><path clip-rule="evenodd" d="m6 17h20v6h-20z" fill="#666" fill-rule="evenodd"/><g stroke-linecap="square" stroke-width=".897262"><circle cx="22.75787" cy="20.021824" fill="#daeeff" r="1.5"/><path d="m10.302432 8.9999997h11.395136l4.302431 7.0000003h-19.9999982z" fill="#666"/></g></svg>

After

Width:  |  Height:  |  Size: 748 B

View File

@ -40,5 +40,6 @@
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/shortcut.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@
<svg enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h32v32h-32z" fill="none"/><path d="m26 0h-20z" fill="none"/><path d="m26 0h-20c-3.3 0-6 2.7-6 6v3h32v-3c0-3.3-2.7-6-6-6z" fill="#39b54a"/><path d="m0 26c0 3.3 2.7 6 6 6h20c3.3 0 6-2.7 6-6v-17h-32z" fill="#8c6239"/><path clip-rule="evenodd" d="m28 6c0-1.1-.9-2-2-2h-20c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2z" fill="#f2f2f2" fill-rule="evenodd"/><path clip-rule="evenodd" d="m6 17h20v6h-20z" fill="#666" fill-rule="evenodd"/><g stroke-linecap="square" stroke-width=".897262"><circle cx="22.75787" cy="20.021824" fill="#f2f2f2" r="1.5"/><path d="m10.302432 8.9999997h11.395136l4.302431 7.0000003h-19.9999982z" fill="#666"/></g></svg>

After

Width:  |  Height:  |  Size: 750 B

View File

@ -40,5 +40,6 @@
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/shortcut.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@
<svg enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h32v32h-32z" fill="none"/><path d="m26 0h-20z" fill="none"/><path d="m6 0c-3.2999967 0-6 2.7000033-6 6v3 17c0 3.299997 2.7000033 6 6 6h20c3.299997 0 6-2.700003 6-6v-17-3c0-3.2999967-2.700003-6-6-6z"/><path clip-rule="evenodd" d="m28 6c0-1.1-.9-2-2-2h-20c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2z" fill="#f2f2f2" fill-rule="evenodd"/><path clip-rule="evenodd" d="m6 17h20v6h-20z" fill="#666" fill-rule="evenodd"/><g stroke-linecap="square" stroke-width=".897262"><circle cx="22.75787" cy="20.021824" fill="#f2f2f2" r="1.5"/><path d="m10.302432 8.9999997h11.395136l4.302431 7.0000003h-19.9999982z" fill="#666"/></g></svg>

After

Width:  |  Height:  |  Size: 736 B

View File

@ -40,5 +40,6 @@
<file>scalable/rename.svg</file>
<file>scalable/launch.svg</file>
<file>scalable/shortcut.svg</file>
<file>scalable/server.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1 @@
<svg enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h32v32h-32z" fill="none"/><path d="m26 0h-20z" fill="none"/><path d="m6 0c-3.2999967 0-6 2.7000033-6 6v3 17c0 3.299997 2.7000033 6 6 6h20c3.299997 0 6-2.700003 6-6v-17-3c0-3.2999967-2.700003-6-6-6z" fill="#f2f2f2"/><path clip-rule="evenodd" d="m28 6c0-1.1-.9-2-2-2h-20c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2z" fill="#4d4d4d" fill-rule="evenodd"/><path clip-rule="evenodd" d="m6 17h20v6h-20z" fill="#fff" fill-rule="evenodd"/><g stroke-linecap="square" stroke-width=".897262"><circle cx="22.75787" cy="20.021824" fill="#4d4d4d" r="1.5"/><path d="m10.302432 8.9999997h11.395136l4.302431 7.0000003h-19.9999982z" fill="#fff"/></g></svg>

After

Width:  |  Height:  |  Size: 751 B

View File

@ -68,7 +68,7 @@ public:
}
virtual QIcon icon() const override
{
return APPLICATION->getThemedIcon("unknown_server");
return APPLICATION->getThemedIcon("server");
}
virtual QString id() const override
{