I’d like to ask if, or propose a feature, that “using” functions be able to pass in arguments for variables (mostly for colors).
So, for instance, I have 2 different snippets of code, identical except for the COLOR value they use.
// Pusling Blade
using Style2_Pulsing = Pulsing<
TRANSPARENT,
RotateColorsX<Variation, RgbArg<ALT_COLOR2_ARG, Rgb<255, 255, 255>>>,
1200
>;
and
// Pusling Blade
using Style3_Pulsing = Pulsing<
TRANSPARENT,
RotateColorsX<Variation, RgbArg<ALT_COLOR3_ARG, Rgb<255, 255, 255>>>,
1200
>;
So, in my main blade style it is used like this:
ColorSelect<
IntArg<STYLE_OPTION2_ARG, 0>,
TrInstant,
Style2_Pulsing
>,
// Tirtiary blade Styles
ColorSelect<
IntArg<STYLE_OPTION3_ARG, 0>,
TrInstant,
Style3_Pulsing
>,
It would be cool If I could just use one “using” function and pass in the color used, like so:
// Pusling Blade
using Style_Pulsing = Pulsing(COLOR)<
TRANSPARENT,
RotateColorsX<Variation, COLOR>,
1200
>;
ColorSelect<
IntArg<STYLE_OPTION2_ARG, 0>,
TrInstant,
Style_Pulsing<RgbArg<ALT_COLOR2_ARG, Rgb<255, 255, 255>>>
>,
// Tirtiary blade Styles
ColorSelect<
IntArg<STYLE_OPTION3_ARG, 0>,
TrInstant,
Style_Pulsing<RgbArg<ALT_COLOR3_ARG, Rgb<255, 255, 255>>>
>,
Is such a thing currently possible? If not, could it be added?