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

« back to all changes in this revision

Viewing changes to routines/X11/Xaw/Label.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
/* $XConsortium: Label.h,v 1.31 91/07/26 19:51:37 converse Exp $ */
 
2
 
 
3
/***********************************************************
 
4
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
 
5
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
 
6
 
 
7
                        All Rights Reserved
 
8
 
 
9
Permission to use, copy, modify, and distribute this software and its 
 
10
documentation for any purpose and without fee is hereby granted, 
 
11
provided that the above copyright notice appear in all copies and that
 
12
both that copyright notice and this permission notice appear in 
 
13
supporting documentation, and that the names of Digital or MIT not be
 
14
used in advertising or publicity pertaining to distribution of the
 
15
software without specific, written prior permission.  
 
16
 
 
17
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 
18
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 
19
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 
20
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
21
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 
22
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
23
SOFTWARE.
 
24
 
 
25
******************************************************************/
 
26
 
 
27
#ifndef _XawLabel_h
 
28
#define _XawLabel_h
 
29
 
 
30
/***********************************************************************
 
31
 *
 
32
 * Label Widget
 
33
 *
 
34
 ***********************************************************************/
 
35
 
 
36
#include <X11/Xaw/Simple.h>
 
37
 
 
38
/* Resources:
 
39
 
 
40
 Name                Class              RepType         Default Value
 
41
 ----                -----              -------         -------------
 
42
 background          Background         Pixel           XtDefaultBackground
 
43
 bitmap              Pixmap             Pixmap          None
 
44
 border              BorderColor        Pixel           XtDefaultForeground
 
45
 borderWidth         BorderWidth        Dimension       1
 
46
 cursor              Cursor             Cursor          None
 
47
 cursorName          Cursor             String          NULL
 
48
 destroyCallback     Callback           XtCallbackList  NULL
 
49
 encoding            Encoding           unsigned char   XawTextEncoding8bit
 
50
 font                Font               XFontStruct*    XtDefaultFont
 
51
 foreground          Foreground         Pixel           XtDefaultForeground
 
52
 height              Height             Dimension       text height
 
53
 insensitiveBorder   Insensitive        Pixmap          Gray
 
54
 internalHeight      Height             Dimension       2
 
55
 internalWidth       Width              Dimension       4
 
56
 justify             Justify            XtJustify       XtJustifyCenter
 
57
 label               Label              String          NULL
 
58
 leftBitmap          LeftBitmap         Pixmap          None
 
59
 mappedWhenManaged   MappedWhenManaged  Boolean         True
 
60
 pointerColor        Foreground         Pixel           XtDefaultForeground
 
61
 pointerColorBackground Background      Pixel           XtDefaultBackground
 
62
 resize              Resize             Boolean         True
 
63
 sensitive           Sensitive          Boolean         True
 
64
 width               Width              Dimension       text width
 
65
 x                   Position           Position        0
 
66
 y                   Position           Position        0
 
67
 
 
68
*/
 
69
 
 
70
#define XawTextEncoding8bit 0
 
71
#define XawTextEncodingChar2b 1
 
72
 
 
73
#define XtNleftBitmap "leftBitmap"
 
74
#define XtCLeftBitmap "LeftBitmap"
 
75
#define XtNencoding "encoding"
 
76
#define XtCEncoding "Encoding"
 
77
 
 
78
#ifndef _XtStringDefs_h_
 
79
#define XtNbitmap "bitmap"
 
80
#define XtNforeground "foreground"
 
81
#define XtNlabel "label"
 
82
#define XtNfont "font"
 
83
#define XtNinternalWidth "internalWidth"
 
84
#define XtNinternalHeight "internalHeight"
 
85
#define XtNresize "resize"
 
86
#define XtCResize "Resize"
 
87
#define XtCBitmap "Bitmap"
 
88
#endif
 
89
 
 
90
/* Class record constants */
 
91
 
 
92
extern WidgetClass labelWidgetClass;
 
93
 
 
94
typedef struct _LabelClassRec *LabelWidgetClass;
 
95
typedef struct _LabelRec      *LabelWidget;
 
96
 
 
97
#endif /* _XawLabel_h */
 
98
/* DON'T ADD STUFF AFTER THIS #endif */