GET_SHAPE_CONFIG(MESSAGEBOX::TITLE_TEXT_SIZE, orientation, titleTextSize);
GET_SHAPE_CONFIG(MESSAGEBOX::TEXT_SIZE, orientation, bodyTextSize);
+ GET_SHAPE_CONFIG(MESSAGEBOX::TEXT_HEIGHT, orientation, __textObjHeight);
GET_SHAPE_CONFIG(MESSAGEBOX::DEFAULT_WIDTH, orientation, defaultWidth);
GET_SHAPE_CONFIG(MESSAGEBOX::TITLE_HEIGHT, orientation, titleHeight);
maxHeight - titleHeight));
__pBodyTextObject->Compose();
- __textObjHeight = TEXT_OBJ_HEIGHT;
-
// Text bounds
__textBounds.SetBounds(textLeftMargin + transLeftMargin,
titleHeight + textTopMargin + transTopMargin,
float
_MessageBoxPresenter::GetBodyTextObjHeight(void) const
{
- return __textObjHeight;
+ return (__pBodyTextObject == null) ? 0.0f : __textObjHeight;
}
float
_MessageBoxPresenter::GetBodyTextHeight(void) const
__cancelButton = cancelButton;
__transparent = transparent;
__pProgressPopup = &ProgressPopup;
- __textObjectHeight = TEXT_OBJ_HEIGHT;
-
return r;
}
GET_SHAPE_CONFIG(POPUP::PROCESS_TEXT_TOP_MARGIN, orientation, textTopMargin);
GET_SHAPE_CONFIG(POPUP::PROCESS_TEXT_BOTTOM_MARGIN, orientation, textBottomMargin);
+ GET_SHAPE_CONFIG(POPUP::BODY_TEXT_HEIGHT, orientation, __textObjectHeight);
GET_SHAPE_CONFIG(MESSAGEBOX::TEXT_LEFT_MARGIN, orientation, textLeftMargin);
GET_SHAPE_CONFIG(MESSAGEBOX::TEXT_RIGHT_MARGIN, orientation, textRightMargin);
GET_SHAPE_CONFIG(MESSAGEBOX::TEXT_SIZE, orientation, bodyTextSize);
float
_ProgressPopupPresenter::GetBodyTextObjHeight(void) const
{
- return __textObjectHeight;
+ return (__pBodyTextObject == null) ? 0.0f : __textObjectHeight;
}
float
_ProgressPopupPresenter::GetBodyTextHeight(void) const
int __buttonNum;
float __prevPositionY;
float __textObjHeight;
- static const float TEXT_OBJ_HEIGHT = 210.0f;
bool __touchPressFlag;
bool __scrollStart;
bool __transparent;
static const int ANIMATION_REPEAT_COUNT = 100;
- static const float TEXT_OBJ_HEIGHT = 160.0f;
}; // _ProgressPopupPresenter
DECLARE_SHAPE_CONFIG(BUTTON_SIDE_MARGIN_01, 24);
DECLARE_SHAPE_CONFIG(BUTTON_SIDE_MARGIN_02, 25);
DECLARE_SHAPE_CONFIG(BUTTON_SIDE_MARGIN_03, 26);
+ DECLARE_SHAPE_CONFIG(TEXT_HEIGHT, 27);
DECLARE_END_UI_CONFIG(MESSAGEBOX);
#endif //_FUI_RESOURCE_MESSAGEBOX_CONFIG_H_
DECLARE_SHAPE_CONFIG(BG_OUTLINE_EFFECT_BOTTOM_MARGIN, 19);
DECLARE_SHAPE_CONFIG(BG_OUTLINE_EFFECT_LEFT_MARGIN, 20);
DECLARE_SHAPE_CONFIG(BG_OUTLINE_EFFECT_RIGHT_MARGIN, 21);
+ DECLARE_SHAPE_CONFIG(BODY_TEXT_HEIGHT, 22);
DECLARE_END_UI_CONFIG(POPUP);
-#endif //_FUI_RESOURCE_POPUP_CONFIG_H_
\ No newline at end of file
+#endif //_FUI_RESOURCE_POPUP_CONFIG_H_
ADD_SHAPE_CONFIG(BOTTOM_HEIGHT, 118); // 20130403
ADD_SHAPE_CONFIG(TEXT_SIZE, 38); // 20130403
+ ADD_SHAPE_CONFIG(TEXT_HEIGHT, 88); // 20130403
ADD_SHAPE_CONFIG(TEXT_LEFT_MARGIN, 29); // 20130403
ADD_SHAPE_CONFIG(TEXT_RIGHT_MARGIN, 29); // 20130403
ADD_SHAPE_CONFIG(TITLE_TEXT_TOP_MARGIN, 20); //20130403
ADD_SHAPE_CONFIG(TITLE_TEXT_LEFT_MARGIN, 29); //20130403
ADD_SHAPE_CONFIG(TITLE_TEXT_RIGHT_MARGIN, 29); //20130403
+ ADD_SHAPE_CONFIG(BODY_TEXT_HEIGHT, 88); //20130403
ADD_SHAPE_CONFIG(TOP_BORDER, 6); // Compatibility 2.0
ADD_SHAPE_CONFIG(BOTTOM_BORDER, 30); // Compatibility 2.0