summaryrefslogtreecommitdiffstats
path: root/Project/Bus.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-12-28 20:06:41 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-12-28 20:06:41 -0200
commitfb9de1b7935376897f1c93676ab1faeb1ea25f25 (patch)
tree51e1c6b989d1072cb07f9152d6efe07353e6768f /Project/Bus.cpp
parentffed5ee9ae6c11acb5a7afa9fdc33b1047f5d5e9 (diff)
downloadPSP.git-fb9de1b7935376897f1c93676ab1faeb1ea25f25.tar.gz
PSP.git-fb9de1b7935376897f1c93676ab1faeb1ea25f25.tar.xz
PSP.git-fb9de1b7935376897f1c93676ab1faeb1ea25f25.zip
Bus line and transformer copy/paste implemented
Next step is try to generalize. Some graphical implementations in this commit.
Diffstat (limited to 'Project/Bus.cpp')
-rw-r--r--Project/Bus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Bus.cpp b/Project/Bus.cpp
index f41b0d1..72d6412 100644
--- a/Project/Bus.cpp
+++ b/Project/Bus.cpp
@@ -53,7 +53,7 @@ void Bus::Draw(wxPoint2DDouble translation, double scale) const
glRotated(m_angle, 0.0, 0.0, 1.0);
glTranslated(-m_position.m_x, -m_position.m_y, 0.0);
- glColor4d(0.0, 0.3, 1.0, 1.0);
+ glColor4dv(m_busColour->GetRGBA());
DrawRectangle(m_position, m_width, m_height);
// Pop the old matrix back.
glPopMatrix();