summaryrefslogtreecommitdiffstats
path: root/Project/Text.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-24 17:01:04 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-24 17:01:04 -0200
commit22f71caae9771b8279dcfdbd3842b45c4520b782 (patch)
tree51925aae4d9c1bad0cd60899e9139bdf089df0c0 /Project/Text.h
parent8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a (diff)
downloadPSP.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.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