diff options
Diffstat (limited to 'include/X11/Xaw/XawImP.h')
-rw-r--r-- | include/X11/Xaw/XawImP.h | 188 |
1 files changed, 89 insertions, 99 deletions
diff --git a/include/X11/Xaw/XawImP.h b/include/X11/Xaw/XawImP.h index 1974a19..4f70554 100644 --- a/include/X11/Xaw/XawImP.h +++ b/include/X11/Xaw/XawImP.h @@ -51,6 +51,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xaw/XawImP.h,v 3.9 2001/12/14 19:54:46 dawes Exp $ */ #ifndef _XawImP_h #define _XawImP_h @@ -74,8 +75,7 @@ in this Software without prior written authorization from The Open Group. #define CICursorP (1 << 5) #define CILineS (1 << 6) -typedef struct _XawImPart -{ +typedef struct _XawImPart { XIM xim; XrmResourceList resources; Cardinal num_resources; @@ -86,8 +86,7 @@ typedef struct _XawImPart String preedit_type; } XawImPart; -typedef struct _XawIcTablePart -{ +typedef struct _XawIcTablePart { Widget widget; XIC xic; XIMStyle input_style; @@ -104,8 +103,7 @@ typedef struct _XawIcTablePart struct _XawIcTablePart *next; } XawIcTablePart, *XawIcTableList; -typedef struct _XawIcPart -{ +typedef struct _XawIcPart { XIMStyle input_style; Boolean shared_ic; XawIcTableList shared_ic_table; @@ -113,111 +111,103 @@ typedef struct _XawIcPart XawIcTableList ic_table; } XawIcPart; -typedef struct _contextDataRec -{ +typedef struct _contextDataRec { Widget parent; Widget ve; } contextDataRec; -typedef struct _contextErrDataRec -{ +typedef struct _contextErrDataRec { Widget widget; XIM xim; } contextErrDataRec; -void _XawImResizeVendorShell( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -Dimension _XawImGetShellHeight( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -void _XawImRealize( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -void _XawImInitialize( -#if NeedFunctionPrototypes - Widget, /* w */ - Widget /* ext */ -#endif -); - -void _XawImReconnect( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -void _XawImRegister( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); +void _XawImResizeVendorShell +( + Widget w + ); -void _XawImUnregister( -#if NeedFunctionPrototypes - Widget /* w */ -#endif +Dimension _XawImGetShellHeight +( + Widget w ); -void _XawImSetValues( -#if NeedFunctionPrototypes - Widget, /* w */ - ArgList, /* args */ - Cardinal /* num_args */ -#endif +void _XawImRealize +( + Widget w + ); + +void _XawImInitialize +( + Widget w, + Widget ext + ); + +void _XawImReconnect +( + Widget w + ); + +void _XawImRegister +( + Widget w + ); + +void _XawImUnregister +( + Widget w + ); + +void _XawImSetValues +( + Widget w, + ArgList args, + Cardinal num_args + ); + +void _XawImSetFocusValues +( + Widget w, + ArgList args, + Cardinal num_args ); -void _XawImSetFocusValues( -#if NeedFunctionPrototypes - Widget, /* w */ - ArgList, /* args */ - Cardinal /* num_args */ -#endif -); - -void _XawImUnsetFocus( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -int _XawImWcLookupString( -#if NeedFunctionPrototypes - Widget, /* w */ - XKeyPressedEvent*, /* event */ - wchar_t*, /* buffer_return */ - int, /* bytes_buffer */ - KeySym*, /* keysym_return */ - Status* /* status return */ -#endif -); - -int _XawImGetImAreaHeight( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -void _XawImCallVendorShellExtResize( -#if NeedFunctionPrototypes - Widget /* w */ -#endif -); - -void _XawImDestroy( -#if NeedFunctionPrototypes - Widget, /* w */ - Widget /* ext */ -#endif -); +void _XawImUnsetFocus +( + Widget w + ); + +int _XawImWcLookupString +( + Widget w, + XKeyPressedEvent *event, + wchar_t *buffer_return, + int bytes_buffer, + KeySym *keysym_return + ); + +int _XawLookupString +( + Widget w, + XKeyEvent *event, + char *buffer_return, + int buffer_size, + KeySym *keysym_return + ); + +int _XawImGetImAreaHeight +( + Widget w + ); + +void _XawImCallVendorShellExtResize +( + Widget w + ); + +void _XawImDestroy +( + Widget w, + Widget ext + ); #endif /* _XawImP_h */ |