diff options
Diffstat (limited to 'vcl/ios/iosinst.cxx')
-rw-r--r-- | vcl/ios/iosinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 7b4bcd2db879..353abe4662ef 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -155,7 +155,7 @@ public: sal_uLong nSalFrameStyle, SystemParentData *pSysParent ) : SvpSalFrame( pInstance, pParent, nSalFrameStyle, - true, basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA, + true, basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA, pSysParent ) { enableDamageTracker(); @@ -339,7 +339,7 @@ IMPL_LINK( IosSalInstance, RenderWindows, RenderWindowsArg*, arg ) it++ ) { IosSalFrame *pFrame = static_cast<IosSalFrame *>(*it); SalFrameGeometry aGeom = pFrame->GetGeometry(); - CGRect bbox = CGRectMake( aGeom.nX, aGeom.nY, aGeom.nWidth, aGeom.nHeight ); + CGRect bbox = CGRectMake( 0, 0, aGeom.nWidth, aGeom.nHeight ); if ( pFrame->IsVisible() && CGRectIntersectsRect( invalidRect, bbox ) ) { @@ -353,7 +353,7 @@ IMPL_LINK( IosSalInstance, RenderWindows, RenderWindowsArg*, arg ) CGImageCreate( aDevice->getSize().getX(), aDevice->getSize().getY(), 8, 32, aDevice->getScanlineStride(), CGColorSpaceCreateDeviceRGB(), - kCGImageAlphaNoneSkipLast, + kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Little, provider, NULL, false, @@ -428,7 +428,7 @@ void touch_lo_tap(int x, int y) } extern "C" -void touch_lo_mouse_drag(int x, int y, LOMouseButtonState state) +void touch_lo_mouse_drag(int x, int y, MLOMouseButtonState state) { SalFrame *pFocus = IosSalInstance::getInstance()->getFocusFrame(); |