| 1 |
/* |
| 2 |
* Motif |
| 3 |
* |
| 4 |
* Copyright (c) 1987-2012, The Open Group. All rights reserved. |
| 5 |
* |
| 6 |
* These libraries and programs are free software; you can |
| 7 |
* redistribute them and/or modify them under the terms of the GNU |
| 8 |
* Lesser General Public License as published by the Free Software |
| 9 |
* Foundation; either version 2 of the License, or (at your option) |
| 10 |
* any later version. |
| 11 |
* |
| 12 |
* These libraries and programs are distributed in the hope that |
| 13 |
* they will be useful, but WITHOUT ANY WARRANTY; without even the |
| 14 |
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 15 |
* PURPOSE. See the GNU Lesser General Public License for more |
| 16 |
* details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Lesser General Public |
| 19 |
* License along with these librararies and programs; if not, write |
| 20 |
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth |
| 21 |
* Floor, Boston, MA 02110-1301 USA |
| 22 |
*/ |
| 23 |
/* |
| 24 |
* HISTORY |
| 25 |
*/ |
| 26 |
/* $XConsortium: SquareP.h /main/5 1995/07/14 10:07:05 drk $ */ |
| 27 |
|
| 28 |
|
| 29 |
#ifndef _SquareP_h |
| 30 |
#define _SquareP_h |
| 31 |
|
| 32 |
#include "Square.h" |
| 33 |
#include <Xm/BulletinBP.h> |
| 34 |
|
| 35 |
#define SquareIndex (XmBulletinBIndex + 1) |
| 36 |
|
| 37 |
typedef struct _SquareClassPart |
| 38 |
{ |
| 39 |
XtPointer reserved; |
| 40 |
} SquareClassPart; |
| 41 |
|
| 42 |
|
| 43 |
typedef struct _SquareClassRec |
| 44 |
{ |
| 45 |
CoreClassPart core_class; |
| 46 |
CompositeClassPart composite_class; |
| 47 |
ConstraintClassPart constraint_class; |
| 48 |
XmManagerClassPart manager_class; |
| 49 |
XmBulletinBoardClassPart bulletin_board_class; |
| 50 |
SquareClassPart square_class; |
| 51 |
} SquareClassRec; |
| 52 |
|
| 53 |
externalref SquareClassRec squareClassRec; |
| 54 |
|
| 55 |
typedef struct _SquarePart |
| 56 |
{ |
| 57 |
int major_dimension; |
| 58 |
} SquarePart; |
| 59 |
|
| 60 |
|
| 61 |
/* Full instance record declaration */ |
| 62 |
|
| 63 |
typedef struct _SquareRec |
| 64 |
{ |
| 65 |
CorePart core; |
| 66 |
CompositePart composite; |
| 67 |
ConstraintPart constraint; |
| 68 |
XmManagerPart manager; |
| 69 |
XmBulletinBoardPart bulletin_board; |
| 70 |
SquarePart square; |
| 71 |
} SquareRec; |
| 72 |
|
| 73 |
typedef struct _SquareConstraintPart |
| 74 |
{ |
| 75 |
Boolean make_square; |
| 76 |
} SquareConstraintPart; |
| 77 |
|
| 78 |
typedef struct _SquareConstraintRec |
| 79 |
{ |
| 80 |
XmManagerConstraintPart manager; |
| 81 |
SquareConstraintPart square; |
| 82 |
} SquareConstraintRec, *SquareConstraint; |
| 83 |
|
| 84 |
|
| 85 |
#endif /* _SquareP_h */ |
| 86 |
/* DON'T ADD ANYTHING AFTER THIS #endif */ |