summaryrefslogtreecommitdiffstats
path: root/Project/ControlElement.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
commitc6d815b6b11504be68d7a97df63cfef749624418 (patch)
tree750161c22282c781ab9c62fec84c8de50dfb230f /Project/ControlElement.h
parent54bb80251432ff49c967115f8401e7dafc5c57d6 (diff)
downloadPSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.gz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.xz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.zip
Math expr GUI implemented
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r--Project/ControlElement.h3
1 files changed, 2 insertions, 1 deletions
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: