summaryrefslogtreecommitdiffstats
path: root/Project/OpenGLText.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/OpenGLText.h')
-rw-r--r--Project/OpenGLText.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/OpenGLText.h b/Project/OpenGLText.h
index e3bc970..8e6766d 100644
--- a/Project/OpenGLText.h
+++ b/Project/OpenGLText.h
@@ -42,7 +42,7 @@ class OpenGLText
virtual ~OpenGLText();
virtual void Draw(wxPoint2DDouble position, double angle = 0.0) const;
- virtual void DrawDC(wxPoint2DDouble position, wxGraphicsContext* gc, double angle = 0.0) const;
+ virtual void DrawDC(wxPoint2DDouble position, wxGraphicsContext* gc, double angle = 0.0, wxColour colour = *wxBLACK) const;
virtual OpenGLText* GetCopy();
virtual void SetText(wxString text);
@@ -70,8 +70,8 @@ class OpenGLText
wxBitmap m_bitmap = wxNullBitmap;
wxSize m_bitmapSize = wxSize(0, 0);
- wxPoint2DDouble* m_textCoord = NULL;
- GLuint* m_textureID = NULL;
+ wxPoint2DDouble* m_textCoord = nullptr;
+ GLuint* m_textureID = nullptr;
};
#endif // OPENGLTEXT_H