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.
- */
-
-
- /* Private definitions for option widget */
-
- #ifndef _optiongP_h
- #define _optionP_h
-
- #include "option.h"
- #include "toggle.h"
- #include <X11/FormP.h>
-
- typedef struct {int empty;} OptionClassPart;
-
- typedef struct _OptionClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ConstraintClassPart constraint_class;
- FormClassPart form_class;
- OptionClassPart option_class;
- } OptionClassRec;
-
- extern OptionClassRec optionClassRec;
-
- typedef struct _OptionPart {
- /* resources */
- String label; /* title of option */
- XtOrientation orientation; /* orientation of options */
- /* private data */
- Widget labelW; /* widget to display description*/
- int select; /* index of currently selected
- toggle widget */
- } OptionPart;
-
- typedef struct _OptionRec {
- CorePart core;
- CompositePart composite;
- ConstraintPart constraint;
- FormPart form;
- OptionPart option;
- } OptionRec;
-
- typedef struct {int empty;} OptionConstraintsPart;
-
- typedef struct _OptionConstraintsRec {
- FormConstraintsPart form;
- OptionConstraintsPart option;
- } OptionConstraintsRec, *OptionConstraints;
-
- #endif _optionP_h
-