Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

toolkit.hpp File Reference


Compounds

struct  _AlphaImage
struct  _Image
struct  _DecoInset
struct  _Toolkit

Defines

#define DBG (_topic,_msgSpec)
#define DBG_ACTION (_topic,__action)
#define UNIMPLEMENTED (block)
#define TOFIX ()
#define TCHAR
#define AWT_EXPORT
#define AWT_MALLOC (_n)
#define AWT_CALLOC (_n,_sz)
#define AWT_FREE (_adr)
#define JRGB (_r,_g,_b,_a)
#define NRGB (_r,_g,_b,_a)
#define GetAValue (_rgb)
#define GetRValue (_rgb)
#define GetGValue (_rgb)
#define GetBValue (_rgb)
#define RGBCAST (_jint)
#define AWT_OPEN (_file)
#define AWT_REWIND (_fd)
#define AWT_SETPOS (_fd,_off)
#define AWT_READ (_fd,_buf,_count)
#define AWT_CLOSE (_fd)

Typedefs

typedef struct _AlphaImage  AlphaImage
typedef struct _Image  Image
typedef struct _DecoInset  DecoInset
typedef struct _Toolkit  Toolkit
typedef BFont Font

Functions

void* _awt_malloc_wrapper ( size_t size )
void* _awt_calloc_wrapper ( int n, size_t size )
void* getBuffer ( Toolkit* X, unsigned int nBytes )
char* java2CString ( JNIEnv *env, Toolkit* X, jstring jstr )
char* jbyte2CString ( Toolkit* X, jbyte* jb, int len )
char* jchar2CString ( Toolkit* X, jchar* jc, int len )
char* CString2UTF (Toolkit* X, TCHAR* str, int len)
BCursor* getCursor ( jint jCursor )
jlong Java_java_awt_Toolkit_clrBright ( JNIEnv* env, jclass clazz, jint rgb )
jlong Java_java_awt_Toolkit_clrDark ( JNIEnv* env, jclass clazz, jint rgb )
void rgbValues ( Toolkit* X, unsigned long pixel, int* r, int* g, int* b )
rgb_color ColorJ2N (int jrgb)
int ColorN2J (rgb_color nrgb)
ImagecreateImage ( int width, int height)
ImagereadImage ( BPositionIO * stream)
creates an Image from a stream of data (a file or your_preferred_source_here), using the Translation Kit to build the bitmap. More...

void createMaskImage ( Toolkit* X, Image* img)
void createClrImage ( Toolkit* X, Image* img)
void freeImage ( Toolkit* X, Image* img)
jobject selectionClear ( JNIEnv* env, Toolkit* X )
jobject selectionRequest ( JNIEnv* env, Toolkit* X )

Variables

ToolkitX
jclass Tlk
JNIEnv* JniEnv


Define Documentation

#define DBG (_topic, _msgSpec)

#define DBG_ACTION (_topic, __action)

#define UNIMPLEMENTED (block)

#define TOFIX ()

#define TCHAR ()

#define AWT_EXPORT ()

#define AWT_MALLOC (_n)

#define AWT_CALLOC (_n, _sz)

#define AWT_FREE (_adr)

#define JRGB (_r, _g, _b, _a)

#define NRGB (_r, _g, _b, _a)

#define GetAValue (_rgb)

#define GetRValue (_rgb)

#define GetGValue (_rgb)

#define GetBValue (_rgb)

#define RGBCAST (_jint)

#define AWT_OPEN (_file)

#define AWT_REWIND (_fd)

#define AWT_SETPOS (_fd, _off)

#define AWT_READ (_fd, _buf, _count)

#define AWT_CLOSE (_fd)


Typedef Documentation

typedef struct _AlphaImage AlphaImage

typedef struct _Image Image

typedef struct _DecoInset DecoInset

typedef struct _Toolkit Toolkit

typedef BFont Font


Function Documentation

void * _awt_malloc_wrapper (size_t size) [inline, static]

void * _awt_calloc_wrapper (int n, size_t size) [inline, static]

void * getBuffer (Toolkit * X, unsigned int nBytes) [inline, static]

char * java2CString (JNIEnv * env, Toolkit * X, jstring jstr) [inline, static]

char * jbyte2CString (Toolkit * X, jbyte * jb, int len) [inline, static]

char * jchar2CString (Toolkit * X, jchar * jc, int len) [inline, static]

char * CString2UTF (Toolkit * X, TCHAR * str, int len) [inline, static]

BCursor * getCursor (jint jCursor) [inline, static]

jlong __cdecl Java_java_awt_Toolkit_clrBright (JNIEnv * env, jclass clazz, jint jrgb)

jlong __cdecl Java_java_awt_Toolkit_clrDark (JNIEnv * env, jclass clazz, jint jrgb)

void rgbValues (Toolkit * X, unsigned long pixel, int * r, int * g, int * b) [inline, static]

rgb_color ColorJ2N (int jrgb) [inline, static]

int ColorN2J (rgb_color nrgb) [inline, static]

Image* createImage (int width, int height)

Image * readImage (BPositionIO * data)

creates an Image from a stream of data (a file or your_preferred_source_here), using the Translation Kit to build the bitmap.

FOR GIF IMAGES WE NEED GIF TRANSLATOR INSTALLED, SHOULD WE EMBED THIS CAPABILITY INTO KAFFE ?

void createMaskImage (Toolkit * X, Image * img)

void createClrImage (Toolkit * X, Image * img)

void freeImage (Toolkit * X, Image * img)

jobject selectionClear (JNIEnv * env, Toolkit * X)

jobject selectionRequest (JNIEnv * env, Toolkit * X)


Variable Documentation

Toolkit* X

jclass Tlk

JNIEnv* JniEnv


Generated at Sat Jun 10 12:37:09 2000 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999