aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiButtonItemImage.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
commitad148587dcf5244c2d2011dba339786c765c54c4 (patch)
treebdd914121cd326da2ed26679838878e3edffc841 /src/gui/guiButtonItemImage.cpp
parent1145b05ea0bda87dc0827821385810eced08f774 (diff)
downloaddragonfireclient-ad148587dcf5244c2d2011dba339786c765c54c4.tar.xz
Make Lint Happy
Diffstat (limited to 'src/gui/guiButtonItemImage.cpp')
-rw-r--r--src/gui/guiButtonItemImage.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/guiButtonItemImage.cpp b/src/gui/guiButtonItemImage.cpp
index d8b9042ac..bbd20582b 100644
--- a/src/gui/guiButtonItemImage.cpp
+++ b/src/gui/guiButtonItemImage.cpp
@@ -31,11 +31,12 @@ using namespace gui;
GUIButtonItemImage::GUIButtonItemImage(gui::IGUIEnvironment *environment,
gui::IGUIElement *parent, s32 id, core::rect<s32> rectangle,
ISimpleTextureSource *tsrc, std::string item, Client *client,
- bool noclip)
- : GUIButton (environment, parent, id, rectangle, tsrc, noclip)
+ bool noclip) :
+ GUIButton(environment, parent, id, rectangle, tsrc, noclip)
{
m_image = new GUIItemImage(environment, this, id,
- core::rect<s32>(0,0,rectangle.getWidth(),rectangle.getHeight()),
+ core::rect<s32>(0, 0, rectangle.getWidth(),
+ rectangle.getHeight()),
item, getActiveFont(), client);
sendToBack(m_image);
@@ -49,8 +50,8 @@ GUIButtonItemImage *GUIButtonItemImage::addButton(IGUIEnvironment *environment,
Client *client)
{
GUIButtonItemImage *button = new GUIButtonItemImage(environment,
- parent ? parent : environment->getRootGUIElement(),
- id, rectangle, tsrc, item, client);
+ parent ? parent : environment->getRootGUIElement(), id, rectangle,
+ tsrc, item, client);
if (text)
button->setText(text);