summaryrefslogtreecommitdiffstats
path: root/Project/Bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Bus.cpp')
-rw-r--r--Project/Bus.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Project/Bus.cpp b/Project/Bus.cpp
index 923d947..a7ebf59 100644
--- a/Project/Bus.cpp
+++ b/Project/Bus.cpp
@@ -9,6 +9,7 @@ Bus::Bus(wxPoint2DDouble position) : Element()
}
Bus::~Bus() {}
+
void Bus::Draw(wxPoint2DDouble translation, double scale) const
{
// Draw selection (layer 1)
@@ -74,11 +75,7 @@ bool Bus::Contains(wxPoint2DDouble position) const
return m_rect.Contains(ptR);
}
-bool Bus::Intersects(wxRect2DDouble rect) const
-{
- return rect.Intersects(m_rect);
-}
-
+bool Bus::Intersects(wxRect2DDouble rect) const { return rect.Intersects(m_rect); }
bool Bus::PickboxContains(wxPoint2DDouble position)
{
m_activePickboxID = ID_PB_NONE;