diff options
Diffstat (limited to 'Project/Constant.h')
-rw-r--r-- | Project/Constant.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Constant.h b/Project/Constant.h index dd4dbfa..ee342fb 100644 --- a/Project/Constant.h +++ b/Project/Constant.h @@ -39,6 +39,7 @@ class Constant : public ControlElement ~Constant(); virtual void Draw(wxPoint2DDouble translation, double scale) const; + virtual void DrawDC(wxPoint2DDouble translation, double scale, 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); @@ -56,7 +57,7 @@ class Constant : public ControlElement protected: double m_value = 1.0; - OpenGLText* m_glText = NULL; + OpenGLText* m_glText = nullptr; }; #endif // CONSTANT_H |