/[libvob]/libvob/org/nongnu/libvob/impl/gl/GLUpdateManager.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/impl/gl/GLUpdateManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tjl, Wed Apr 9 14:09:26 2003 UTC revision 1.4 by tjl, Tue Jul 22 12:01:50 2003 UTC
# Line 38  import java.awt.AWTEventMulticaster; Line 38  import java.awt.AWTEventMulticaster;
38  public class GLUpdateManager extends AbstractUpdateManager {  public class GLUpdateManager extends AbstractUpdateManager {
39  public static final String rcsid = "$Id$";  public static final String rcsid = "$Id$";
40      public static boolean dbg = false;      public static boolean dbg = false;
41      private static void pa(String s) { System.out.println(s); }      private static void pa(String s) { System.out.println("GLUpdateManager: "+s); }
42    
43      // can be switched from jython..      // can be switched from jython..
44      public static boolean demoMode = false;      public static boolean demoMode = false;
# Line 57  public static final String rcsid = "$Id$ Line 57  public static final String rcsid = "$Id$
57    
58      protected boolean handleEvents(boolean waitForEvent) {      protected boolean handleEvents(boolean waitForEvent) {
59          if(dbg) pa("HandleEvents "+waitForEvent);          if(dbg) pa("HandleEvents "+waitForEvent);
60          GL.eventLoop(waitForEvent);          return GL.eventLoop(waitForEvent);
         return true;  
61      }      }
62    
63      /* for demo-events at the end of doIdle() */      /* for demo-events at the end of doIdle() */
# Line 87  public static final String rcsid = "$Id$ Line 86  public static final String rcsid = "$Id$
86              }              }
87          }          }
88    
89          if(super.doIdle()) return true;          if(super.doIdle()) {
90                if(dbg) pa("super.doIdle true");
91                return true;
92            }
93          GL.freeQueue();          GL.freeQueue();
94            if(dbg) pa("doIdle false");
95          return false;          return false;
96      }      }
97    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26