summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/peer/gtk/GtkImageConsumer.h
blob: aeccd061da240d95cb6d2200918af5f5423db312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_gtk_GtkImageConsumer__
#define __gnu_java_awt_peer_gtk_GtkImageConsumer__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace gtk
          {
              class GtkImage;
              class GtkImageConsumer;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class ColorModel;
          class ImageProducer;
      }
    }
  }
}

class gnu::java::awt::peer::gtk::GtkImageConsumer : public ::java::lang::Object
{

public:
  GtkImageConsumer(::gnu::java::awt::peer::gtk::GtkImage *, ::java::awt::image::ImageProducer *);
  virtual void imageComplete(jint);
  virtual void setColorModel(::java::awt::image::ColorModel *);
  virtual void setDimensions(jint, jint);
  virtual void setHints(jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  virtual void setPixels(jint, jint, jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
private:
  JArray< jint > * convertPixels(JArray< jbyte > *);
public:
  virtual void setProperties(::java::util::Hashtable *);
private:
  ::gnu::java::awt::peer::gtk::GtkImage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) target;
  jint width;
  jint height;
  ::java::util::Hashtable * properties;
  JArray< jint > * pixelCache;
  ::java::awt::image::ImageProducer * source;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_gtk_GtkImageConsumer__