GUIButton: Use default member initializers
This commit is contained in:
@@ -27,15 +27,10 @@ using namespace gui;
|
||||
|
||||
//! constructor
|
||||
GUIButton::GUIButton(IGUIEnvironment* environment, IGUIElement* parent,
|
||||
s32 id, core::rect<s32> rectangle, ISimpleTextureSource *tsrc,
|
||||
bool noclip)
|
||||
: IGUIButton(environment, parent, id, rectangle),
|
||||
SpriteBank(0), OverrideFont(0),
|
||||
OverrideColorEnabled(false), OverrideColor(video::SColor(101,255,255,255)),
|
||||
ClickTime(0), HoverTime(0), FocusTime(0),
|
||||
ClickShiftState(false), ClickControlState(false),
|
||||
IsPushButton(false), Pressed(false),
|
||||
UseAlphaChannel(false), DrawBorder(true), ScaleImage(false), TSrc(tsrc)
|
||||
s32 id, core::rect<s32> rectangle, ISimpleTextureSource *tsrc,
|
||||
bool noclip) :
|
||||
IGUIButton(environment, parent, id, rectangle),
|
||||
TSrc(tsrc)
|
||||
{
|
||||
setNotClipped(noclip);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user