From 6978e4a7bde3617e2abb73eaec90fc40e5e02e21 Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Sat, 2 May 2015 17:43:59 +0900 Subject: [PATCH] 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 --- tizen/src/ui/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.7.4