From 2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 9 May 2017 19:23:52 -0300 Subject: Several solutions implemented --- Project/Gain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Gain.cpp') diff --git a/Project/Gain.cpp b/Project/Gain.cpp index faea89c..5f65c0c 100644 --- a/Project/Gain.cpp +++ b/Project/Gain.cpp @@ -167,3 +167,9 @@ void Gain::Move(wxPoint2DDouble position) SetPosition(m_movePos + position - m_moveStartPt); UpdatePoints(); } + +bool Gain::Solve(double input) +{ + m_output = input * m_value; + return true; +} -- cgit