]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiBox.cpp
Merge pull request #10 from corarona/master
[dragonfireclient.git] / src / gui / guiBox.cpp
index 23551a7c750fe9967c1a66132b0102692560980e..7f329cc3243b2bdf138384ab715f63864f48e0d8 100644 (file)
@@ -20,9 +20,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "guiBox.h"
 
 GUIBox::GUIBox(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id,
-               const core::rect<s32> &rectangle, const video::SColor &color) :
-               gui::IGUIElement(gui::EGUIET_ELEMENT, env, parent, id, rectangle),
-               m_color(color)
+       const core::rect<s32> &rectangle, const video::SColor &color) :
+       gui::IGUIElement(gui::EGUIET_ELEMENT, env, parent, id, rectangle),
+       m_color(color)
 {
 }
 
@@ -31,8 +31,8 @@ void GUIBox::draw()
        if (!IsVisible)
                return;
 
-       Environment->getVideoDriver()->draw2DRectangle(
-                       m_color, AbsoluteRect, &AbsoluteClippingRect);
+       Environment->getVideoDriver()->draw2DRectangle(m_color, AbsoluteRect,
+                       &AbsoluteClippingRect);
 
        IGUIElement::draw();
 }