Back to index

plt-scheme  4.2.1
xwToggleP.h
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #ifndef ___XWTOGGLEP_H
00005 #define ___XWTOGGLEP_H
00006 #include <./xwButtonP.h>
00007 #include <./xwToggle.h>
00008 _XFUNCPROTOBEGIN
00009 
00010 typedef struct {
00011 /* methods */
00012 /* class variables */
00013 int dummy;
00014 } XfwfToggleClassPart;
00015 
00016 typedef struct _XfwfToggleClassRec {
00017 CoreClassPart core_class;
00018 CompositeClassPart composite_class;
00019 XfwfCommonClassPart xfwfCommon_class;
00020 XfwfFrameClassPart xfwfFrame_class;
00021 XfwfBoardClassPart xfwfBoard_class;
00022 XfwfLabelClassPart xfwfLabel_class;
00023 XfwfButtonClassPart xfwfButton_class;
00024 XfwfToggleClassPart xfwfToggle_class;
00025 } XfwfToggleClassRec;
00026 
00027 typedef struct {
00028 /* resources */
00029 XtCallbackList  onCallback;
00030 XtCallbackList  offCallback;
00031 Boolean  on;
00032 Dimension  indicatorSize;
00033 int  indicatorType;
00034 Pixel  indicatorColor;
00035 /* private state */
00036 GC  indicator_gc;
00037 GC  center_gc;
00038 GC  ex_gc;
00039 Dimension  saveLeftMargin;
00040 } XfwfTogglePart;
00041 
00042 typedef struct _XfwfToggleRec {
00043 CorePart core;
00044 CompositePart composite;
00045 XfwfCommonPart xfwfCommon;
00046 XfwfFramePart xfwfFrame;
00047 XfwfBoardPart xfwfBoard;
00048 XfwfLabelPart xfwfLabel;
00049 XfwfButtonPart xfwfButton;
00050 XfwfTogglePart xfwfToggle;
00051 } XfwfToggleRec;
00052 
00053 externalref XfwfToggleClassRec xfwfToggleClassRec;
00054 
00055 _XFUNCPROTOEND
00056 #endif /* ___XWTOGGLEP_H */