else
{
_zOrderGroup = zOrderGroup;
- }
- if(IS_MODEL(this) && IS_NEEDED_UPDATE_PRESENTATION(this))
- {
- __pPresentation->SetZOrderGroupProperty(_zOrderGroup);
+ if(likely(__pPresentation))
+ {
+ __pPresentation->_zOrderGroup = zOrderGroup;
+ }
}
+
+// if(IS_MODEL(this) && IS_NEEDED_UPDATE_PRESENTATION(this))
+// {
+// //__pPresentation->SetZOrderGroupProperty(_zOrderGroup);
+// if(likely(__pPresentation))
+// {
+// __pPresentation->_zOrderGroup = zOrderGroup;
+// }
+// }
return r;
}
for (int i = 0; i < static_cast< int >(sizeof(supportedProperties) / sizeof(supportedProperties[0])); i++)
{
- //if (wcscmp(property.GetPointer(), supportedProperties[i]) == 0)
+
if (property.GetPointer() == (*supportedProperties[i])->GetPointer() || property == **supportedProperties[i])
{
return true;
return null;
}
-#if 0
- if (property.CompareTo(String(VePropBounds)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropOpacity)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropChildrenOpacity)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropShowState)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropTransform)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropChildrenTransform)) == 0)
- {
- //ToDo: default implementation
- }
- else if (property.CompareTo(String(VePropZPosition)) == 0)
- {
- //ToDo: default implementation
- }
- else
- return null;
-#endif
VisualElementPropertyAnimation* pAnimation = new (std::nothrow) VisualElementPropertyAnimation();
SysTryReturn(NID_UI_ANIM, pAnimation != null, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");