diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2017-01-27 19:57:18 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2017-01-27 19:57:18 -0200 |
commit | 10bb7105946bc0a892a9daf42ec5181ad9994fcf (patch) | |
tree | 5b27234c7b0c9ababde2a1dcca2d95c5149770cc /Project/TransferFunction.h | |
parent | 15df77aa461ecea7344cce5e736ebee9fb943a9b (diff) | |
download | PSP.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.h | 4 |
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 |