summaryrefslogtreecommitdiffstats
path: root/Project/Capacitor.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-02 19:31:11 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-02 19:31:11 -0200
commit2c0b51586b3b2243ae0fdcd653139818e4b4e23e (patch)
tree89c1435aac9213230f04b06d4183c94f6ea36663 /Project/Capacitor.h
parent7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9 (diff)
downloadPSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.tar.gz
PSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.tar.xz
PSP.git-2c0b51586b3b2243ae0fdcd653139818e4b4e23e.zip
Fast data visualization implemented
Diffstat (limited to 'Project/Capacitor.h')
-rw-r--r--Project/Capacitor.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Project/Capacitor.h b/Project/Capacitor.h
index fdacb42..c124396 100644
--- a/Project/Capacitor.h
+++ b/Project/Capacitor.h
@@ -13,24 +13,25 @@ struct CapacitorElectricalData {
class Capacitor : public Shunt
{
- public:
+public:
Capacitor();
Capacitor(wxString name);
~Capacitor();
-
- virtual Element* GetCopy();
+
+ virtual Element* GetCopy();
virtual bool AddParent(Element* parent, wxPoint2DDouble position);
virtual void Draw(wxPoint2DDouble translation, double scale) const;
virtual bool Contains(wxPoint2DDouble position) const;
virtual bool Intersects(wxRect2DDouble rect) const;
virtual void Rotate(bool clockwise = true);
virtual bool GetContextMenu(wxMenu& menu);
+ virtual wxString GetTipText() const;
virtual bool ShowForm(wxWindow* parent, Element* element);
virtual CapacitorElectricalData GetElectricalData() { return m_electricalData; }
virtual CapacitorElectricalData GetPUElectricalData(double systemPowerBase);
virtual void SetElectricalData(CapacitorElectricalData electricalData) { m_electricalData = electricalData; }
- protected:
+protected:
CapacitorElectricalData m_electricalData;
};
-#endif // CAPACITOR_H
+#endif // CAPACITOR_H