[vlc-commits] qml: add albums_cover and time icon to VLCIcons
jagannatharjun
git at videolan.org
Wed Jun 3 12:07:09 CEST 2020
vlc | branch: master | jagannatharjun <guptaprince8832 at gmail.com> | Fri May 15 16:15:08 2020 +0530| [c161e573dbe7a9022f707383a13a73c10237a21c] | committer: Pierre Lamot
qml: add albums_cover and time icon to VLCIcons
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c161e573dbe7a9022f707383a13a73c10237a21c
---
modules/gui/qt/Makefile.am | 4 +++-
modules/gui/qt/pixmaps/VLCIcons.json | 4 +++-
modules/gui/qt/pixmaps/VLCIcons.ttf | Bin 26804 -> 27892 bytes
modules/gui/qt/pixmaps/album_cover.svg | 1 +
modules/gui/qt/pixmaps/time.svg | 13 +++++++++++++
modules/gui/qt/style/VLCIcons.qml | 2 ++
6 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 60d61cae62..1fec9a1937 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -569,7 +569,9 @@ libqt_plugin_la_RES = \
gui/qt/pixmaps/ellipsis.svg \
gui/qt/pixmaps/topbar/grid.svg \
gui/qt/pixmaps/topbar/list.svg \
- gui/qt/pixmaps/cone.svg
+ gui/qt/pixmaps/cone.svg \
+ gui/qt/pixmaps/album_cover.svg \
+ gui/qt/pixmaps/time.svg
#QML and JS resources
libqt_plugin_la_QML = \
diff --git a/modules/gui/qt/pixmaps/VLCIcons.json b/modules/gui/qt/pixmaps/VLCIcons.json
index 40974b1790..62d53fa985 100644
--- a/modules/gui/qt/pixmaps/VLCIcons.json
+++ b/modules/gui/qt/pixmaps/VLCIcons.json
@@ -144,6 +144,8 @@
{"key":"close", "path": "./close.svg"},
{"key":"ellipsis", "path": "./ellipsis.svg"},
{"key":"grid", "path": "./topbar/grid.svg"},
- {"key":"list", "path": "./topbar/list.svg"}
+ {"key":"list", "path": "./topbar/list.svg"},
+ {"key":"album_cover", "path": "./album_cover.svg"},
+ {"key":"time", "path": "./time.svg"}
]
}
diff --git a/modules/gui/qt/pixmaps/VLCIcons.ttf b/modules/gui/qt/pixmaps/VLCIcons.ttf
index 7bee385d90..4fa9f3fcd0 100644
Binary files a/modules/gui/qt/pixmaps/VLCIcons.ttf and b/modules/gui/qt/pixmaps/VLCIcons.ttf differ
diff --git a/modules/gui/qt/pixmaps/album_cover.svg b/modules/gui/qt/pixmaps/album_cover.svg
new file mode 100755
index 0000000000..e80590ecef
--- /dev/null
+++ b/modules/gui/qt/pixmaps/album_cover.svg
@@ -0,0 +1 @@
+<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><title>Icon-Vinyl</title><path d="M20,22.6l-2.84-1a7.26,7.26,0,0,1,3.69-4.16l1.33,2.7A4.27,4.27,0,0,0,20,22.6Zm10.9,3.79L28,25.4a4.17,4.17,0,0,1-2.16,2.44l1.29,2.72A7.14,7.14,0,0,0,30.87,26.39ZM17.19,30.81a9.61,9.61,0,1,1,16.33-5.38c0,.31-.11.62-.18.93s-.17.6-.27.9c0,.14-.11.29-.17.43a9.37,9.37,0,0,1-.4.85,8.21,8.21,0,0,1-.48.81,8.41,8.41,0,0,1-.88,1.11l-.33.35a9.66,9.66,0,0,1-13.62,0ZM15.28,24a8.73,8.73,0,0,0,14.9,6.17A8.59,8.59,0,0,0,32.72,24a8.72,8.72,0,1,0-17.44,0ZM24,25.85A1.85,1.85,0,1,0,22.15,24,1.84,1.84,0,0,0,24,25.85ZM40,10.67V37.33A2.66,2.66,0,0,1,37.33,40H10.67A2.66,2.66,0,0,1,8,37.33V10.67A2.66,2.66,0,0,1,10.67,8H37.33A2.66,2.66,0,0,1,40,10.67Zm-2.67,0H10.67V37.33H37.33Z"/></svg>
\ No newline at end of file
diff --git a/modules/gui/qt/pixmaps/time.svg b/modules/gui/qt/pixmaps/time.svg
new file mode 100755
index 0000000000..f7a70d0d21
--- /dev/null
+++ b/modules/gui/qt/pixmaps/time.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
+<title>Icon-Time</title>
+<path d="M39.4,19.8c-0.4-1.3-0.9-2.6-1.6-3.8c-1.4-2.4-3.4-4.4-5.7-5.7c-1.2-0.7-2.5-1.2-3.8-1.6c-2.8-0.8-5.7-0.8-8.5,0
+ c-1.3,0.4-2.6,0.9-3.8,1.6c-2.4,1.4-4.4,3.4-5.7,5.7c-0.7,1.2-1.2,2.5-1.6,3.8c-0.8,2.8-0.8,5.7,0,8.5c0.4,1.3,0.9,2.6,1.6,3.8
+ c1.4,2.4,3.4,4.4,5.7,5.7c1.2,0.7,2.5,1.2,3.8,1.6c2.8,0.8,5.7,0.8,8.5,0c1.3-0.4,2.6-0.9,3.8-1.6c2.4-1.4,4.4-3.4,5.7-5.7
+ c0.7-1.2,1.2-2.5,1.6-3.8C40.2,25.5,40.2,22.5,39.4,19.8z M37.4,27.8L37.4,27.8c-0.2,1.2-0.7,2.3-1.3,3.3c-1.2,2.1-2.9,3.8-5,5
+ c-1,0.6-2.2,1.1-3.3,1.4c-2.4,0.7-5,0.7-7.4,0c-1.2-0.3-2.3-0.8-3.3-1.4c-2.1-1.2-3.8-2.9-5-5c-0.6-1-1.1-2.2-1.4-3.3
+ c-0.7-2.4-0.7-5,0-7.4c0.3-1.2,0.7-2.3,1.3-3.3c1.2-2.1,2.9-3.8,5-5c1-0.6,2.2-1.1,3.3-1.4c2.4-0.7,5-0.7,7.4,0
+ c1.2,0.3,2.3,0.8,3.3,1.4c2.1,1.2,3.8,2.9,5,5c0.6,1,1.1,2.2,1.4,3.3C38.1,22.8,38.1,25.3,37.4,27.8z M24,24h6v2h-8V14h2V24z"/>
+</svg>
diff --git a/modules/gui/qt/style/VLCIcons.qml b/modules/gui/qt/style/VLCIcons.qml
index 96af332b82..8f90c0cdda 100644
--- a/modules/gui/qt/style/VLCIcons.qml
+++ b/modules/gui/qt/style/VLCIcons.qml
@@ -158,5 +158,7 @@ Item {
property string ellipsis : "\ue08a"
property string grid : "\ue08b"
property string list : "\ue08c"
+ property string album_cover : "\ue08d"
+ property string time : "\ue08e"
}
\ No newline at end of file
More information about the vlc-commits
mailing list