Debian Codegraph @

demos/unsupported/dogs/Square.h

raw
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: Square.h /main/5 1995/07/14 10:06:38 drk $ */
27
28 /*****************************************************************************
29 *
30 * Square.h - widget public header file
31 *
32 ******************************************************************************/
33
34 #ifndef _Square_h
35 #define _Square_h
36
37 #include <Xm/BulletinB.h>
38
39 externalref WidgetClass squareWidgetClass;
40
41 typedef struct _SquareClassRec *SquareWidgetClass;
42 typedef struct _SquareRec *SquareWidget;
43
44 extern Widget SquareCreate();
45 extern int SquareMrmInitialize();
46
47 #define IsSquare(w) XtIsSubclass((w), squareWidgetClass)
48
49 #define SquareWIDTH 0
50 #define SquareHEIGHT 1
51
52 #define SquareNmajorDimension "majorDimension"
53 #define SquareCMajorDimension "MajorDimension"
54
55 #define SquareNmakeSquare "makeSquare"
56 #define SquareCMakeSquare "MakeSquare"
57
58 #endif /* _Square_h */
59 /* DON'T ADD ANYTHING AFTER THIS #endif */