00001 /* Generated by wbuild from "AreaSet.w" 00002 ** (generator version $Revision: 1.1.1.1 $ of $Date: 2005/02/10 18:31:03 $) 00003 */ 00004 #ifndef _AreaSetP_H_ 00005 #define _AreaSetP_H_ 00006 #include <X11/CoreP.h> 00007 #include <Xlse/AreaSet.h> 00008 00009 typedef struct { 00010 /* methods */ 00011 /* class variables */ 00012 t_rgb colors[NB_COLORS]; 00013 } AreaSetClassPart; 00014 00015 typedef struct _AreaSetClassRec { 00016 CoreClassPart core_class; 00017 AreaSetClassPart areaSet_class; 00018 } AreaSetClassRec; 00019 00020 typedef struct { 00021 /* resources */ 00022 t_area_set * areaSet; 00023 t_area * selectedArea; 00024 Pixel multiSelectColor; 00025 XtCallbackList callback; 00026 XtCallbackList multiSelectCallback; 00027 XFontStruct * font; 00028 /* private state */ 00029 Position orig_x; 00030 Position orig_y; 00031 Position prev_x; 00032 Position prev_y; 00033 Position zoom_y; 00034 GC xor_gc; 00035 GC gcs[NB_COLORS]; 00036 GC text_gc; 00037 } AreaSetPart; 00038 00039 typedef struct _AreaSetRec { 00040 CorePart core; 00041 AreaSetPart areaSet; 00042 } AreaSetRec; 00043 00044 externalref AreaSetClassRec areaSetClassRec; 00045 00046 #endif /* _AreaSetP_H_ */