diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 20:27:20 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 20:27:20 -0200 |
commit | f5bb978b22c881dc61663d8ac660cc2778a842bb (patch) | |
tree | 7d3615b15a7aac4de928bd6811a4407f7a2eb47b /Project/Text.h | |
parent | e266f5811403beea13c9cc5399c55db4a34fdd3c (diff) | |
download | PSP.git-f5bb978b22c881dc61663d8ac660cc2778a842bb.tar.gz PSP.git-f5bb978b22c881dc61663d8ac660cc2778a842bb.tar.xz PSP.git-f5bb978b22c881dc61663d8ac660cc2778a842bb.zip |
Text update under implementation
Diffstat (limited to 'Project/Text.h')
-rw-r--r-- | Project/Text.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Project/Text.h b/Project/Text.h index 2b10380..98aeb65 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, @@ -82,12 +83,12 @@ class Text : public Element 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 |