home *** CD-ROM | disk | FTP | other *** search
- /*
- * Systems Sciences Laboratory, Webster Research Center
- *
- * Copyright (c) 1988 Xerox Corporation. All rights reserved.
- *
- * Copyright protection claimed includes all forms and matters of copyrightable
- * material and information now allowed by statutory or judicial lay or
- * herinafter granted, including without limitation, material generated from
- * the software programs which are displayed on the screen such as icons,
- * screen display looks, etc.
- */
-
- /*
- * ToggleP.h - Private definitions for Toggle widget
- *
- */
-
- #ifndef _XtToggleP_h
- #define _XtToggleP_h
-
- #include "toggle.h"
- #include <X11/CommandP.h>
-
- /***********************************************************************
- *
- * Toggle Widget Private Data
- *
- ***********************************************************************/
-
- /************************************
- *
- * Class structure
- *
- ***********************************/
-
-
- /* New fields for the Command widget class record */
- typedef struct _ToggleClass
- {
- int makes_compiler_happy; /* not used */
- } ToggleClassPart;
-
- /* Full class record declaration */
- typedef struct _ToggleClassRec {
- CoreClassPart core_class;
- SimpleClassPart simple_class;
- LabelClassPart label_class;
- CommandClassPart command_class;
- ToggleClassPart toggle_class;
- } ToggleClassRec;
-
- extern ToggleClassRec toggleClassRec;
-
- /***************************************
- *
- * Instance (widget) structure
- *
- **************************************/
-
- /* New fields for the Command widget record */
- typedef struct {
- /* resources */
- XtState state;
- } TogglePart;
-
-
- /* Full widget declaration */
- typedef struct _ToggleRec {
- CorePart core;
- SimplePart simple;
- LabelPart label;
- CommandPart command;
- TogglePart toggle;
- } ToggleRec;
-
- #define XtCState "State"
- #define XtRState "State"
-
- #endif _XtToggleP_h
-
-
-