diff options
Diffstat (limited to 'Project/Machines.h')
-rw-r--r-- | Project/Machines.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Project/Machines.h b/Project/Machines.h index 8efcab6..615d82e 100644 --- a/Project/Machines.h +++ b/Project/Machines.h @@ -5,10 +5,10 @@ class Machines : public PowerElement { -public: - Machines(); - ~Machines(); - + public: + Machines(); + ~Machines(); + virtual bool AddParent(Element* parent, wxPoint2DDouble position); virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); } virtual void Draw(wxPoint2DDouble translation, double scale) const; @@ -22,14 +22,13 @@ public: virtual bool SetNodeParent(Element* parent); virtual void UpdateNodes(); virtual void Rotate(bool clockwise = true); - virtual void DrawSymbol() const {} + virtual void DrawSymbol() const {} virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection); protected: void UpdateSwitchesPosition(); void UpdatePowerFlowArrowsPosition(); bool m_inserted = false; - }; -#endif // MACHINES_H +#endif // MACHINES_H |