equal
deleted
inserted
replaced
351 //Note for compatibility with Oghma: |
351 //Note for compatibility with Oghma: |
352 //This method does not properly error check or return KErrArgument, |
352 //This method does not properly error check or return KErrArgument, |
353 //as that would propagate a client panic in SetBackgroundSurface which did not previously occur. |
353 //as that would propagate a client panic in SetBackgroundSurface which did not previously occur. |
354 aElement.SetSourceRotation(GcToElementRotation(aSurfaceConfiguration.Orientation())); |
354 aElement.SetSourceRotation(GcToElementRotation(aSurfaceConfiguration.Orientation())); |
355 // Set or clear flip if the element flags are changing |
355 // Set or clear flip if the element flags are changing |
356 if (aSurfaceConfiguration.Flip() != aElement.SourceFlipping()) |
356 if ( (!aSurfaceConfiguration.Flip()) != (!aElement.SourceFlipping()) ) |
357 { |
357 { |
358 aElement.SetSourceFlipping(!aElement.SourceFlipping()); |
358 aElement.SetSourceFlipping(!aElement.SourceFlipping()); |
359 } |
359 } |
360 return KErrNone; |
360 return KErrNone; |
361 } |
361 } |