aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp b/src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp
index 2abd1f90..017eaf9f 100644
--- a/src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp
+++ b/src-qt5/core/lumina-desktop-unified/src-screensaver/animations/BaseAnimGroup.cpp
@@ -9,6 +9,9 @@
//Include all the known subclasses here, then add a unique ID for it to the functions at the bottom
//#include "SampleAnimation.h"
#include "Fireflies.h"
+#include "Grav.h"
+#include "SampleAnimation.h"
+#include "Text.h"
//==============================
// PLUGIN LOADING/LISTING
@@ -17,14 +20,16 @@ BaseAnimGroup* BaseAnimGroup::NewAnimation(QString type, QWidget *parent, QSetti
//This is where we place all the known plugin ID's, and load the associated subclass
if(type=="fireflies"){
return (new FirefliesAnimation(parent,set));
- /*}else if(type == "sample"){
- return (new SampleAnimation(parent, set));*/
- }else{
+ }else if(type == "grav") {
+ return (new GravAnimation(parent, set));
+ }else if(type == "text") {
+ return (new TextAnimation(parent, set));
+ }else {
//Unknown screensaver, return a blank animation group
return (new BaseAnimGroup(parent, set));
}
}
-
+
QStringList BaseAnimGroup::KnownAnimations(){
- return (QStringList() << "fireflies" << "none");
+ return (QStringList() << "fireflies" << "grav" << "text");
}
bgstack15