Slightly change icons in isle-config for si loader extension (#668)

* Begin work on adding SI extension to cfg tool

* Finish work on adding `si loader` extension

* Add tooltip

* Replace symbols with unicode, other misc fixes

* Update "version" to 2.0, other small CLI changes

* Replace icons, other misc small changes

* Slightly reduce button size
This commit is contained in:
VoxelTek 2025-08-12 12:33:45 +10:00 committed by GitHub
parent 2ccf09d429
commit 5c99921bfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 86 additions and 25 deletions

46
CONFIG/res/add.svg Normal file
View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 16 16"
version="1.1"
id="svg1"
sodipodi:docname="add.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
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">
<sodipodi:namedview
id="namedview1"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="21.496181"
inkscape:cx="-4.2333101"
inkscape:cy="11.141514"
inkscape:window-width="1920"
inkscape:window-height="1008"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs3051">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
}
</style>
</defs>
<path
style="fill:#27ae60;fill-opacity:1;stroke:none;stroke-width:0.999911"
d="M 7,3 V 8 H 2 v 1 h 5 v 5 H 8 V 9 h 5 V 8 H 8 V 3 Z"
class="ColorScheme-Text"
id="path1"
sodipodi:nodetypes="ccccccccccccc" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,7 +1,9 @@
<RCC>
<qresource prefix="/">
<file>shark.png</file>
<file>lego1.png</file>
<file>lego2.png</file>
</qresource>
</RCC>
<qresource prefix="/">
<file>add.svg</file>
<file>remove.svg</file>
<file>shark.png</file>
<file>lego1.png</file>
<file>lego2.png</file>
</qresource>
</RCC>

View File

@ -1145,23 +1145,24 @@ The game will gradually increase the number of actors until this maximum is reac
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
<stylestrategy>NoAntialias</stylestrategy>
</font>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Add path.</string>
</property>
<property name="text">
<string></string>
<property name="icon">
<iconset resource="config.qrc">
<normaloff>:/add.svg</normaloff>:/add.svg</iconset>
</property>
</widget>
</item>
@ -1185,22 +1186,24 @@ Double-click a path to edit it.</string>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
<property name="maximumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Remove path.</string>
</property>
<property name="text">
<string>✕</string>
<property name="icon">
<iconset resource="config.qrc">
<normaloff>:/remove.svg</normaloff>:/remove.svg</iconset>
</property>
</widget>
</item>

10
CONFIG/res/remove.svg Normal file
View File

@ -0,0 +1,10 @@
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-NegativeText {
color:#da4453;
}
</style>
<path class="ColorScheme-NegativeText" d="M 2.6992188,2 2,2.6992188 7.3007812,8 2,13.300781 C 2,13.300781 2.7082187,13.995 2.6992188,14 L 8,8.6992188 13.300781,14 C 13.291781,13.995 14,13.300781 14,13.300781 L 8.6992188,8 14,2.6992188 13.300781,2 8,7.3007812 Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 526 B