From d1e977a23f3cc436cc6bbebfde64e947d9a6d388 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Wed, 29 Apr 2020 13:26:23 +0100 Subject: [PATCH] Add nyancache bar. --- src/qml/UIComponents/VideoProgress.qml | 10 ++++++++++ src/qml/icons/nyancache.gif | Bin 0 -> 674 bytes src/qml/qml.qrc | 1 + 3 files changed, 11 insertions(+) create mode 100644 src/qml/icons/nyancache.gif diff --git a/src/qml/UIComponents/VideoProgress.qml b/src/qml/UIComponents/VideoProgress.qml index 48eddda..b9d2472 100644 --- a/src/qml/UIComponents/VideoProgress.qml +++ b/src/qml/UIComponents/VideoProgress.qml @@ -119,6 +119,15 @@ Slider { height: parent.height color: getAppearanceValueForTheme(appearance.themeName, "progressCachedColor") + AnimatedImage { + visible: fun.nyanCat + height: parent.height + id: nyancacheimation + smooth: false + anchors.fill: parent + source: "qrc:/icons/nyancache.gif" + fillMode: Image.TileHorizontally + } } } z: 40 @@ -184,6 +193,7 @@ Slider { paused: progressBar.pressed height: mainWindow.virtualHeight / 28 id: nyanimation + smooth: false anchors.centerIn: parent source: "qrc:/icons/nyancat.gif" fillMode: Image.PreserveAspectFit diff --git a/src/qml/icons/nyancache.gif b/src/qml/icons/nyancache.gif new file mode 100644 index 0000000000000000000000000000000000000000..cc18c7caf1bdd72ae581410b475566cf43a3c142 GIT binary patch literal 674 zcmZ?wbhEHbG+^LiXkcLAaV-D;|G(mYZa>$MU}whwS0gZ_ZzjA?I zXlL%dJ=LX>3r*@`GM7pIV!3i;)hC-$BwdU^U0TSx78m-3c3wWa=XZYQUADTE&MI}0 z0EgMfinh2R=>qvp9qcy+pbKXomz))b4<*91}CZyy^TdYzw&+S>C&@$V7+OsFUFIUaG7Qw(^4FKBz+7$o* literal 0 HcmV?d00001 diff --git a/src/qml/qml.qrc b/src/qml/qml.qrc index abcc0b4..261e3fa 100644 --- a/src/qml/qml.qrc +++ b/src/qml/qml.qrc @@ -75,6 +75,7 @@ icons/Niconico/forward.svg icons/Niconico/backward.svg icons/nyancat.gif + icons/nyancache.gif icons/rainbow.png