Skip to content

Commit e074400

Browse files
committed
Merge branch 'master' of https://github.com/profezzorn/ProffieOS
2 parents ce6a1f0 + 286b1fa commit e074400

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

styles/responsive_styles.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,16 @@ using ResponsiveClashL =
9999
// EFFECT = effect type, defaults to EFFECT_BLAST
100100

101101
template<class COLOR,
102-
int FADE = 400,
103-
int SIZE = 100,
104-
int SPEED = 400,
102+
class FADE = Int<400>,
103+
class SIZE = Int<100>,
104+
class SPEED = Int<400>,
105105
int TOP = 28000,
106106
int BOTTOM = 8000,
107107
BladeEffectType EFFECT = EFFECT_BLAST>
108108
using ResponsiveBlastL =
109109
AlphaL<
110110
MultiTransitionEffectL<
111-
TrWaveX<COLOR, Int<FADE>, Int<SIZE>, Int<SPEED>, Scale<BladeAngle<>, Int<TOP>, Int<BOTTOM>>>,
111+
TrWaveX<COLOR, FADE, SIZE, SPEED, Scale<BladeAngle<>, Int<TOP>, Int<BOTTOM>>>,
112112
EFFECT>,
113113
Bump<Scale<BladeAngle<>,Int<TOP>,Int<BOTTOM>>,Int<24000>>>;
114114

@@ -121,15 +121,15 @@ using ResponsiveBlastL =
121121
// EFFECT = effect type, defaults to EFFECT_BLAST
122122

123123
template<class COLOR,
124-
int FADE = 400,
125-
int SIZE = 100,
126-
int SPEED = 400,
124+
class FADE = Int<400>,
125+
class SIZE = Int<100>,
126+
class SPEED = Int<400>,
127127
int TOP = 28000,
128128
int BOTTOM = 8000,
129129
BladeEffectType EFFECT = EFFECT_BLAST>
130130
using ResponsiveBlastWaveL =
131131
MultiTransitionEffectL<
132-
TrWaveX<COLOR, Int<FADE>, Int<SIZE>, Int<SPEED>,
132+
TrWaveX<COLOR, FADE, SIZE, SPEED,
133133
Scale<BladeAngle<>,
134134
Int<TOP>,
135135
Int<BOTTOM>>>,
@@ -143,16 +143,16 @@ using ResponsiveBlastWaveL =
143143
// EFFECT = effect type, defaults to EFFECT_BLAST
144144

145145
template<class COLOR,
146-
int SIZE = 8000,
147-
int FADE = 400,
146+
class SIZE = Int<8000>,
147+
class FADE = Int<400>,
148148
int TOP = 28000,
149149
int BOTTOM = 8000,
150150
BladeEffectType EFFECT = EFFECT_BLAST>
151151
using ResponsiveBlastFadeL =
152152
MultiTransitionEffectL<
153153
TrConcat<TrInstant,
154-
AlphaL<COLOR, Bump<Scale<BladeAngle<>, Int<TOP>, Int<BOTTOM>>, Int<SIZE>>>,
155-
TrFade<FADE>>,
154+
AlphaL<COLOR, Bump<Scale<BladeAngle<>, Int<TOP>, Int<BOTTOM>>, SIZE>>,
155+
TrFadeX<FADE>>,
156156
EFFECT>;
157157

158158
// ResponsiveStabL<STAB COLOR, TRANSITION1, TRANSITION2, SIZE1, SIZE2>

0 commit comments

Comments
 (0)