summaryrefslogtreecommitdiffstats
path: root/resources/stock_icons
diff options
context:
space:
mode:
Diffstat (limited to 'resources/stock_icons')
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_1.pngbin0 -> 452 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_1@2x.pngbin0 -> 638 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_2.pngbin0 -> 454 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_2@2x.pngbin0 -> 640 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_3.pngbin0 -> 451 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_3@2x.pngbin0 -> 635 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_4.pngbin0 -> 451 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_4@2x.pngbin0 -> 617 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_5.pngbin0 -> 440 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_5@2x.pngbin0 -> 624 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_6.pngbin0 -> 437 bytes
-rw-r--r--resources/stock_icons/16x16/x-reset-layout_6@2x.pngbin0 -> 601 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_1.pngbin0 -> 510 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_1@2x.pngbin0 -> 700 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_2.pngbin0 -> 511 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_2@2x.pngbin0 -> 699 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_3.pngbin0 -> 512 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_3@2x.pngbin0 -> 699 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_4.pngbin0 -> 518 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_4@2x.pngbin0 -> 699 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_5.pngbin0 -> 510 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_5@2x.pngbin0 -> 712 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_6.pngbin0 -> 491 bytes
-rw-r--r--resources/stock_icons/24x24/x-reset-layout_6@2x.pngbin0 -> 693 bytes
-rw-r--r--resources/stock_icons/layouts-to-png.sh140
25 files changed, 140 insertions, 0 deletions
diff --git a/resources/stock_icons/16x16/x-reset-layout_1.png b/resources/stock_icons/16x16/x-reset-layout_1.png
new file mode 100644
index 00000000..8e056c44
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_1.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_1@2x.png b/resources/stock_icons/16x16/x-reset-layout_1@2x.png
new file mode 100644
index 00000000..bbbb3a2d
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_1@2x.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_2.png b/resources/stock_icons/16x16/x-reset-layout_2.png
new file mode 100644
index 00000000..a2b8acb1
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_2.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_2@2x.png b/resources/stock_icons/16x16/x-reset-layout_2@2x.png
new file mode 100644
index 00000000..14e5c247
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_2@2x.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_3.png b/resources/stock_icons/16x16/x-reset-layout_3.png
new file mode 100644
index 00000000..b835fb46
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_3.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_3@2x.png b/resources/stock_icons/16x16/x-reset-layout_3@2x.png
new file mode 100644
index 00000000..0c7c3efb
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_3@2x.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_4.png b/resources/stock_icons/16x16/x-reset-layout_4.png
new file mode 100644
index 00000000..5ecac905
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_4.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_4@2x.png b/resources/stock_icons/16x16/x-reset-layout_4@2x.png
new file mode 100644
index 00000000..a449a4c1
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_4@2x.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_5.png b/resources/stock_icons/16x16/x-reset-layout_5.png
new file mode 100644
index 00000000..cbf99942
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_5.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_5@2x.png b/resources/stock_icons/16x16/x-reset-layout_5@2x.png
new file mode 100644
index 00000000..522a0ede
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_5@2x.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_6.png b/resources/stock_icons/16x16/x-reset-layout_6.png
new file mode 100644
index 00000000..6951bda7
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_6.png
Binary files differ
diff --git a/resources/stock_icons/16x16/x-reset-layout_6@2x.png b/resources/stock_icons/16x16/x-reset-layout_6@2x.png
new file mode 100644
index 00000000..3b701164
--- /dev/null
+++ b/resources/stock_icons/16x16/x-reset-layout_6@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_1.png b/resources/stock_icons/24x24/x-reset-layout_1.png
new file mode 100644
index 00000000..b7be82f2
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_1.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_1@2x.png b/resources/stock_icons/24x24/x-reset-layout_1@2x.png
new file mode 100644
index 00000000..fdcb5f78
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_1@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_2.png b/resources/stock_icons/24x24/x-reset-layout_2.png
new file mode 100644
index 00000000..8d3287ef
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_2.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_2@2x.png b/resources/stock_icons/24x24/x-reset-layout_2@2x.png
new file mode 100644
index 00000000..ccc880a0
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_2@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_3.png b/resources/stock_icons/24x24/x-reset-layout_3.png
new file mode 100644
index 00000000..d91a272e
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_3.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_3@2x.png b/resources/stock_icons/24x24/x-reset-layout_3@2x.png
new file mode 100644
index 00000000..1ae62fdf
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_3@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_4.png b/resources/stock_icons/24x24/x-reset-layout_4.png
new file mode 100644
index 00000000..8dae8c37
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_4.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_4@2x.png b/resources/stock_icons/24x24/x-reset-layout_4@2x.png
new file mode 100644
index 00000000..465c918c
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_4@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_5.png b/resources/stock_icons/24x24/x-reset-layout_5.png
new file mode 100644
index 00000000..19909572
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_5.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_5@2x.png b/resources/stock_icons/24x24/x-reset-layout_5@2x.png
new file mode 100644
index 00000000..746b0965
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_5@2x.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_6.png b/resources/stock_icons/24x24/x-reset-layout_6.png
new file mode 100644
index 00000000..8538d445
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_6.png
Binary files differ
diff --git a/resources/stock_icons/24x24/x-reset-layout_6@2x.png b/resources/stock_icons/24x24/x-reset-layout_6@2x.png
new file mode 100644
index 00000000..218190c5
--- /dev/null
+++ b/resources/stock_icons/24x24/x-reset-layout_6@2x.png
Binary files differ
diff --git a/resources/stock_icons/layouts-to-png.sh b/resources/stock_icons/layouts-to-png.sh
new file mode 100644
index 00000000..4572652c
--- /dev/null
+++ b/resources/stock_icons/layouts-to-png.sh
@@ -0,0 +1,140 @@
+#!/bin/bash
+# layouts-to-png
+# Convert SVG files to 1x and 2x PNGs. Dump a list of Qt resource
+# file entries upon successful completion.
+#
+# Copyright 2014 Gerald Combs <gerald [AT] wireshark.org>
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 1998 Gerald Combs
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# COMMON_ARGS="--export-area-page"
+
+#SVGCLEANER=$( type -p svgcleaner )
+
+# Running on WSL. Set as needed for Mac/linux.
+INKSCAPE_EXE="inkscape.com"
+
+ICONS="
+ layout_1
+ layout_2
+ layout_3
+ layout_4
+ layout_5
+ layout_6
+ "
+
+if [ -n "$*" ] ; then
+ ICONS="$*"
+fi
+
+QRC_FILES=""
+
+for SIZE in 16x16 24x24 ; do
+ WIDTH=${SIZE/x*/}
+ HEIGHT=${SIZE/*x/}
+ SIZE_DIR=${SIZE}
+
+ TWO_X_WIDTH=$(( WIDTH * 2 ))
+ TWO_X_HEIGHT=$(( HEIGHT * 2 ))
+ ONE_X_ARGS="--export-width=${WIDTH} --export-height=${HEIGHT}"
+ TWO_X_ARGS="--export-width=${TWO_X_WIDTH} --export-height=${TWO_X_HEIGHT}"
+
+ echo "Converting $SIZE_DIR"
+ cd $SIZE_DIR || exit 1
+
+ for ICON in $ICONS ; do
+ echo "Converting $ICON"
+
+ ONE_X_SVG="../../layouts.svg"
+ TWO_X_SVG=$ONE_X_SVG
+
+ ICONNAME="x-reset-$ICON"
+ ONE_X_PNG=${ICONNAME}.png
+ TWO_X_PNG=${ICONNAME}@2x.png
+
+ if [ "$ONE_X_SVG" -nt "$ONE_X_PNG" ] ; then
+ # shellcheck disable=SC2086
+ $INKSCAPE_EXE $COMMON_ARGS $ONE_X_ARGS --export-id="$ICON" \
+ --export-filename="$ONE_X_PNG" $ONE_X_SVG || exit 1
+ QRC_FILES="${QRC_FILES} ${SIZE_DIR}/${ONE_X_PNG}"
+ fi
+
+ if [ "$TWO_X_SVG" -nt "$TWO_X_PNG" ] ; then
+ # shellcheck disable=SC2086
+ $INKSCAPE_EXE $COMMON_ARGS $TWO_X_ARGS --export-id="$ICON" \
+ --export-filename="$TWO_X_PNG" $TWO_X_SVG || exit 1
+ QRC_FILES="${QRC_FILES} ${SIZE_DIR}/${TWO_X_PNG}"
+ fi
+
+ done
+
+ cd ..
+
+done
+
+for QRC_FILE in $QRC_FILES ; do
+ echo " <file>stock_icons/${QRC_FILE}</file>"
+done
+
+echo "--------------------------------------"
+QRC_FILES=""
+
+for SIZE in 48x48 96x96 ; do
+ WIDTH=${SIZE/x*/}
+ HEIGHT=${SIZE/*x/}
+ OUT_DIR=".."
+
+ TWO_X_WIDTH=$(( WIDTH * 2 ))
+ TWO_X_HEIGHT=$(( HEIGHT * 2 ))
+ ONE_X_ARGS="--export-width=${WIDTH} --export-height=${HEIGHT}"
+ TWO_X_ARGS="--export-width=${TWO_X_WIDTH} --export-height=${TWO_X_HEIGHT}"
+
+ echo "Converting $OUT_DIR"
+
+ for ICON in $ICONS ; do
+ echo "Converting $ICON"
+
+ ONE_X_SVG=${OUT_DIR}/layouts.svg
+ TWO_X_SVG=$ONE_X_SVG
+
+ ICONNAME="$ICON"
+ ONE_X_PNG=${OUT_DIR}/${ICONNAME}.png
+ TWO_X_PNG=${OUT_DIR}/${ICONNAME}@2x.png
+
+ if [ "$ONE_X_SVG" -nt "$ONE_X_PNG" ] ; then
+ # shellcheck disable=SC2086
+ $INKSCAPE_EXE $COMMON_ARGS $ONE_X_ARGS --export-id="$ICON" \
+ --export-filename="$ONE_X_PNG" $ONE_X_SVG || exit 1
+ QRC_FILES="${QRC_FILES} ${ICONNAME}.png"
+ fi
+
+ if [ "$TWO_X_SVG" -nt "$TWO_X_PNG" ] ; then
+ # shellcheck disable=SC2086
+ $INKSCAPE_EXE $COMMON_ARGS $TWO_X_ARGS --export-id="$ICON" \
+ --export-filename="$TWO_X_PNG" $TWO_X_SVG || exit 1
+ QRC_FILES="${QRC_FILES} ${ICONNAME}@2x.png"
+ fi
+
+ done
+
+done
+
+for QRC_FILE in $QRC_FILES ; do
+ echo " <file>${QRC_FILE}</file>"
+done
+#
+# Editor modelines - https://www.wireshark.org/tools/modelines.html
+#
+# Local variables:
+# c-basic-offset: 4
+# tab-width: 8
+# indent-tabs-mode: nil
+# End:
+#
+# vi: set shiftwidth=4 tabstop=8 expandtab:
+# :indentSize=4:tabSize=8:noTabs=true:
+#