ClearLastResult();
Dimension screenSize = _ControlManager::GetInstance()->GetScreenSize();
- int portIndiHeight = 0;
- int landIndiHeight = 0;
- GET_SHAPE_CONFIG(FORM::INDICATOR_HEIGHT, _CONTROL_ORIENTATION_PORTRAIT, portIndiHeight);
- GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, _CONTROL_ORIENTATION_LANDSCAPE, landIndiHeight);
- Rectangle portBounds(0, 0, screenSize.width, screenSize.height - portIndiHeight);
- Rectangle landBounds(0, 0, screenSize.width - landIndiHeight, screenSize.height);
+ Rectangle portBounds(0, 0, screenSize.width, screenSize.height);
+ Rectangle landBounds(0, 0, screenSize.width, screenSize.height);
_EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas();
_Keypad* pKeypad = new (std::nothrow) _Keypad;
FloatRectangle bounds(0.0f, 0.0f, 0.0f, 0.0f);
FloatRectangle keypadRect(0.0f, 0.0f, 0.0f, 0.0f);
- float indicatorHeight = 0.0f;
float clipboardHeight = 0.0f;
bool isKeypadExist = false;
bool isClipboardExist = false;
bounds.height = screenSize.width;
}
- if (pForm && pForm->IsIndicatorVisible())
- {
- indicatorHeight = pForm->GetIndicatorBoundsF().height;
- bounds.y += indicatorHeight;
- bounds.height -= indicatorHeight;
- }
-
SetResizable(true);
SetMovable(true);
r = SetBounds(bounds);
FloatRectangle editRect = bounds;
- editRect.y = 0.0f;//_keypad's client doesn't include indicator
+ editRect.y = 0.0f;
float footerHeight = 0.0f;
GET_SHAPE_CONFIG(FOOTER::HEIGHT, orientation, footerHeight);
return r;
}
-FloatRectangle
-_Keypad::GetIndicatorBounds(void) const
-{
- float indicatorwidth = 0.0f;
- float indicatorheight = 0.0f;
-
- GET_SHAPE_CONFIG(FORM::INDICATOR_WIDTH, GetOrientation(), indicatorwidth);
- GET_SHAPE_CONFIG(FORM::INDICATOR_HEIGHT, GetOrientation(), indicatorheight);
-
- FloatRectangle rect (0.0f, 0.0f, indicatorwidth, indicatorheight);
-
- return rect;
-}
-
result
_Keypad::OnAttachedToMainTree(void)
{