summaryrefslogtreecommitdiff
path: root/libjava/java/awt/image/MemoryImageSource.h
blob: e717ee87c1263f695fbb183466f5169ddbd01c6e (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_image_MemoryImageSource__
#define __java_awt_image_MemoryImageSource__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class ColorModel;
          class ImageConsumer;
          class MemoryImageSource;
      }
    }
  }
}

class java::awt::image::MemoryImageSource : public ::java::lang::Object
{

public:
  MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint);
  MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jbyte > *, jint, jint, ::java::util::Hashtable *);
  MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint);
  MemoryImageSource(jint, jint, ::java::awt::image::ColorModel *, JArray< jint > *, jint, jint, ::java::util::Hashtable *);
  MemoryImageSource(jint, jint, JArray< jint > *, jint, jint, ::java::util::Hashtable *);
  MemoryImageSource(jint, jint, JArray< jint > *, jint, jint);
  virtual void addConsumer(::java::awt::image::ImageConsumer *);
  virtual jboolean isConsumer(::java::awt::image::ImageConsumer *);
  virtual void removeConsumer(::java::awt::image::ImageConsumer *);
  virtual void startProduction(::java::awt::image::ImageConsumer *);
  virtual void requestTopDownLeftRightResend(::java::awt::image::ImageConsumer *);
  virtual void setAnimated(jboolean);
  virtual void setFullBufferUpdates(jboolean);
  virtual void newPixels();
private:
  void sendPicture(::java::awt::image::ImageConsumer *);
public:
  virtual void newPixels(jint, jint, jint, jint);
  virtual void newPixels(jint, jint, jint, jint, jboolean);
  virtual void newPixels(JArray< jbyte > *, ::java::awt::image::ColorModel *, jint, jint);
  virtual void newPixels(JArray< jint > *, ::java::awt::image::ColorModel *, jint, jint);
private:
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) animated;
  jboolean fullbuffers;
  JArray< jint > * pixeli;
  jint width;
  jint height;
  jint offset;
  jint scansize;
  JArray< jbyte > * pixelb;
  ::java::awt::image::ColorModel * cm;
  ::java::util::Hashtable * props;
  ::java::util::Vector * consumers;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_image_MemoryImageSource__