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

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

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

revision 1.22 by glavaux, Wed Aug 3 13:12:59 2005 UTC revision 1.23 by mark, Tue Aug 16 18:16:26 2005 UTC
# Line 241  public class GtkImage extends Image Line 241  public class GtkImage extends Image
241    }    }
242    
243    /**    /**
244       * Package private constructor to create a GtkImage from a given
245       * PixBuf pointer.
246       */
247      GtkImage (Pointer pixbuf)
248      {
249        pixmap = pixbuf;
250        createFromPixbuf();
251        isLoaded = true;
252        observers = null;
253        offScreen = false;
254        props = new Hashtable();
255      }
256    
257      /**
258       * Native helper function for constructor that takes a pixbuf Pointer.
259       */
260      private native void createFromPixbuf();
261    
262      /**
263     * Callback from the image consumer.     * Callback from the image consumer.
264     */     */
265    public void setImage(int width, int height,    public void setImage(int width, int height,

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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