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.cpp | 25 +++++++++++++++++++++++++ Project/Capacitor.h | 19 +++++++++++++++++++ Project/Project.project | 2 ++ 3 files changed, 46 insertions(+) create mode 100644 Project/Capacitor.cpp create mode 100644 Project/Capacitor.h (limited to 'Project') diff --git a/Project/Capacitor.cpp b/Project/Capacitor.cpp new file mode 100644 index 0000000..698d6a4 --- /dev/null +++ b/Project/Capacitor.cpp @@ -0,0 +1,25 @@ +#include "Capacitor.h" + +Capacitor::Capacitor() : Shunt() +{ +} + +Capacitor::~Capacitor() +{ +} + +bool Capacitor::AddParent(Element* parent, wxPoint2DDouble position) +{ +} + +void Capacitor::Draw(wxPoint2DDouble translation, double scale) const +{ +} + +void Capacitor::Rotate() +{ +} + +bool Capacitor::GetContextMenu(wxMenu& menu) +{ +} 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 diff --git a/Project/Project.project b/Project/Project.project index 1152807..76d12ac 100644 --- a/Project/Project.project +++ b/Project/Project.project @@ -22,6 +22,7 @@ + @@ -48,6 +49,7 @@ + -- cgit