1 /*************************************<+>*************************************
2 *****************************************************************************
8 ** Description: Private include file for Toggle class, used by
9 ** widgets which are subclasses of the toggle widget
10 ** or which need to get direct access to the instance
11 ** and class fields of the toggle 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 Toggle widget class record
35 ********************************************/
37 typedef struct {int foo
;} XwToggleClassPart
;
40 /****************************************************
42 * Full class record declaration for Toggle class
44 ****************************************************/
45 typedef struct _XwToggleClassRec
{
46 CoreClassPart core_class
;
47 XwPrimitiveClassPart primitive_class
;
48 XwButtonClassPart button_class
;
49 XwToggleClassPart toggle_class
;
53 extern XwToggleClassRec XwtoggleClassRec
;
56 /********************************************
58 * No new fields needed for instance record
60 ********************************************/
62 typedef struct _XwTogglePart
71 /****************************************************************
73 * Full instance record declaration
75 ****************************************************************/
77 typedef struct _XwToggleRec
{
79 XwPrimitivePart primitive
;