__pLiveboxLayer = move(pLayer);
__pLiveboxFrameRootVisualElement = __pLiveboxLayer->GetRootVisualElement();
+
+ _VisualElement* pVisualElement = GetVisualElement();
+ r = GetLastResult();
+ SysTryReturn(NID_UI_CTRL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
+
+ pVisualElement->SetClipChildrenEnabled(false);
+ pVisualElement->SetShowState(true);
+
+ __pLiveboxFrameRootVisualElement->AttachChild(*pVisualElement);
#endif // MULTI_WINDOW
Rectangle bounds(0, 0, liveboxSize.width, liveboxSize.height);
__pLiveboxFrameRootVisualElement->SetBounds(fBounds);
__pLiveboxFrameRootVisualElement->SetShowState(false);
- _VisualElement* pVisualElement = GetVisualElement();
- r = GetLastResult();
- SysTryReturn(NID_UI_CTRL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
-
- __pLiveboxFrameRootVisualElement->AttachChild(*pVisualElement);
-
SetBackgroundColor(Color(0, 0, 0, 0));
- pVisualElement->SetClipChildrenEnabled(false);
- pVisualElement->SetShowState(true);
-
r = __pEventManager->RegisterTouchEventHandler(*this);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
__pLiveboxPopupLayer = move(pLayer);
__pLiveboxPopupRootVisualElement = __pLiveboxPopupLayer->GetRootVisualElement();
+
+ _VisualElement* pVisualElement = GetVisualElement();
+ r = GetLastResult();
+ SysTryReturn(NID_UI_CTRL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
+
+ pVisualElement->SetClipChildrenEnabled(false);
+ pVisualElement->SetShowState(true);
+ pVisualElement->SetRenderOperation(_VisualElement::RENDER_OPERATION_COPY);
+
+ __pLiveboxPopupRootVisualElement->AttachChild(*pVisualElement);
#endif // MULTI_WINDOW
Rectangle bounds(0, 0, size.width, size.height);
__pLiveboxPopupRootVisualElement->SetBounds(fBounds);
__pLiveboxPopupRootVisualElement->SetShowState(false);
- _VisualElement* pVisualElement = GetVisualElement();
- r = GetLastResult();
- SysTryReturn(NID_UI_CTRL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
-
- __pLiveboxPopupRootVisualElement->AttachChild(*pVisualElement);
-
SetBackgroundColor(Color(0, 0, 0, 0));
- pVisualElement->SetClipChildrenEnabled(false);
- pVisualElement->SetShowState(true);
-
__pEventManager->RegisterTouchEventHandler(*this);
r = GetLastResult();
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
animation1.SetDuration(ANIMATION1_DURATION);
animationGroup.AddAnimation(animation1);
-
+/*
float startOpacity = 0.0f;
float endOpacity = 1.0f;
if (!open)
animation2.SetDuration(ANIMATION2_DURATION);
animationGroup.AddAnimation(animation2);
-
+*/
String keyName = (open) ? OPEN_ANIMATION : CLOSE_ANIMATION;
pVisualElement->AddAnimation(keyName, animationGroup);
}