summaryrefslogtreecommitdiffstats
path: root/Project/Gain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Gain.cpp')
-rw-r--r--Project/Gain.cpp6
1 files changed, 6 insertions, 0 deletions
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;
+}