summaryrefslogtreecommitdiffstats
path: root/Project/Text.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-08 20:07:47 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-08 20:07:47 -0200
commitc11a42ee83fcf535557d4f2cc259efae2da1b7ff (patch)
tree13fd8f4449f2cfeed8a6185e96a6889f9529285d /Project/Text.h
parent95f61a7cad71c45c9e27af5c6f4bc5d64d5ecc45 (diff)
downloadPSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.tar.gz
PSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.tar.xz
PSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.zip
File handling and control initialization organized
Diffstat (limited to 'Project/Text.h')
-rw-r--r--Project/Text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/Text.h b/Project/Text.h
index f7b1a68..822d5ee 100644
--- a/Project/Text.h
+++ b/Project/Text.h
@@ -105,6 +105,10 @@ class Text : public GraphicalElement
const ElementType GetElementType() const { return m_elementType; }
const ElectricalUnit GetUnit() const { return m_unit; }
int GetDecimalPlaces() const { return m_decimalPlaces; }
+
+ virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
+ virtual bool OpenElement(rapidxml::xml_node<>* elementNode);
+
protected:
wxString m_text = _("Text");
int m_numberOfLines = 0;