-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function Wizard: create Effects #1649
base: master
Are you sure you want to change the base?
Conversation
Hi, this doesn't build. |
ui/src/palettegenerator.cpp
Outdated
{ | ||
EFX *efx = new EFX(m_doc); | ||
|
||
QString modeString = (new QString[]{KXMLQLCEFXFixtureModePanTilt, KXMLQLCEFXFixtureModeDimmer, KXMLQLCEFXFixtureModeRGB})[mode]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the line that fails to build. Can you just use a QStringList?
i fixed it i did not see that EFXFixture has a modeToString function i removed the line and used this function instead |
ui/src/palettegenerator.cpp
Outdated
@@ -561,6 +630,15 @@ void PaletteGenerator::createFunctions(PaletteGenerator::PaletteType type, | |||
if (m_redList.size() > 1 && m_greenList.size() == m_redList.size() && m_blueList.size() == m_redList.size()) | |||
createRGBMatrices(m_redList); | |||
} | |||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation please
ui/src/palettegenerator.cpp
Outdated
@@ -102,6 +104,7 @@ QString PaletteGenerator::typetoString(PaletteGenerator::PaletteType type) | |||
case Gobos: return tr("Gobo macros"); | |||
case ColourMacro: return tr("Colour macros"); | |||
case Animation: return tr("Animations"); | |||
case Effect: return tr("Effects"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not "EFX"? Users are used to that term
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will rename it
0d97a33
to
1324743
Compare
Hi,
I added the possibility to create Effects with the Function Wizard
What types of effects arc creates is determined by the fixture capabilities (Dimmer, RGB, Position).
for each type a normal and a staggered version (start offset spread equally) will be created.