summaryrefslogtreecommitdiffstats
path: root/Project/Gain.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Gain.h')
-rw-r--r--Project/Gain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Gain.h b/Project/Gain.h
index 3c2e66b..0978a7e 100644
--- a/Project/Gain.h
+++ b/Project/Gain.h
@@ -39,6 +39,7 @@ class Gain : public ControlElement
~Gain();
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);
@@ -66,7 +67,7 @@ class Gain : public ControlElement
protected:
double m_value = 1.0;
- OpenGLText* m_glText = NULL;
+ OpenGLText* m_glText = nullptr;
std::vector<wxPoint2DDouble> m_triPts;
};