summaryrefslogtreecommitdiffstats
path: root/Project/Line.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-12-15 17:23:10 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-12-15 17:23:10 -0200
commit5cdfee44e75b9a3635350aa261818e0a3bb44c5f (patch)
tree7896e1bb7cc5f42751c5d31ec99ba2bdf19d6f6c /Project/Line.cpp
parent341fd025a924f779acebcfa0ffcf07f46f8240c9 (diff)
downloadPSP.git-5cdfee44e75b9a3635350aa261818e0a3bb44c5f.tar.gz
PSP.git-5cdfee44e75b9a3635350aa261818e0a3bb44c5f.tar.xz
PSP.git-5cdfee44e75b9a3635350aa261818e0a3bb44c5f.zip
File handling implemented
Diffstat (limited to 'Project/Line.cpp')
-rw-r--r--Project/Line.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Line.cpp b/Project/Line.cpp
index ae5e0b3..836ca3c 100644
--- a/Project/Line.cpp
+++ b/Project/Line.cpp
@@ -480,3 +480,10 @@ void Line::RotateNode(Element* parent, bool clockwise)
UpdateSwitchesPosition();
UpdatePowerFlowArrowsPosition();
}
+
+void Line::SetPointList(std::vector<wxPoint2DDouble> pointList)
+{
+ m_pointList = pointList;
+ UpdateSwitchesPosition();
+ UpdatePowerFlowArrowsPosition();
+}