diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-29 14:07:52 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-29 14:07:52 -0200 |
commit | 3750a0691f4975045647f3f70d8215fb1884e6fb (patch) | |
tree | 3d5dbd283f31004cc6ef826c2b75d5e5ed9d9f27 /Project/Element.cpp | |
parent | d792fcf7b2a5862ac86ee69aa86021b5637ca8ee (diff) | |
download | PSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.tar.gz PSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.tar.xz PSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.zip |
Text element paste bug corrected
Diffstat (limited to 'Project/Element.cpp')
-rw-r--r-- | Project/Element.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Project/Element.cpp b/Project/Element.cpp index be93cc5..4de5ebd 100644 --- a/Project/Element.cpp +++ b/Project/Element.cpp @@ -11,9 +11,7 @@ Element::Element() m_powerFlowArrowColour.SetRGBA(1.0, 0.51, 0.0, 1.0); } -Element::~Element() -{ -} +Element::~Element() {} void Element::SetPosition(const wxPoint2DDouble position) { @@ -466,12 +464,9 @@ void OpenGLColour::SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble rgba[3] = alpha; } -OpenGLColour::OpenGLColour() -{ - SetRGBA(1.0, 1.0, 1.0, 1.0); -} +OpenGLColour::OpenGLColour() { SetRGBA(1.0, 1.0, 1.0, 1.0); } OpenGLColour::OpenGLColour(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { - SetRGBA(red, green, blue, alpha); + SetRGBA(red, green, blue, alpha); } |