skin: added tool window style to Key window
authorgiwoong.kim <giwoong.kim@samsung.com>
Fri, 8 Mar 2013 02:11:57 +0000 (11:11 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Fri, 8 Mar 2013 02:11:57 +0000 (11:11 +0900)
Hide a Key window from the Alt-Tab program switcher
on Windows.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorShmSkin.java
tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java

index 66415d8..7ec849d 100644 (file)
@@ -84,6 +84,7 @@ public class EmulatorShmSkin extends EmulatorSkin {
                        this.framebuffer = new Image(Display.getDefault(), imageData);
 
                        this.runnable = new Runnable() {
+                               @Override
                                public void run() {
                                        // logger.info("update display framebuffer");
                                        if(lcdCanvas.isDisposed() == false) {
@@ -93,6 +94,7 @@ public class EmulatorShmSkin extends EmulatorSkin {
                        };
                }
 
+               @Override
                public void run() {
                        stopRequest = false;
 
index ee1f86c..84f83a9 100644 (file)
@@ -103,7 +103,8 @@ public class KeyWindow extends SkinWindow {
                super(parent, SWT.RIGHT | SWT.CENTER);
 
                this.skin = skin;
-               this.shell = new Shell(Display.getDefault(), SWT.NO_TRIM | SWT.RESIZE);
+               this.shell = new Shell(Display.getDefault(),
+                               SWT.NO_TRIM | SWT.RESIZE | SWT.TOOL);
                this.frameMaker = new SkinPatches(PATCH_IMAGES_PATH);
                this.colorPairTag = colorPairTag;