diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-24 17:01:04 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-24 17:01:04 -0200 |
commit | 22f71caae9771b8279dcfdbd3842b45c4520b782 (patch) | |
tree | 51925aae4d9c1bad0cd60899e9139bdf089df0c0 /Project/Text.h | |
parent | 8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a (diff) | |
download | PSP.git-22f71caae9771b8279dcfdbd3842b45c4520b782.tar.gz PSP.git-22f71caae9771b8279dcfdbd3842b45c4520b782.tar.xz PSP.git-22f71caae9771b8279dcfdbd3842b45c4520b782.zip |
Text under implementation [2]
Diffstat (limited to 'Project/Text.h')
-rw-r--r-- | Project/Text.h | 8 |
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 |