summaryrefslogtreecommitdiffstats
path: root/Project/ConnectionLine.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-02-24 12:25:41 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2017-02-24 12:25:41 -0300
commita54f50d0bf86c7c4d400e8b4d30cbc6091cfd9df (patch)
treef551481b420d87b8774520169770f9a101bac391 /Project/ConnectionLine.h
parent5e7c19ae397164dd718b2593663cee5d1be687cd (diff)
downloadPSP.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.h17
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