aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/guiBox.cpp')
-rw-r--r--src/gui/guiBox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/guiBox.cpp b/src/gui/guiBox.cpp
index 7f329cc32..23551a7c7 100644
--- a/src/gui/guiBox.cpp
+++ b/src/gui/guiBox.cpp
@@ -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();
}