diff options
Diffstat (limited to 'Project/ConnectionLine.h')
-rw-r--r-- | Project/ConnectionLine.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Project/ConnectionLine.h b/Project/ConnectionLine.h new file mode 100644 index 0000000..8249df8 --- /dev/null +++ b/Project/ConnectionLine.h @@ -0,0 +1,17 @@ +#ifndef CONNECTIONLINE_H +#define CONNECTIONLINE_H + +#include "ControlElement.h" + +class ConnectionLine : public ControlElement +{ +public: + ConnectionLine(); + ~ConnectionLine(); + + virtual void Draw(wxPoint2DDouble translation, double scale) const; + virtual bool Contains(wxPoint2DDouble position) const; + virtual bool Intersects(wxRect2DDouble rect) const; +}; + +#endif // CONNECTIONLINE_H |