diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-19 09:20:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 09:20:19 -0300 |
commit | ae95a3dbc230e2fc1e2e02e0ee920dc908f3ef2f (patch) | |
tree | e05100d4711e4050985e3d550bf9053a3c22942f /Project/Bus.h | |
parent | b23b552bac7a5c5a5e934ab3181180877bf93a72 (diff) | |
parent | 05525745c0b0d189484da3c45f95356d7558e2cf (diff) | |
download | PSP.git-ae95a3dbc230e2fc1e2e02e0ee920dc908f3ef2f.tar.gz PSP.git-ae95a3dbc230e2fc1e2e02e0ee920dc908f3ef2f.tar.xz PSP.git-ae95a3dbc230e2fc1e2e02e0ee920dc908f3ef2f.zip |
Merge pull request #1 from Thales1330/wip/svnprob
Wip/svnprob
Diffstat (limited to 'Project/Bus.h')
-rw-r--r-- | Project/Bus.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Project/Bus.h b/Project/Bus.h new file mode 100644 index 0000000..a7fa122 --- /dev/null +++ b/Project/Bus.h @@ -0,0 +1,23 @@ +#ifndef BUS_H +#define BUS_H + +#include "Element.h" + +class Bus : public Element +{ + public: + Bus(); + Bus(wxPoint2DDouble position); + ~Bus(); + virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return true; } + virtual bool Contains(wxPoint2DDouble position) const; + virtual bool Intersects(wxRect2DDouble rect) const; + virtual void Draw(wxPoint2DDouble translation, double scale) const; + virtual void Rotate(); + virtual wxCursor GetBestPickboxCursor() const; + virtual void MovePickbox(wxPoint2DDouble position); + virtual bool PickboxContains(wxPoint2DDouble position); + virtual bool GetContextMenu(wxMenu& menu); +}; + +#endif // BUS_H |