From 6c0e98a2727d07e1fbb38b78c27d68e98ad09465 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 13 Jun 2020 00:01:53 -0300 Subject: Device context implemented --- Project/OpenGLText.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Project/OpenGLText.h') 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 -- cgit