summaryrefslogtreecommitdiffstats
path: root/Project/OpenGLText.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/OpenGLText.h')
-rw-r--r--Project/OpenGLText.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/OpenGLText.h b/Project/OpenGLText.h
index 5417ad3..885782e 100644
--- a/Project/OpenGLText.h
+++ b/Project/OpenGLText.h
@@ -18,8 +18,10 @@
#ifndef OPENGLTEXT_H
#define OPENGLTEXT_H
+#include <windows.h>
#include <GL/gl.h>
#include <wx/dcmemory.h>
+#include <algorithm>
/**
* @class OpenGLText
@@ -36,6 +38,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 OpenGLText* GetCopy();
virtual void SetText(wxString text);
@@ -54,6 +57,7 @@ class OpenGLText
void TextToBitmap();
void LoadTextTexture();
+
wxString m_text = _("Text");
int m_fontSize = 10;
wxFontWeight m_fontWeight = wxFONTWEIGHT_NORMAL;