From: GiWoong Kim Date: Sat, 2 May 2015 08:43:59 +0000 (+0900) Subject: ui: window masking X-Git-Tag: TizenStudio_2.0_p3.0~249 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe729decd4f30c2e492256f91cb263b030e18230;p=sdk%2Femulator%2Fqemu.git ui: window masking Under the resizing event handling sequence, A region mask should be applied to the emulator window after layout changing. Change-Id: I5fa3a3d9ff8ad7a6b266af8c78c25d49e52814db Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/ui/mainwindow.cpp b/tizen/src/ui/mainwindow.cpp index 3b6b612..e02c59f 100644 --- a/tizen/src/ui/mainwindow.cpp +++ b/tizen/src/ui/mainwindow.cpp @@ -382,6 +382,8 @@ void MainWindow::switchForm(int index) uiInfo->getMainFormDisplayType()->getRect(), uiInfo->getMainFormDisplayType()->getAngle()); } + + setMask(uiInfo->getUiRegion()); } void MainWindow::scaleForm(int scale) @@ -400,6 +402,8 @@ void MainWindow::scaleForm(int scale) if (display != NULL) { display->scale(getUIState()->getScaleFactor()); } + + setMask(uiInfo->getUiRegion()); } void MainWindow::capture(void)