[apps/sequence][apps/graph] Keep the angle unit version in snapshot

Change-Id: Ib907531c78feae6ba8155ae3be3b8fb13fdebea2
This commit is contained in:
Émilie Feral
2017-08-25 14:02:03 +02:00
parent fdf1d23248
commit eea1928ac9
10 changed files with 23 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ namespace Shared {
class FunctionGraphController : public InteractiveCurveViewController, public InteractiveCurveViewRangeDelegate {
public:
FunctionGraphController(Responder * parentResponder, ButtonRowController * header, InteractiveCurveViewRange * interactiveRange, CurveView * curveView, CurveViewCursor * cursor, uint32_t * modelVersion, uint32_t * rangeVersion);
FunctionGraphController(Responder * parentResponder, ButtonRowController * header, InteractiveCurveViewRange * interactiveRange, CurveView * curveView, CurveViewCursor * cursor, uint32_t * modelVersion, uint32_t * rangeVersion, Poincare::Expression::AngleUnit * angleUnitVersion);
bool isEmpty() const override;
ViewController * initialisationParameterController() override;
void viewWillAppear() override;
@@ -44,7 +44,7 @@ private:
virtual FunctionGraphView * functionGraphView() = 0;
virtual FunctionCurveParameterController * curveParameterController() = 0;
InitialisationParameterController m_initialisationParameterController;
Poincare::Expression::AngleUnit m_angleUnitVersion;
Poincare::Expression::AngleUnit * m_angleUnitVersion;
};
}