diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2017-02-24 12:25:41 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2017-02-24 12:25:41 -0300 |
commit | a54f50d0bf86c7c4d400e8b4d30cbc6091cfd9df (patch) | |
tree | f551481b420d87b8774520169770f9a101bac391 /Project/ConnectionLine.h | |
parent | 5e7c19ae397164dd718b2593663cee5d1be687cd (diff) | |
download | PSP.git-a54f50d0bf86c7c4d400e8b4d30cbc6091cfd9df.tar.gz PSP.git-a54f50d0bf86c7c4d400e8b4d30cbc6091cfd9df.tar.xz PSP.git-a54f50d0bf86c7c4d400e8b4d30cbc6091cfd9df.zip |
Connection line implementation start
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 |