diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-18 19:10:04 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-18 19:10:04 -0300 |
commit | 05525745c0b0d189484da3c45f95356d7558e2cf (patch) | |
tree | e05100d4711e4050985e3d550bf9053a3c22942f /Project/Bus.h | |
parent | e58cec073cbd982246898c733ae21b9f2b92b2b7 (diff) | |
download | PSP.git-05525745c0b0d189484da3c45f95356d7558e2cf.tar.gz PSP.git-05525745c0b0d189484da3c45f95356d7558e2cf.tar.xz PSP.git-05525745c0b0d189484da3c45f95356d7558e2cf.zip |
Line improvements, context menu implemented
Line still under construction, contex menu base implemented
Diffstat (limited to 'Project/Bus.h')
-rw-r--r-- | Project/Bus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Bus.h b/Project/Bus.h index 0c9d374..a7fa122 100644 --- a/Project/Bus.h +++ b/Project/Bus.h @@ -9,7 +9,7 @@ class Bus : public Element Bus(); Bus(wxPoint2DDouble position); ~Bus(); - virtual bool AddParent(Element* parent, wxPoint2DDouble position) {return true;} + 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; @@ -17,6 +17,7 @@ class Bus : public Element virtual wxCursor GetBestPickboxCursor() const; virtual void MovePickbox(wxPoint2DDouble position); virtual bool PickboxContains(wxPoint2DDouble position); + virtual bool GetContextMenu(wxMenu& menu); }; #endif // BUS_H |