diff options
Diffstat (limited to 'Project/Gain.cpp')
-rw-r--r-- | Project/Gain.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Gain.cpp b/Project/Gain.cpp index 8962bf8..8851863 100644 --- a/Project/Gain.cpp +++ b/Project/Gain.cpp @@ -188,3 +188,10 @@ Element* Gain::GetCopy() copy->m_glText = m_glText->GetCopy(); return copy; } + +bool Gain::UpdateText() +{ + SetValue(m_value); + if(!m_glText->IsTextureOK()) return false; + return true; +} |