for (int i = 0; i < EDIT_LINK_TYPE_MAX; i++)
{
EditCutLinkType type = (EditCutLinkType) i;
- //GET_COLOR_CONFIG(EDIT::CUT_LINK_TEXT_NORMAL, __cutlinkColor[type].cutlinkFgColor);
- __cutlinkColor[type].cutlinkFgColor = Color::GetColor(COLOR_ID_BLUE);
+ GET_COLOR_CONFIG(EDIT::CUT_LINK_TEXT_NORMAL, __cutlinkColor[type].cutlinkFgColor);
GET_COLOR_CONFIG(EDIT::CUT_LINK_BG_NORMAL, __cutlinkColor[type].cutlinkBgColor);
}
ChangeLayoutInternal(__pEdit->GetOrientation());
AdjustParentPanelHeight(false);
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
if (__isCopyPasteManagerExist)
if (__pParentForm)
{
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
__pParentForm->Draw();
}
if (__pParentForm)
{
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
__pParentForm->SetClipboardShowState(true);
__pParentForm->Draw();
if (__pParentForm)
{
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
__pParentForm->SetClipboardShowState(true);
__pParentForm->Draw();
if (__pParentForm)
{
__pParentForm->Draw();
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
}
if (__pParentForm)
{
__pParentForm->Draw();
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
}
__pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_OPENED);
}
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
}
else
{
ChangeLayoutInternal(__pEdit->GetOrientation());
//ChangeLayoutInternal(__pEdit->GetOrientation(), false);
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
if (__pParentForm)
{
else
{
__initialParentHeight = 0.0f;
- ScrollPanelToExposedRegion(true);
ScrollPanelToCursorPosition();
}
__initialParentHeight = 0.0f;
ChangeLayoutInternal(orientation);
AdjustParentPanelHeight(false);
+ ScrollPanelToCursorPosition();
}
else // if clipboard exists, boundsChanged callback will delivered after rotate callback
{
{
ChangeLayoutInternal(orientation);
AdjustParentPanelHeight(false);
+ ScrollPanelToCursorPosition();
}
}
}
}
void
-_EditPresenter::ScrollPanelToExposedRegion(bool show)
-{
- if (!__pParentPanel)
- return;
-
- __pParentPanel->ScrollToControl(*__pEdit);
-
- if (show)
- {
- __pParentPanel->Invalidate();
- }
-
- return;
-}
-
-void
_EditPresenter::ScrollPanelToCursorPosition(bool show)
{
if (!__pParentPanel)
ADD_COLOR_CONFIG(GUIDE_TEXT_NORMAL, $F051);
ADD_COLOR_CONFIG(CLEAR_ICON_NORMAL, $F041i);
ADD_COLOR_CONFIG(CLEAR_ICON_PRESSED, $B042);
- ADD_COLOR_CONFIG(CUT_LINK_TEXT_NORMAL, $F011L1);
+ ADD_COLOR_CONFIG(CUT_LINK_TEXT_NORMAL, $B052L5);
ADD_COLOR_CONFIG(CUT_LINK_BG_NORMAL, $B0217);
ADD_COLOR_CONFIG(CURSOR_NORMAL, $F052);