Merge branch 'master' into xcircuit-3.10
[xcircuit.git] / Xw / WorkSpaceP.h
blob91be92be260b7aacdf7ae894b0377f8ee8288fc7
1 /*************************************<+>*************************************
2 *****************************************************************************
3 **
4 ** File: WorkSpaceP.h
5 **
6 ** Project: X Widgets
7 **
8 ** Description: Private include file for the WorkSpace class
9 **
10 *****************************************************************************
11 **
12 ** Copyright (c) 1988 by Hewlett-Packard Company
13 ** Copyright (c) 1988 by the Massachusetts Institute of Technology
14 **
15 ** Permission to use, copy, modify, and distribute this software
16 ** and its documentation for any purpose and without fee is hereby
17 ** granted, provided that the above copyright notice appear in all
18 ** copies and that both that copyright notice and this permission
19 ** notice appear in supporting documentation, and that the names of
20 ** Hewlett-Packard or M.I.T. not be used in advertising or publicity
21 ** pertaining to distribution of the software without specific, written
22 ** prior permission.
23 **
24 *****************************************************************************
25 *************************************<+>*************************************/
28 /* WorkSpace class structure */
30 typedef struct _XwWorkSpaceClassPart
32 int foo; /* No new fields needed */
33 } XwWorkSpaceClassPart;
36 /* Full class record declaration for WorkSpace class */
38 typedef struct _XwWorkSpaceClassRec
40 CoreClassPart core_class;
41 XwPrimitiveClassPart primitive_class;
42 XwWorkSpaceClassPart workSpace_class;
43 } XwWorkSpaceClassRec;
45 extern XwWorkSpaceClassRec XwworkSpaceClassRec;
48 /* The WorkSpace instance record */
50 typedef struct _XwWorkSpacePart
52 XtCallbackList resize;
53 XtCallbackList expose;
54 XtCallbackList key_down;
55 XtCallbackList key_up;
56 } XwWorkSpacePart;
59 /* Full instance record declaration */
61 typedef struct _XwWorkSpaceRec
63 CorePart core;
64 XwPrimitivePart primitive;
65 XwWorkSpacePart workSpace;
66 } XwWorkSpaceRec;