Parcourir la source

Move the qml presentation background to a more sensible location

Donald Carr il y a 8 ans
Parent
commit
31856043be

+ 1 - 0
qml/qmldir

@@ -7,3 +7,4 @@ ArtBoxBody 1.0 physics/ArtBoxBody.qml
 RectangleBoxBody 1.0 physics/RectangleBoxBody.qml
 BoxBody 1.0 physics/BoxBody.qml
 FPSMonitor 1.0 widget/FPSMonitor.qml
+BackgroundSwirls 1.0 3rdparty/backdrops/qml-presentation-visuals/BackgroundSwirls.qml

+ 1 - 1
resources/3rdparty/animatedBackground/BackgroundSwirls.qml → resources/3rdparty/backdrops/qml-presentation-visuals/BackgroundSwirls.qml

@@ -98,7 +98,7 @@ Item {
     ImageParticle{
         anchors.fill: parent
         system: particles
-        source: "qrc:/3rdparty/animatedBackground/particle.png"
+        source: "particle.png"
         alpha: 0
         colorVariation: 0.3
     }

+ 0 - 0
resources/3rdparty/animatedBackground/Swirl.qml → resources/3rdparty/backdrops/qml-presentation-visuals/Swirl.qml


+ 0 - 0
resources/3rdparty/animatedBackground/particle.png → resources/3rdparty/backdrops/qml-presentation-visuals/particle.png


+ 3 - 3
resources/resources.qrc

@@ -7,8 +7,8 @@
         <file>shaders/emboss.fsh</file>
         <file>shaders/gaussianblur_h.fsh</file>
         <file>shaders/gaussianblur_v.fsh</file>
-        <file>3rdparty/animatedBackground/Swirl.qml</file>
-        <file>3rdparty/animatedBackground/particle.png</file>
-        <file>3rdparty/animatedBackground/BackgroundSwirls.qml</file>
+        <file>3rdparty/backdrops/qml-presentation-visuals/Swirl.qml</file>
+        <file>3rdparty/backdrops/qml-presentation-visuals/BackgroundSwirls.qml</file>
+        <file>3rdparty/backdrops/qml-presentation-visuals/particle.png</file>
     </qresource>
 </RCC>