From 47cebfc84d4ae315f4bf8ffb3d074b2b75781a1b Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 5 Sep 2016 00:37:13 -0300 Subject: Capacitor under implementation --- Project/Capacitor.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Project/Capacitor.h (limited to 'Project/Capacitor.h') diff --git a/Project/Capacitor.h b/Project/Capacitor.h new file mode 100644 index 0000000..fe7c267 --- /dev/null +++ b/Project/Capacitor.h @@ -0,0 +1,19 @@ +#ifndef CAPACITOR_H +#define CAPACITOR_H + +#include "Shunt.h" + +class Capacitor : Shunt +{ +public: + Capacitor(); + ~Capacitor(); + + virtual bool AddParent(Element* parent, wxPoint2DDouble position); + virtual void Draw(wxPoint2DDouble translation, double scale) const; + virtual void Rotate(); + virtual bool GetContextMenu(wxMenu& menu); + +}; + +#endif // CAPACITOR_H -- cgit