modules/graphics/src/main/java/com/sun/glass/events/WindowEvent.java

Print this page

        

@@ -25,10 +25,11 @@
 package com.sun.glass.events;
 
 public class WindowEvent {
     final static public int RESIZE                = 511;
     final static public int MOVE                  = 512;
+    final static public int RESCALE               = 513;
 
     final static public int CLOSE                 = 521;
     final static public int DESTROY               = 522;
 
     final static public int MINIMIZE              = 531;

@@ -49,10 +50,12 @@
         switch(eventType) {
             case WindowEvent.RESIZE:
                 return "RESIZE";
             case WindowEvent.MOVE:
                 return "MOVE";
+            case WindowEvent.RESCALE:
+                return "RESCALE";
             case WindowEvent.CLOSE:
                 return "CLOSE";
             case WindowEvent.DESTROY:
                 return "DESTROY";
             case WindowEvent.MINIMIZE: