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

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

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

revision 1.3 by mkoch, Fri Oct 8 22:49:27 2004 UTC revision 1.4 by mkoch, Fri Oct 22 10:11:11 2004 UTC
# Line 68  public class GdkGraphicsEnvironment exte Line 68  public class GdkGraphicsEnvironment exte
68    {    {
69      return new GdkGraphics2D (image);      return new GdkGraphics2D (image);
70    }    }
71        native private int nativeGetNumFontFamilies ();
72        native private void nativeGetFontFamilies (String[] family_names);
73    
74    public Font[] getAllFonts ()    public Font[] getAllFonts ()
75    {    {
76      throw new java.lang.UnsupportedOperationException ();      throw new java.lang.UnsupportedOperationException ();
77    }    }
78    
79    public String[] getAvailableFontFamilyNames ()      public String[] getAvailableFontFamilyNames ()
80    {      {
81      throw new java.lang.UnsupportedOperationException ();          String[] family_names;
82    }          int array_size;
83    
84            array_size = nativeGetNumFontFamilies();
85            family_names = new String[array_size];
86    
87            nativeGetFontFamilies(family_names);
88            return family_names;
89        }
90    
91    public String[] getAvailableFontFamilyNames (Locale l)    public String[] getAvailableFontFamilyNames (Locale l)
92    {    {

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