/[classpath]/classpath/gnu/java/awt/peer/gtk/GdkGraphics.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GdkGraphics.java

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

revision 1.46 by fitzsim, Fri Sep 9 23:55:40 2005 UTC revision 1.47 by langel, Wed Sep 28 13:59:14 2005 UTC
# Line 88  public class GdkGraphics extends Graphic Line 88  public class GdkGraphics extends Graphic
88      color = g.color;      color = g.color;
89      xorColor = g.xorColor;      xorColor = g.xorColor;
90      font = g.font;      font = g.font;
91        if (font == null)
92          font = new Font ("Dialog", Font.PLAIN, 12);
93      clip = new Rectangle (g.clip);      clip = new Rectangle (g.clip);
94      component = g.component;      component = g.component;
95    
# Line 380  public class GdkGraphics extends Graphic Line 382  public class GdkGraphics extends Graphic
382        
383    public void setFont (Font font)    public void setFont (Font font)
384    {    {
385      this.font = font;      if (font != null)
386          this.font = font;
387    }    }
388    
389    native void setFunction (int gdk_func);    native void setFunction (int gdk_func);

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

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