summaryrefslogtreecommitdiffstats
path: root/Project/Element.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Element.h')
-rw-r--r--Project/Element.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Project/Element.h b/Project/Element.h
index 17a8902..51cb588 100644
--- a/Project/Element.h
+++ b/Project/Element.h
@@ -7,6 +7,8 @@
#include <wx/menu.h>
#include <GL/gl.h>
+#include <wx/log.h>
+
enum PickboxID
{
ID_PB_NONE = 0,
@@ -185,6 +187,9 @@ class Element
virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit) {}
virtual void SetSwitchingData(SwitchingData data) { m_swData = data; }
virtual SwitchingData GetSwitchingData() { return m_swData; }
+
+ //Static methods
+ static wxString StringFromDouble(double value, int minDecimal = 1);
protected:
std::vector<Element*> m_parentList;