From c6d815b6b11504be68d7a97df63cfef749624418 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 20 Dec 2017 20:45:35 -0200 Subject: Math expr GUI implemented --- Project/ControlElement.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Project/ControlElement.h') diff --git a/Project/ControlElement.h b/Project/ControlElement.h index 434e535..39e2dcf 100644 --- a/Project/ControlElement.h +++ b/Project/ControlElement.h @@ -102,7 +102,8 @@ class ControlElement : public Element virtual bool UpdateText() { return true; } virtual bool IsSolved() const { return m_solved; } virtual void SetSolved(bool solved = true) { m_solved = solved; } - virtual bool Solve(double input, double timeStep); + virtual bool Solve(double input, double timeStep, double currentTime); + virtual bool Initialize() { return true; } virtual double GetOutput() const { return m_output; } virtual void SetOutput(double output) { m_output = output; } protected: -- cgit