From 468ba7581675a23567746628d6777ca411b150d3 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Fri, 28 Oct 2016 17:46:43 -0200 Subject: Power flow arrow under implementation --- Project/Element.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Element.h') diff --git a/Project/Element.h b/Project/Element.h index 51cb588..ec18ccd 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -7,6 +7,8 @@ #include #include +#include + #include enum PickboxID @@ -135,6 +137,9 @@ class Element virtual bool SwitchesContains(wxPoint2DDouble position) const; virtual void UpdateSwitches(); virtual void DrawSwitches() const; + + virtual void CalculatePowerFlowPts(std::vector edges); + virtual void DrawPowerFlowPts() const; virtual bool PickboxContains(wxPoint2DDouble position) { return false; } virtual void MovePickbox(wxPoint2DDouble position) {} @@ -204,6 +209,7 @@ class Element double m_switchSize = 10.0; std::vector m_switchRect; + std::vector< std::vector > m_powerFlowArrow; bool m_selected = false; bool m_dragging = false; -- cgit