Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/global.h

raw
1 /* @(#)global.h 17.1 (ESO-IPG) 01/25/02 17:26:04 */
2 /*---------------------------------------------------------------------
3 * $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $
4 *---------------------------------------------------------------------
5 *
6 *
7 * Copyright (c) 1992, Visual Edge Software Ltd.
8 *
9 * ALL RIGHTS RESERVED. Permission to use, copy, modify, and
10 * distribute this software and its documentation for any purpose
11 * and without fee is hereby granted, provided that the above
12 * copyright notice appear in all copies and that both that
13 * copyright notice and this permission notice appear in supporting
14 * documentation, and that the name of Visual Edge Software not be
15 * used in advertising or publicity pertaining to distribution of
16 * the software without specific, written prior permission. The year
17 * included in the notice is the year of the creation of the work.
18 *-------------------------------------------------------------------*/
19
20 /* ---------------------------------------------------------------------------
21 Globals that are used through out the program
22 ---------------------------------------------------------------------------*/
23
24 #ifndef _GLOBAL_INCLUDED
25 #define _GLOBAL_INCLUDED
26
27 #include "uxproto.h"
28 #include "vhandle.h"
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33
34
35 /* The following variables have storage defined for them in init_uimx.c
36 by means of the dubious practice of defining 'extern' to be nothing */
37
38 extern Window UxRootWindow;
39 extern Widget UxTopLevel; /* The top level shell */
40 extern Widget UxSystemParent; /* parent of all of UIM/X's own interfaces */
41 extern Display *UxDisplay;
42 extern int UxScreen;
43 extern XtAppContext UxAppContext;
44 extern GC UxDrawGC, UxUimxBlackGC, UxUimxWhiteGC;
45 extern vhandle UxVh_shells, UxVh_widgets;
46 extern XEvent *UxEvent;
47 extern char *UxUserShell;
48 extern vhandle UxActionTable;
49
50 extern void UxInternalError UXPROTO((char *, int, ...));
51 extern void UxStandardError UXPROTO((char *, ...));
52
53
54 #ifdef OL_WIDGETS
55 /* these are added back in for the purpose of getting the beta OL version */
56 extern vhandle Ux_trsl_list;
57 extern vhandle Ux_action_tab;
58 extern vhandle UxActionList;
59 #endif /* OL_WIDGETS */
60
61 #ifdef MOTIF_WIDGETS
62 #define WINDOW_MANAGER "mwm" /*for when reading from resource files*/
63 #endif /* MOTIF_WIDGETS */
64
65 #ifdef OL_WIDGETS
66 #define WINDOW_MANAGER "olwm" /* not currently used: just for consistency */
67 #endif /* OL_WIDGETS */
68
69 #ifdef __cplusplus
70 } /* Close scope of 'extern "C"' declaration which encloses file. */
71 #endif /* __cplusplus */
72
73
74 #endif /* _GLOBAL_INCLUDED */