1 /*************************************<+>*************************************
2 *****************************************************************************
8 ** Description: Private include file for widgets which are
9 ** subclasses of push button or which need to
10 ** access directly the instance and class fields
11 ** of the pushbutton widget.
13 *****************************************************************************
15 ** Copyright (c) 1988 by Hewlett-Packard Company
16 ** Copyright (c) 1988 by the Massachusetts Institute of Technology
18 ** Permission to use, copy, modify, and distribute this software
19 ** and its documentation for any purpose and without fee is hereby
20 ** granted, provided that the above copyright notice appear in all
21 ** copies and that both that copyright notice and this permission
22 ** notice appear in supporting documentation, and that the names of
23 ** Hewlett-Packard or M.I.T. not be used in advertising or publicity
24 ** pertaining to distribution of the software without specific, written
27 *****************************************************************************
28 *************************************<+>*************************************/
30 /********************************************
32 * No new fields need to be defined
33 * for the PushButton widget class record
35 ********************************************/
37 typedef struct {int foo
;} XwPushButtonClassPart
;
40 /****************************************************
42 * Full class record declaration for PushButton class
44 ****************************************************/
45 typedef struct _XwPushButtonClassRec
{
46 CoreClassPart core_class
;
47 XwPrimitiveClassPart primitive_class
;
48 XwButtonClassPart button_class
;
49 XwPushButtonClassPart pushbutton_class
;
50 } XwPushButtonClassRec
;
53 extern XwPushButtonClassRec XwpushButtonClassRec
;
56 /********************************************
58 * No new fields needed for instance record
60 ********************************************/
62 typedef struct _XwPushButtonPart
{
68 /****************************************************************
70 * Full instance record declaration
72 ****************************************************************/
74 typedef struct _XwPushButtonRec
{
76 XwPrimitivePart primitive
;
78 XwPushButtonPart pushbutton
;