1
0
Fork 0

Add nyancache bar.

This commit is contained in:
namedkitten 2020-04-29 13:26:23 +01:00
parent d87dc4e066
commit d1e977a23f
3 changed files with 11 additions and 0 deletions

View file

@ -119,6 +119,15 @@ Slider {
height: parent.height height: parent.height
color: getAppearanceValueForTheme(appearance.themeName, color: getAppearanceValueForTheme(appearance.themeName,
"progressCachedColor") "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 z: 40
@ -184,6 +193,7 @@ Slider {
paused: progressBar.pressed paused: progressBar.pressed
height: mainWindow.virtualHeight / 28 height: mainWindow.virtualHeight / 28
id: nyanimation id: nyanimation
smooth: false
anchors.centerIn: parent anchors.centerIn: parent
source: "qrc:/icons/nyancat.gif" source: "qrc:/icons/nyancat.gif"
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit

BIN
src/qml/icons/nyancache.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

View file

@ -75,6 +75,7 @@
<file>icons/Niconico/forward.svg</file> <file>icons/Niconico/forward.svg</file>
<file>icons/Niconico/backward.svg</file> <file>icons/Niconico/backward.svg</file>
<file>icons/nyancat.gif</file> <file>icons/nyancat.gif</file>
<file>icons/nyancache.gif</file>
<file>icons/rainbow.png</file> <file>icons/rainbow.png</file>
</qresource> </qresource>
</RCC> </RCC>