/[libvob]/libvob/org/nongnu/libvob/GraphicsAPI.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/GraphicsAPI.java

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

revision 1.2 by tjl, Fri Mar 7 11:38:20 2003 UTC revision 1.3 by tjl, Tue Mar 25 18:23:46 2003 UTC
# Line 35  import java.awt.*; Line 35  import java.awt.*;
35   * provide.   * provide.
36   * This is currently a singleton class but that may change in the future.   * This is currently a singleton class but that may change in the future.
37   * <p>   * <p>
38   * The System property <code>gzzclient</code> sets the API type: either "awt" or "gl"   * The System property <code>vob.api</code> sets the API type: either "awt" or "gl"
39   * should be used.   * should be used.
40   */   */
41  public abstract class GraphicsAPI {  public abstract class GraphicsAPI {
# Line 45  public abstract class GraphicsAPI { Line 45  public abstract class GraphicsAPI {
45      private static String type;      private static String type;
46    
47      static private void init() {      static private void init() {
48          String cl = System.getProperty("gzzclient");          String cl = System.getProperty("vob.api");
49          if(cl == null || cl.equals("awt")) {          if(cl == null || cl.equals("awt")) {
50              gfxapi = new org.nongnu.libvob.impl.awt.AWTAPI();              gfxapi = new org.nongnu.libvob.impl.awt.AWTAPI();
51              type = "awt";              type = "awt";

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

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