, __pAnimation(null)
, __pAnimationFrameList(null)
, __textObjectHeight(0.0f)
- , __bgImageMargin(0.0f)
, __currentIndex(0)
, __buttonPressState(false)
, __cancelButton(false)
GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_HEIGHT, orientation, btnHeight);
GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_SIDE_MARGIN_01, orientation, btnSideMargin1);
GET_SHAPE_CONFIG(MESSAGEBOX::BOTTOM_HEIGHT, orientation, buttonBgHeight);
- GET_FIXED_VALUE_CONFIG(MESSAGEBOX::BG_IMAGE_MARGIN, orientation, __bgImageMargin);
if (!__pProgressPopup->HasButton())
{
+ textBottomMargin
+ GetBodyTextObjHeight();
- __buttonBgBounds.SetBounds(transLeftMargin + __bgImageMargin, y , (defaultWidth - (transLeftMargin + transRightMargin) - (2 * __bgImageMargin)) , (buttonBgHeight - __bgImageMargin));
+ __buttonBgBounds.SetBounds(transLeftMargin, y , (defaultWidth - (transLeftMargin + transRightMargin)) , (buttonBgHeight));
return FloatRectangle(x, y + ((buttonBgHeight - height) / 2), width, height);
}