122 |
public int checkImage (Image image, int width, int height, |
public int checkImage (Image image, int width, int height, |
123 |
ImageObserver observer) |
ImageObserver observer) |
124 |
{ |
{ |
125 |
int status = ((GtkImage) image).checkImage (); |
int status = ImageObserver.ALLBITS |
126 |
|
| ImageObserver.WIDTH |
127 |
|
| ImageObserver.HEIGHT; |
128 |
|
|
129 |
|
if (image instanceof GtkImage) |
130 |
|
{ |
131 |
|
status = ((GtkImage) image).checkImage (); |
132 |
|
} |
133 |
|
|
134 |
if (observer != null) |
if (observer != null) |
135 |
observer.imageUpdate (image, status, |
observer.imageUpdate (image, status, |