blob: 19fca71fe0f7554b271241df48b46ff91366b4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef MULTIPLIER_H
#define MULTIPLIER_H
#include "ControlElement.h"
class ConnectionLine;
class Multiplier : public ControlElement
{
public:
Multiplier(int id);
~Multiplier();
virtual void Draw(wxPoint2DDouble translation, double scale) const;
virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
virtual bool ShowForm(wxWindow* parent, Element* element) { return false; }
virtual void Rotate(bool clockwise = true);
virtual void UpdatePoints();
virtual bool Solve(double input, double timeStep);
};
#endif // MULTIPLIER_H
|