File: MwCheckMEP.h

package info (click to toggle)
mowitz 0.2.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,168 kB
  • ctags: 4,214
  • sloc: ansic: 30,869; sh: 9,051; makefile: 169
file content (46 lines) | stat: -rw-r--r-- 1,120 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/***************************************************************************/
/* 	This code is part of X-toolkit widget library called Nws 	   */
/*	Copyright (c) 1997,1998,1999 Ondrejicka Stefan			   */
/*	(ondrej@idata.sk)						   */
/*	Distributed under GPL 2 or later				   */
/***************************************************************************/

#ifndef _MwCheckMEP_H_
#define _MwCheckMEP_H_

#include	"MwLabelMEP.h"
#include	"MwCheckME.h"

typedef struct _MwCheckMEClassPart {
	char	empty;
} MwCheckMEClassPart;

typedef struct _MwCheckMEClassRec {
	RectObjClassPart	rect_class;
	MwBaseMEClassPart		baseME_class;
	MwLabelMEClassPart	labelME_class;
	MwCheckMEClassPart	checkME_class;
} MwCheckMEClassRec;

extern	MwCheckMEClassRec	mwCheckMEClassRec;

typedef struct {
	/* resources */
	int		type;
	Boolean		on;
	XtCallbackList	set;
	XtCallbackList	reset;
	XtCallbackList	switchcb;
	/* private */
	Icon		*i_on , *i_off;
} MwCheckMEPart;

typedef struct _MwCheckMERec {
	ObjectPart	object;
	RectObjPart	rectangle;
	MwBaseMEPart	baseME;
	MwLabelMEPart	labelME;
	MwCheckMEPart	checkME;
} MwCheckMERec;

#endif