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

wnd.cpp File Reference


Compounds

class  KWindow

Defines

#define WND_FRAME
#define WND_DIALOG
#define WND_WINDOW
#define WND_MAPPED
#define WND_DESTROYED

Functions

filter_result windowEventFilter (BMessage * msg, BHandler ** target, BMessageFilter * msgFilter)
the common event filter used by every native window to intercept events, see implementation in evt.cpp. More...

void __cdecl Java_java_awt_Toolkit_wndSetTitle ( JNIEnv* env, jclass clazz, KWindow* wnd, jstring jTitle )
void __cdecl Java_java_awt_Toolkit_wndSetResizable ( JNIEnv* env, jclass clazz, KWindow* wnd, jboolean isResizable, int x, int y, int width, int height )
void* __cdecl Java_java_awt_Toolkit_wndCreateFrame ( JNIEnv* env, jclass clazz, jstring jTitle, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack, jboolean isResizable )
void* __cdecl Java_java_awt_Toolkit_wndCreateWindow ( JNIEnv* env, jclass clazz, KWindow* owner, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack )
void* __cdecl Java_java_awt_Toolkit_wndCreateDialog ( JNIEnv* env, jclass clazz, KWindow* owner, jstring jTitle, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack, jboolean isResizable )
void __cdecl Java_java_awt_Toolkit_wndDestroyWindow ( JNIEnv* env, jclass clazz, KWindow* wnd )
void __cdecl Java_java_awt_Toolkit_wndRequestFocus ( JNIEnv* env, jclass clazz, KWindow* wnd )
void __cdecl Java_java_awt_Toolkit_wndSetFrameInsets ( JNIEnv* env, jclass clazz, jint top, jint left, jint bottom, jint right )
void __cdecl Java_java_awt_Toolkit_wndSetDialogInsets ( JNIEnv* env, jclass clazz, jint top, jint left, jint bottom, jint right )
void __cdecl Java_java_awt_Toolkit_wndSetBounds ( JNIEnv* env, jclass clazz, KWindow* wnd, jint x, jint y, jint width, jint height, jboolean isResizable )
void __cdecl Java_java_awt_Toolkit_wndRepaint ( JNIEnv* env, jclass clazz, KWindow* wnd, jint x, jint y, jint width, jint height )
void __cdecl Java_java_awt_Toolkit_wndSetIcon ( JNIEnv* env, jclass clazz, KWindow* wnd, void* img )
void __cdecl Java_java_awt_Toolkit_wndSetVisible ( JNIEnv* env, jclass clazz, KWindow* wnd, jboolean showIt )
void __cdecl Java_java_awt_Toolkit_wndToBack ( JNIEnv* env, jclass clazz, KWindow* wnd )
void __cdecl Java_java_awt_Toolkit_wndToFront ( JNIEnv* env, jclass clazz, KWindow* wnd )
void __cdecl Java_java_awt_Toolkit_wndSetCursor ( JNIEnv* env, jclass clazz, KWindow* wnd, jint jCursor )

Variables

BMessage* KWM_DESTROY
wnd.cpp - native toplevel window related functions. More...

const char* RootViewName


Define Documentation

#define WND_FRAME ()

#define WND_DIALOG ()

#define WND_WINDOW ()

#define WND_MAPPED ()

#define WND_DESTROYED ()


Function Documentation

filter_result windowEventFilter (BMessage * msg, BHandler ** target, BMessageFilter * msgFilter)

the common event filter used by every native window to intercept events, see implementation in evt.cpp.

We don't want to break the native event chain, we just insert ourselves between message reception and message dispatch to the native objects

message loop -> [our MessageFilter] -> DispatchMessage -> object-oriented handlers

void __cdecl Java_java_awt_Toolkit_wndSetTitle (JNIEnv * env, jclass clazz, KWindow * wnd, jstring jTitle)

void __cdecl Java_java_awt_Toolkit_wndSetResizable (JNIEnv * env, jclass clazz, KWindow * wnd, jboolean isResizable, int x, int y, int width, int height)

void *__cdecl Java_java_awt_Toolkit_wndCreateFrame (JNIEnv * env, jclass clazz, jstring jTitle, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack, jboolean isResizable)

void *__cdecl Java_java_awt_Toolkit_wndCreateWindow (JNIEnv * env, jclass clazz, KWindow * owner, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack)

void *__cdecl Java_java_awt_Toolkit_wndCreateDialog (JNIEnv * env, jclass clazz, KWindow * owner, jstring jTitle, jint x, jint y, jint width, jint height, jint jCursor, jint clrBack, jboolean isResizable)

void __cdecl Java_java_awt_Toolkit_wndDestroyWindow (JNIEnv * env, jclass clazz, KWindow * wnd)

void __cdecl Java_java_awt_Toolkit_wndRequestFocus (JNIEnv * env, jclass clazz, KWindow * wnd)

void __cdecl Java_java_awt_Toolkit_wndSetFrameInsets (JNIEnv * env, jclass clazz, jint top, jint left, jint bottom, jint right)

void __cdecl Java_java_awt_Toolkit_wndSetDialogInsets (JNIEnv * env, jclass clazz, jint top, jint left, jint bottom, jint right)

void __cdecl Java_java_awt_Toolkit_wndSetBounds (JNIEnv * env, jclass clazz, KWindow * wnd, jint x, jint y, jint width, jint height, jboolean isResizable)

void __cdecl Java_java_awt_Toolkit_wndRepaint (JNIEnv * env, jclass clazz, KWindow * wnd, jint x, jint y, jint width, jint height)

void __cdecl Java_java_awt_Toolkit_wndSetIcon (JNIEnv * env, jclass clazz, KWindow * wnd, void * img)

void __cdecl Java_java_awt_Toolkit_wndSetVisible (JNIEnv * env, jclass clazz, KWindow * wnd, jboolean showIt)

void __cdecl Java_java_awt_Toolkit_wndToBack (JNIEnv * env, jclass clazz, KWindow * wnd)

void __cdecl Java_java_awt_Toolkit_wndToFront (JNIEnv * env, jclass clazz, KWindow * wnd)

void __cdecl Java_java_awt_Toolkit_wndSetCursor (JNIEnv * env, jclass clazz, KWindow * wnd, jint jCursor)


Variable Documentation

BMessage* KWM_DESTROY

wnd.cpp - native toplevel window related functions.

Copyright (c) 1999-2000 Transvirtual Technologies, Inc. All rights reserved.

Portions Copyright (c) 1999 Sim Ijskes

Author(s):
Tomaso Paoletti <t_paoletti@hotmail.com>

See the file "license.terms" for information on usage and redistribution of this file.

const char* RootViewName


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