summaryrefslogtreecommitdiffstats
path: root/Project/Text.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Text.h')
-rw-r--r--Project/Text.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Project/Text.h b/Project/Text.h
index 0ff8d17..d54d927 100644
--- a/Project/Text.h
+++ b/Project/Text.h
@@ -24,16 +24,16 @@ class Text : public Element
virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return true; };
virtual bool Contains(wxPoint2DDouble position) const;
- virtual void Draw(wxPoint2DDouble translation, double scale, wxDC& dc);
+ virtual void Draw(wxPoint2DDouble translation, double scale);
virtual bool Intersects(wxRect2DDouble rect) const;
+ virtual void Rotate(bool clockwise = true);
virtual wxString GetText() const { return m_text; }
virtual void SetText(wxString text);
protected:
- wxString m_text = _("Text");
- wxGLString glString;
- bool consolidate = true;
+ wxString m_text = _("Barra 1");
+ int m_fontSize = 10;
};
#endif // TEXT_H