summaryrefslogtreecommitdiffstats
path: root/Project/Inductor.h
blob: 721d58a09dd730c2ac61b3b2a3c382e7a509e6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef INDUCTOR_H
#define INDUCTOR_H

#include "Shunt.h"

class Inductor : public Shunt
{
public:
	Inductor();
	~Inductor();
	
	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);
};

#endif // INDUCTOR_H