summaryrefslogtreecommitdiffstats
path: root/Project/Capacitor.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-09-05 00:37:13 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-09-05 00:37:13 -0300
commit47cebfc84d4ae315f4bf8ffb3d074b2b75781a1b (patch)
tree9fb509762086674197aae821bd1335bea47da033 /Project/Capacitor.h
parentc1aad656847602f7e4c7aead048f7465a76838d4 (diff)
downloadPSP.git-47cebfc84d4ae315f4bf8ffb3d074b2b75781a1b.tar.gz
PSP.git-47cebfc84d4ae315f4bf8ffb3d074b2b75781a1b.tar.xz
PSP.git-47cebfc84d4ae315f4bf8ffb3d074b2b75781a1b.zip
Capacitor under implementation
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