summaryrefslogtreecommitdiffstats
path: root/Project/TransferFunction.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-27 19:57:18 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-27 19:57:18 -0200
commit10bb7105946bc0a892a9daf42ec5181ad9994fcf (patch)
tree5b27234c7b0c9ababde2a1dcca2d95c5149770cc /Project/TransferFunction.h
parent15df77aa461ecea7344cce5e736ebee9fb943a9b (diff)
downloadPSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.tar.gz
PSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.tar.xz
PSP.git-10bb7105946bc0a892a9daf42ec5181ad9994fcf.zip
several control elements methods implemented
Node position buggy
Diffstat (limited to 'Project/TransferFunction.h')
-rw-r--r--Project/TransferFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/TransferFunction.h b/Project/TransferFunction.h
index f4e09a1..282ccb0 100644
--- a/Project/TransferFunction.h
+++ b/Project/TransferFunction.h
@@ -18,6 +18,8 @@ public:
virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return false; }
virtual void SetText(wxString numerator, wxString denominator);
virtual wxString GetSuperscriptNumber(int number);
+ virtual void GetTFString(wxString& numerator, wxString& denominator);
+ virtual void UpdateTFText();
protected:
wchar_t m_supNumber[10];
@@ -25,6 +27,8 @@ protected:
wxGLString* m_glStringNum = NULL;
wxGLString* m_glStringDen = NULL;
int m_fontSize = 10;
+ std::vector<double> m_numerator;
+ std::vector<double> m_denominator;
};
#endif // TRANSFERFUNCTION_H