diff options
Diffstat (limited to 'Project/MathOperation.h')
-rw-r--r-- | Project/MathOperation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/MathOperation.h b/Project/MathOperation.h index 96e538b..7e85861 100644 --- a/Project/MathOperation.h +++ b/Project/MathOperation.h @@ -36,7 +36,9 @@ class MathOperation : public ControlElement ~MathOperation(); virtual void Draw(wxPoint2DDouble translation, double scale) const; + virtual void DrawDC(wxPoint2DDouble translation, double scale, wxGraphicsContext* gc) const; virtual void DrawSymbol() const {} + virtual void DrawDCSymbol(wxGraphicsContext* gc) const {} virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); } virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); } virtual bool ShowForm(wxWindow* parent, Element* element) { return false; } |