summaryrefslogtreecommitdiffstats
path: root/Project/Capacitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Capacitor.h')
-rw-r--r--Project/Capacitor.h19
1 files changed, 19 insertions, 0 deletions
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