File: DumbClip.h

package info (click to toggle)
gridengine 6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 51,532 kB
  • ctags: 51,172
  • sloc: ansic: 418,155; java: 37,080; sh: 22,593; jsp: 7,699; makefile: 5,292; csh: 4,244; xml: 2,901; cpp: 2,086; perl: 1,895; tcl: 1,188; lisp: 669; ruby: 642; yacc: 393; lex: 266
file content (61 lines) | stat: -rw-r--r-- 2,030 bytes parent folder | download | duplicates (3)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* $Id$ */
/*
 * Copyright 1996 John L. Cwikla
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appears in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation, and that the name of John L. Cwikla or
 * Wolfram Research, Inc not be used in advertising or publicity
 * pertaining to distribution of the software without specific, written
 * prior permission.    John L. Cwikla and Wolfram Research, Inc make no
 * representations about the suitability of this software for any
 * purpose. It is provided "as is" without express or implied warranty.
 *
 * John L. Cwikla and Wolfram Research, Inc disclaim all warranties with
 * regard to this software, including all implied warranties of
 * merchantability and fitness, in no event shall John L. Cwikla or
 * Wolfram Research, Inc be liable for any special, indirect or
 * consequential damages or any damages whatsoever resulting from loss of
 * use, data or profits, whether in an action of contract, negligence or
 * other tortious action, arising out of or in connection with the use or
 * performance of this software.
 *
 * Author:
 *  John L. Cwikla
 *  X Programmer
 *  Wolfram Research Inc.
 *
 *  cwikla@wri.com
*/

#ifndef _DumbClip_h
#define _DumbClip_h

#include <Xm/Xm.h>
#include <Xm/BulletinB.h>

extern WidgetClass xmDumbClipWidgetClass;

typedef struct _XmDumbClipRec *XmDumbClipWidget;
typedef struct _XmDumbClipConstraintRec *XmDumbClipConstraint;

#ifndef XmIsDumbClip
#define XmIsDumbClip(a) (XtIsSubclass(a, xmDumbClipWidgetClass))
#endif

typedef struct _XmDumbClipCallbackStruct
{
	int reason;
	XEvent *event;
	Dimension width, height;
} XmDumbClipCallbackStruct;

#ifdef _NO_PROTO
Widget XmCreateDumbClip();
#else
Widget XmCreateDumbClip(Widget _parent, char *_name, ArgList _warg, Cardinal _numWarg);
#endif /* _NO_PROTO */

#endif /* _DumpClip_h */