Fixed compilation warning
This commit is contained in:
@@ -19,7 +19,7 @@ SimpleButton::SimpleButton(int id): JGuiObject(id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SimpleButton::SimpleButton(JGuiController* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) :
|
SimpleButton::SimpleButton(JGuiController* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) :
|
||||||
JGuiObject(id), parent(_parent), mX(x), mY(y), mFontId(fontId)
|
JGuiObject(id), mX(x), mY(y), parent(_parent), mFontId(fontId)
|
||||||
{
|
{
|
||||||
mYOffset = 0;
|
mYOffset = 0;
|
||||||
if (autoTranslate)
|
if (autoTranslate)
|
||||||
|
|||||||
Reference in New Issue
Block a user