equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the plugins of the Qt Toolkit. |
7 ** This file is part of the plugins of the Qt Toolkit. |
8 ** |
8 ** |
376 createWindow(windowGeometry); |
376 createWindow(windowGeometry); |
377 win->update(); |
377 win->update(); |
378 return; |
378 return; |
379 } |
379 } |
380 screen->flipSurface(dfbSurface, flipFlags, region, offset); |
380 screen->flipSurface(dfbSurface, flipFlags, region, offset); |
381 if (noSystemBackground) { |
|
382 dfbSurface->Clear(dfbSurface, 0, 0, 0, 0); |
|
383 } |
|
384 #else |
381 #else |
385 setOpaque(windowOpacity != 0xff); |
382 setOpaque(windowOpacity != 0xff); |
386 if (mode == Offscreen) { |
383 if (mode == Offscreen) { |
387 screen->exposeRegion(region.translated(offset + geometry().topLeft()), 0); |
384 screen->exposeRegion(region.translated(offset + geometry().topLeft()), 0); |
388 } else { |
385 } else { |