-
Notifications
You must be signed in to change notification settings - Fork 5
/
miprobnzichru.cpp
67 lines (61 loc) · 2.24 KB
/
miprobnzichru.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* Copyright 2012, 2013 Gauthier Legrand
* Copyright 2012, 2013 Romuald Conty
*
* This file is part of Minotor.
*
* Minotor is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Minotor is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Minotor. If not, see <http://www.gnu.org/licenses/>.
*/
#include "miprobnzichru.h"
#include "minatext.h"
MiproBnzIchRU::MiproBnzIchRU(MinoProgramBank *bank) : MinoProgram(bank)
{
this->setLabel("BNZ - Ich R U");
MinoAnimationGroup *atBadg = new MinoAnimationGroup(this);
MinaText *atBad = new MinaText(atBadg);
atBad->setColor(QColor::fromHslF(0.08, 1.0, 0.5));
atBad->setLoopSize("1/4");
atBad->setDuration("1/2");
atBad->setGeneratorStyle("P:F T:R");
atBad->setText("BAD");
atBadg->addAnimation(atBad);
this->addAnimationGroup(atBadg);
MinoAnimationGroup *atUg = new MinoAnimationGroup(this);
MinaText *atU = new MinaText(atUg);
atU->setLoopSize("1/4");
atU->setDuration("1");
atU->setGeneratorStyle("P:F T:R");
atU->setColor(QColor::fromHslF(0.02, 1.0, 0.5));
atU->setText("U");
atUg->addAnimation(atU);
this->addAnimationGroup(atUg);
MinoAnimationGroup *atXg = new MinoAnimationGroup(this);
MinaText *atX = new MinaText(atXg);
atX->setLoopSize("1/4");
atX->setDuration("1");
atX->setGeneratorStyle("P:F T:R");
atX->setColor(QColor::fromHslF(0.2, 1.0, 0.5));
atX->setText("X");
atXg->addAnimation(atX);
this->addAnimationGroup(atXg);
MinoAnimationGroup *atRg = new MinoAnimationGroup(this);
MinaText *atR = new MinaText(atRg);
atR->setLoopSize("1/4");
atR->setDuration("1");
atR->setGeneratorStyle("P:F T:R");
atR->setColor(QColor::fromHslF(0.14, 1.0, 0.5));
atR->setText("R");
atRg->addAnimation(atR);
this->addAnimationGroup(atRg);
}