diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-13 00:01:53 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-13 00:01:53 -0300 |
commit | 6c0e98a2727d07e1fbb38b78c27d68e98ad09465 (patch) | |
tree | 12764ca986c9a1943bc2012b0cc751471773f6ee /Project/OpenGLText.h | |
parent | 196389a70ef3a03aa8764b9532812a17dd55014b (diff) | |
download | PSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.tar.gz PSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.tar.xz PSP.git-6c0e98a2727d07e1fbb38b78c27d68e98ad09465.zip |
Device context implemented
Diffstat (limited to 'Project/OpenGLText.h')
-rw-r--r-- | Project/OpenGLText.h | 6 |
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 |