From: John Stebbins Date: Sun, 24 Dec 2017 00:13:56 +0000 (-0800) Subject: LinGui: add support for alternate icons X-Git-Tag: 1.1.0~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8b6c1c4355e0e20c586d028c7be483ba1f7eb57;p=handbrake LinGui: add support for alternate icons GTK will use lower res icons if available for lower res screens. --- diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am index 6378b90ce..9468dd616 100644 --- a/gtk/src/Makefile.am +++ b/gtk/src/Makefile.am @@ -4,18 +4,36 @@ icons = \ hb-icon.svg icons_dep = \ - hb-icon.svg \ - hb-start.svg \ - hb-pause.svg \ - hb-stop.svg \ - hb-add-queue.svg \ - hb-showqueue.svg \ - hb-picture.svg \ - hb-activity.svg \ - hb-source.svg \ - hb-remove.svg \ - hb-edit.svg \ - hb-complete.svg + icons/24x24/apps/hb-remove.png \ + icons/32x32/apps/hb-source.png \ + icons/32x32/apps/hb-picture.png \ + icons/32x32/apps/hb-add-queue.png \ + icons/32x32/apps/hb-showqueue.png \ + icons/32x32/apps/hb-activity.png \ + icons/32x32/apps/hb-start.png \ + icons/32x32/apps/hb-stop.png \ + icons/32x32/apps/hb-pause.png \ + icons/48x48/apps/hb-remove.png \ + icons/64x64/apps/hb-source.png \ + icons/64x64/apps/hb-picture.png \ + icons/64x64/apps/hb-add-queue.png \ + icons/64x64/apps/hb-showqueue.png \ + icons/64x64/apps/hb-activity.png \ + icons/64x64/apps/hb-start.png \ + icons/64x64/apps/hb-stop.png \ + icons/64x64/apps/hb-pause.png \ + icons/scalable/apps/hb-source.svg \ + icons/scalable/apps/hb-picture.svg \ + icons/scalable/apps/hb-add-queue.svg \ + icons/scalable/apps/hb-showqueue.svg \ + icons/scalable/apps/hb-activity.svg \ + icons/scalable/apps/hb-start.svg \ + icons/scalable/apps/hb-stop.svg \ + icons/scalable/apps/hb-pause.svg \ + icons/scalable/apps/hb-remove.svg \ + icons/scalable/apps/hb-complete.svg \ + icons/scalable/apps/hb-edit.svg \ + icons/scalable/apps/hb-icon.svg if GHB_FLATPAK icons += fr.handbrake.ghb.svg diff --git a/gtk/src/icon_res.gresource.xml b/gtk/src/icon_res.gresource.xml index abfd4c2e6..8d6d1e16f 100644 --- a/gtk/src/icon_res.gresource.xml +++ b/gtk/src/icon_res.gresource.xml @@ -1,17 +1,35 @@ - - hb-activity.svg - hb-add-queue.svg - hb-complete.svg - hb-edit.svg - hb-icon.svg - hb-pause.svg - hb-picture.svg - hb-remove.svg - hb-showqueue.svg - hb-source.svg - hb-start.svg - hb-stop.svg + + icons/24x24/apps/hb-remove.png + icons/32x32/apps/hb-source.png + icons/32x32/apps/hb-picture.png + icons/32x32/apps/hb-add-queue.png + icons/32x32/apps/hb-showqueue.png + icons/32x32/apps/hb-activity.png + icons/32x32/apps/hb-start.png + icons/32x32/apps/hb-stop.png + icons/32x32/apps/hb-pause.png + icons/48x48/apps/hb-remove.png + icons/64x64/apps/hb-source.png + icons/64x64/apps/hb-picture.png + icons/64x64/apps/hb-add-queue.png + icons/64x64/apps/hb-showqueue.png + icons/64x64/apps/hb-activity.png + icons/64x64/apps/hb-start.png + icons/64x64/apps/hb-stop.png + icons/64x64/apps/hb-pause.png + icons/scalable/apps/hb-source.svg + icons/scalable/apps/hb-picture.svg + icons/scalable/apps/hb-add-queue.svg + icons/scalable/apps/hb-showqueue.svg + icons/scalable/apps/hb-activity.svg + icons/scalable/apps/hb-start.svg + icons/scalable/apps/hb-stop.svg + icons/scalable/apps/hb-pause.svg + icons/scalable/apps/hb-remove.svg + icons/scalable/apps/hb-complete.svg + icons/scalable/apps/hb-edit.svg + icons/scalable/apps/hb-icon.svg diff --git a/gtk/src/icons/24x24/apps/hb-remove.png b/gtk/src/icons/24x24/apps/hb-remove.png new file mode 100644 index 000000000..9407e400b Binary files /dev/null and b/gtk/src/icons/24x24/apps/hb-remove.png differ diff --git a/gtk/src/icons/32x32/apps/hb-activity.png b/gtk/src/icons/32x32/apps/hb-activity.png new file mode 100644 index 000000000..2589bc085 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-activity.png differ diff --git a/gtk/src/icons/32x32/apps/hb-add-queue.png b/gtk/src/icons/32x32/apps/hb-add-queue.png new file mode 100644 index 000000000..4ac073682 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-add-queue.png differ diff --git a/gtk/src/icons/32x32/apps/hb-pause.png b/gtk/src/icons/32x32/apps/hb-pause.png new file mode 100644 index 000000000..bd318db00 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-pause.png differ diff --git a/gtk/src/icons/32x32/apps/hb-picture.png b/gtk/src/icons/32x32/apps/hb-picture.png new file mode 100644 index 000000000..bb57b35b4 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-picture.png differ diff --git a/gtk/src/icons/32x32/apps/hb-showqueue.png b/gtk/src/icons/32x32/apps/hb-showqueue.png new file mode 100644 index 000000000..cf586b0f9 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-showqueue.png differ diff --git a/gtk/src/icons/32x32/apps/hb-source.png b/gtk/src/icons/32x32/apps/hb-source.png new file mode 100644 index 000000000..128edda8c Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-source.png differ diff --git a/gtk/src/icons/32x32/apps/hb-start.png b/gtk/src/icons/32x32/apps/hb-start.png new file mode 100644 index 000000000..2f581354c Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-start.png differ diff --git a/gtk/src/icons/32x32/apps/hb-stop.png b/gtk/src/icons/32x32/apps/hb-stop.png new file mode 100644 index 000000000..e94a4a728 Binary files /dev/null and b/gtk/src/icons/32x32/apps/hb-stop.png differ diff --git a/gtk/src/icons/48x48/apps/hb-remove.png b/gtk/src/icons/48x48/apps/hb-remove.png new file mode 100644 index 000000000..9e01d9c3f Binary files /dev/null and b/gtk/src/icons/48x48/apps/hb-remove.png differ diff --git a/gtk/src/icons/64x64/apps/hb-activity.png b/gtk/src/icons/64x64/apps/hb-activity.png new file mode 100644 index 000000000..8c9f5631a Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-activity.png differ diff --git a/gtk/src/icons/64x64/apps/hb-add-queue.png b/gtk/src/icons/64x64/apps/hb-add-queue.png new file mode 100644 index 000000000..833dd0407 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-add-queue.png differ diff --git a/gtk/src/icons/64x64/apps/hb-pause.png b/gtk/src/icons/64x64/apps/hb-pause.png new file mode 100644 index 000000000..313e554d8 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-pause.png differ diff --git a/gtk/src/icons/64x64/apps/hb-picture.png b/gtk/src/icons/64x64/apps/hb-picture.png new file mode 100644 index 000000000..afb153b09 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-picture.png differ diff --git a/gtk/src/icons/64x64/apps/hb-showqueue.png b/gtk/src/icons/64x64/apps/hb-showqueue.png new file mode 100644 index 000000000..f682dc0e3 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-showqueue.png differ diff --git a/gtk/src/icons/64x64/apps/hb-source.png b/gtk/src/icons/64x64/apps/hb-source.png new file mode 100644 index 000000000..9afc3cf67 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-source.png differ diff --git a/gtk/src/icons/64x64/apps/hb-start.png b/gtk/src/icons/64x64/apps/hb-start.png new file mode 100644 index 000000000..d1b3960df Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-start.png differ diff --git a/gtk/src/icons/64x64/apps/hb-stop.png b/gtk/src/icons/64x64/apps/hb-stop.png new file mode 100644 index 000000000..1e980f0b4 Binary files /dev/null and b/gtk/src/icons/64x64/apps/hb-stop.png differ diff --git a/gtk/src/icons/scalable/apps/hb-activity.svg b/gtk/src/icons/scalable/apps/hb-activity.svg new file mode 100644 index 000000000..13f719a19 --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-activity.svg @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-add-queue.svg b/gtk/src/icons/scalable/apps/hb-add-queue.svg new file mode 100644 index 000000000..2cef9973b --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-add-queue.svg @@ -0,0 +1,21 @@ + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-complete.svg b/gtk/src/icons/scalable/apps/hb-complete.svg new file mode 100644 index 000000000..9ac9261fa --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-complete.svg @@ -0,0 +1,112 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + ✔ + diff --git a/gtk/src/icons/scalable/apps/hb-edit.svg b/gtk/src/icons/scalable/apps/hb-edit.svg new file mode 100644 index 000000000..448dddebe --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-edit.svg @@ -0,0 +1,129 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-icon.svg b/gtk/src/icons/scalable/apps/hb-icon.svg new file mode 100644 index 000000000..bec39896c --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-icon.svg @@ -0,0 +1,38849 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-pause.svg b/gtk/src/icons/scalable/apps/hb-pause.svg new file mode 100644 index 000000000..d1aae4174 --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-pause.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-picture.svg b/gtk/src/icons/scalable/apps/hb-picture.svg new file mode 100644 index 000000000..eeddbfb7a --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-picture.svg @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-remove.svg b/gtk/src/icons/scalable/apps/hb-remove.svg new file mode 100644 index 000000000..3884f46cf --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-remove.svg @@ -0,0 +1,223 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-showqueue.svg b/gtk/src/icons/scalable/apps/hb-showqueue.svg new file mode 100644 index 000000000..af871f9e5 --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-showqueue.svg @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-source.svg b/gtk/src/icons/scalable/apps/hb-source.svg new file mode 100644 index 000000000..449a4472a --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-source.svg @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-start.svg b/gtk/src/icons/scalable/apps/hb-start.svg new file mode 100644 index 000000000..d718e503f --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-start.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gtk/src/icons/scalable/apps/hb-stop.svg b/gtk/src/icons/scalable/apps/hb-stop.svg new file mode 100644 index 000000000..fe6078c63 --- /dev/null +++ b/gtk/src/icons/scalable/apps/hb-stop.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + +