summaryrefslogtreecommitdiffstats
path: root/Project/MathExpressionForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
commitc6d815b6b11504be68d7a97df63cfef749624418 (patch)
tree750161c22282c781ab9c62fec84c8de50dfb230f /Project/MathExpressionForm.h
parent54bb80251432ff49c967115f8401e7dafc5c57d6 (diff)
downloadPSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.gz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.xz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.zip
Math expr GUI implemented
Diffstat (limited to 'Project/MathExpressionForm.h')
-rw-r--r--Project/MathExpressionForm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/MathExpressionForm.h b/Project/MathExpressionForm.h
index 03fb134..c0ff4b9 100644
--- a/Project/MathExpressionForm.h
+++ b/Project/MathExpressionForm.h
@@ -19,7 +19,6 @@
#define MATHEXPRESSIONFORM_H
#include "base/ElementFormBase.h"
-#include "MathExprParser.h"
#include <wx/msgdlg.h>
class MathExpression;
@@ -27,11 +26,12 @@ class MathExpression;
class MathExpressionForm : public MathExpressionFormBase
{
public:
- MathExpressionForm(wxWindow* parent, MathExpression* mathEpr);
+ MathExpressionForm(wxWindow* parent, MathExpression* mathExpr);
virtual ~MathExpressionForm();
protected:
bool ValidateData();
void SetSintaxHighlights();
+ bool CheckMathExpression();
std::string GetVariablesToParse();
virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
virtual void OnCheckButtonClick(wxCommandEvent& event);
@@ -43,6 +43,6 @@ protected:
std::vector<wxString> m_translatedErrorMsg;
wxWindow* m_parent;
- MathExpression* m_mathEpr;
+ MathExpression* m_mathExpr;
};
#endif // MATHEXPRESSIONFORM_H