summaryrefslogtreecommitdiffstats
path: root/Project/Text.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Text.h')
-rw-r--r--Project/Text.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Project/Text.h b/Project/Text.h
index 2b10380..80f35fa 100644
--- a/Project/Text.h
+++ b/Project/Text.h
@@ -17,6 +17,7 @@ class Inductor;
class Capacitor;
enum ElementType {
+ TYPE_NONE = 0,
TYPE_BUS,
TYPE_CAPACITOR,
TYPE_IND_MOTOR,
@@ -79,15 +80,17 @@ class Text : public Element
protected:
wxString m_text = _("Text");
+ std::vector<wxString> m_multlineText;
+ bool m_isMultlineText = false;
int m_fontSize = 10;
Element* m_element = NULL;
- ElementType m_elementType;
+ ElementType m_elementType = TYPE_NONE;
int m_elementNumber;
DataType m_dataType;
ElectricalUnit m_unit;
- int m_direction;
- int m_decimalPlaces;
+ int m_direction = 0;
+ int m_decimalPlaces = 2;
};
#endif // TEXT_H