Back to index

plt-scheme  4.2.1
xwLabelP.h
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #ifndef ___XWLABELP_H
00005 #define ___XWLABELP_H
00006 #include <./xwBoardP.h>
00007 #include <./xwLabel.h>
00008 _XFUNCPROTOBEGIN
00009 typedef void (*set_label_Proc)(
00010 #if NeedFunctionPrototypes
00011 Widget,String 
00012 #endif
00013 );
00014 #define XtInherit_set_label ((set_label_Proc) _XtInherit)
00015 
00016 typedef struct {
00017 /* methods */
00018 set_label_Proc set_label;
00019 /* class variables */
00020 } XfwfLabelClassPart;
00021 
00022 typedef struct _XfwfLabelClassRec {
00023 CoreClassPart core_class;
00024 CompositeClassPart composite_class;
00025 XfwfCommonClassPart xfwfCommon_class;
00026 XfwfFrameClassPart xfwfFrame_class;
00027 XfwfBoardClassPart xfwfBoard_class;
00028 XfwfLabelClassPart xfwfLabel_class;
00029 } XfwfLabelClassRec;
00030 
00031 typedef struct {
00032 /* resources */
00033 String  label;
00034 String  tablist;
00035 XFontStruct * font;
00036 void * xfont;
00037 Pixmap  pixmap;
00038 Pixmap  maskmap;
00039 Pixel  foreground;
00040 Pixel  text_bg;
00041 Alignment  alignment;
00042 Dimension  topMargin;
00043 Dimension  bottomMargin;
00044 Dimension  leftMargin;
00045 Dimension  rightMargin;
00046 Boolean  shrinkToFit;
00047 int  rvStart;
00048 int  rvLength;
00049 Boolean  drawgray;
00050 /* private state */
00051 int  nlines;
00052 int * tabs;
00053 GC  gc;
00054 GC  graygc;
00055 Dimension  label_width;
00056 Dimension  label_height;
00057 unsigned  int  label_depth;
00058 unsigned  int  mask_depth;
00059 } XfwfLabelPart;
00060 
00061 typedef struct _XfwfLabelRec {
00062 CorePart core;
00063 CompositePart composite;
00064 XfwfCommonPart xfwfCommon;
00065 XfwfFramePart xfwfFrame;
00066 XfwfBoardPart xfwfBoard;
00067 XfwfLabelPart xfwfLabel;
00068 } XfwfLabelRec;
00069 
00070 externalref XfwfLabelClassRec xfwfLabelClassRec;
00071 
00072 _XFUNCPROTOEND
00073 #endif /* ___XWLABELP_H */