From 22f71caae9771b8279dcfdbd3842b45c4520b782 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Thu, 24 Nov 2016 17:01:04 -0200 Subject: Text under implementation [2] --- Project/Text.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Project/Text.h') 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 -- cgit