~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/X11/Xaw/SimpleP.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***********************************************************
 
2
 
 
3
 $XConsortium: SimpleP.h,v 1.10 90/03/05 17:47:33 kit Exp $ 
 
4
 
 
5
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
 
6
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
 
7
 
 
8
                        All Rights Reserved
 
9
 
 
10
Permission to use, copy, modify, and distribute this software and its 
 
11
documentation for any purpose and without fee is hereby granted, 
 
12
provided that the above copyright notice appear in all copies and that
 
13
both that copyright notice and this permission notice appear in 
 
14
supporting documentation, and that the names of Digital or MIT not be
 
15
used in advertising or publicity pertaining to distribution of the
 
16
software without specific, written prior permission.  
 
17
 
 
18
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 
19
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 
20
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 
21
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
22
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 
23
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
24
SOFTWARE.
 
25
 
 
26
******************************************************************/
 
27
 
 
28
#ifndef _SimpleP_h
 
29
#define _SimpleP_h
 
30
 
 
31
#include <X11/Xaw/Simple.h>
 
32
/* #include <X11/CoreP.h> */
 
33
 
 
34
typedef struct {
 
35
    Boolean     (*change_sensitive)(/* widget */);
 
36
} SimpleClassPart;
 
37
 
 
38
#define XtInheritChangeSensitive ((Boolean (*)())_XtInherit)
 
39
 
 
40
typedef struct _SimpleClassRec {
 
41
    CoreClassPart       core_class;
 
42
    SimpleClassPart     simple_class;
 
43
} SimpleClassRec;
 
44
 
 
45
extern SimpleClassRec simpleClassRec;
 
46
 
 
47
typedef struct {
 
48
    /* resources */
 
49
    Cursor      cursor;
 
50
    Pixmap      insensitive_border;
 
51
    String      cursor_name;    /* cursor specified by name. */
 
52
 
 
53
    Pixel       pointer_fg, pointer_bg; /* Pointer colors. */
 
54
    /* private state */
 
55
} SimplePart;
 
56
 
 
57
typedef struct _SimpleRec {
 
58
    CorePart    core;
 
59
    SimplePart  simple;
 
60
} SimpleRec;
 
61
 
 
62
#endif /* _SimpleP_h */