Skip to content

Commit

Permalink
IanniX 0.9.11 RC1
Browse files Browse the repository at this point in the history
- rare bug with file saving fixed (not reproducible and not enough info
on bug — so fixed in theory)
- bug with abusive triggering while looping on a curve fixed
- new "factor of elasticity" parameter on curves (made with points -
not equations or circles -) making the curve "elastic" while moving
points
- new "Save As" and "Close" menus
  • Loading branch information
gjacquemin committed Aug 10, 2013
1 parent 82ecc97 commit ff8dddc
Show file tree
Hide file tree
Showing 16 changed files with 268 additions and 132 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion Examples/Shape with Xenakis Score.iannix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function addLine(lineIndex, start, end) {

/*
* //APP VERSION: NEVER EVER REMOVE THIS LINE
* Made with IanniX 0.9.0
* Made with IanniX 0.9.11
* //APP VERSION: NEVER EVER REMOVE THIS LINE
*/

Expand Down
2 changes: 1 addition & 1 deletion IanniX.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 2.7.1, 2013-08-06T12:53:09. -->
<!-- Written by QtCreator 2.7.1, 2013-08-09T18:09:40. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
Expand Down
11 changes: 8 additions & 3 deletions gui/uiinspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ UiInspector::UiInspector(QWidget *parent) :
Help::syncHelpWith(ui->depthSpin, COMMAND_CURSOR_DEPTH);
Help::syncHelpWith(ui->speedFSpin, COMMAND_CURSOR_SPEEDF);
Help::syncHelpWith(ui->speedSpin, COMMAND_CURSOR_SPEED);
Help::syncHelpWith(ui->intertiaSpin, COMMAND_CURVE_INERTIE);
Help::syncHelpWith(ui->cursorLengthSpin, COMMAND_CURSOR_SPEED);
Help::syncHelpWith(ui->triggerOffSpin, COMMAND_TRIGGER_OFF);
Help::syncHelpWith(ui->equationPoints, COMMAND_CURVE_EQUATION_POINTS);
Expand Down Expand Up @@ -303,6 +304,7 @@ void UiInspector::actionInfo() {
else if(ui->depthSpin == sender()) Application::current->execute(QString("%1 selection %2").arg(COMMAND_CURSOR_DEPTH).arg(ui->depthSpin->value()), ExecuteSourceGui);
else if(ui->speedFSpin == sender()) Application::current->execute(QString("%1 selection %2").arg(COMMAND_CURSOR_SPEEDF).arg(ui->speedFSpin->value()), ExecuteSourceGui);
else if(ui->speedSpin == sender()) Application::current->execute(QString("%1 selection %2").arg(COMMAND_CURSOR_SPEED).arg(ui->speedSpin->value()), ExecuteSourceGui);
else if(ui->intertiaSpin == sender()) Application::current->execute(QString("%1 selection %2").arg(COMMAND_CURVE_INERTIE).arg(ui->intertiaSpin->value()), ExecuteSourceGui);
else if(ui->triggerOffSpin == sender()) Application::current->execute(QString("%1 selection %2").arg(COMMAND_TRIGGER_OFF).arg(ui->triggerOffSpin->value()), ExecuteSourceGui);
else if(ui->pointsLists == sender()) Application::current->execute(QString("%1 selection 1").arg(COMMAND_CURVE_EDITOR), ExecuteSourceGui);
else if(ui->pointsResample == sender()) Application::current->execute(QString("%1 selection 1").arg(COMMAND_CURVE_RESAMPLE), ExecuteSourceGui);
Expand Down Expand Up @@ -616,6 +618,7 @@ void UiInspector::refresh() {

change(indexObject, ui->sizeWSpin, curve->getResize().width(), prevCurve->getResize().width());
change(indexObject, ui->sizeHSpin, curve->getResize().height(), prevCurve->getResize().height());
change(indexObject, ui->intertiaSpin, curve->getInertie(), prevCurve->getInertie());
change(indexObject, ui->equationPoints, curve->getEquationPoints(), prevCurve->getEquationPoints());
change(indexObject, ui->equationType0, curve->getEquationType()==0, prevCurve->getEquationType()==0);
change(indexObject, ui->equationType1, curve->getEquationType()==1, prevCurve->getEquationType()==1);
Expand Down Expand Up @@ -768,9 +771,11 @@ void UiInspector::refresh() {
ui->triggerOffLabel->setVisible(showTriggerInfo);
ui->triggerOffSpin->setVisible(showTriggerInfo);

ui->sizeHSpin->setVisible(showCurveInfo);
ui->sizeWSpin->setVisible(showCurveInfo);
ui->sizeLabel->setVisible(showCurveInfo);
ui->sizeHSpin->setVisible(showCurvePointsInfo);
ui->sizeWSpin->setVisible(showCurvePointsInfo);
ui->sizeLabel->setVisible(showCurvePointsInfo);
ui->intertiaSpin->setVisible(showCurvePointsInfo);
ui->intertiaLabel->setVisible(showCurvePointsInfo);
ui->pointsLabel->setVisible(showCurvePointsInfo);
ui->pointsLists->setVisible(showCurvePointsInfo);
ui->pointsResample->setVisible(showCurvePointsInfo);
Expand Down
Loading

0 comments on commit ff8dddc

Please sign in to comment.