Git init
[framework/uifw/xorg/util/x11-xkb-utils.git] / xkbutils / LED.h
1 /* $Xorg: LED.h,v 1.3 2000/08/17 19:54:51 cpqbld Exp $ */
2 /************************************************************
3  Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
4
5  Permission to use, copy, modify, and distribute this
6  software and its documentation for any purpose and without
7  fee is hereby granted, provided that the above copyright
8  notice appear in all copies and that both that copyright
9  notice and this permission notice appear in supporting
10  documentation, and that the name of Silicon Graphics not be 
11  used in advertising or publicity pertaining to distribution 
12  of the software without specific prior written permission.
13  Silicon Graphics makes no representation about the suitability 
14  of this software for any purpose. It is provided "as is"
15  without any express or implied warranty.
16  
17  SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
18  SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
19  AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20  GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
21  DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 
22  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 
23  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
24  THE USE OR PERFORMANCE OF THIS SOFTWARE.
25
26  ********************************************************/
27 #ifndef _XawLED_h
28 #define _XawLED_h
29
30 #include <X11/Xaw/Simple.h>
31
32 /* Resources:
33
34  Name                Class              RepType         Default Value
35  ----                -----              -------         -------------
36  background          Background         Pixel           XtDefaultBackground
37  bevel               Bevel              Dimension       1
38  bitmap              Pixmap             Pixmap          None
39  border              BorderColor        Pixel           XtDefaultForeground
40  borderWidth         BorderWidth        Dimension       1
41  bottomColor         BottomColor        Pixel           "White"
42  cursor              Cursor             Cursor          None
43  cursorName          Cursor             String          NULL
44  destroyCallback     Callback           XtCallbackList  NULL
45  foreground          Foreground         Pixel           XtDefaultForeground
46  height              Height             Dimension       10
47  insensitiveBorder   Insensitive        Pixmap          Gray
48  ledWidth            ledWidth           Dimension       6
49  ledHeight           ledHeight          Dimension       12
50  mappedWhenManaged   MappedWhenManaged  Boolean         True
51  offColor            OffColor           Pixel           #001000
52  on                  On                 Boolean         False
53  onColor             OnColor            Pixel           Green
54  pointerColor        Foreground         Pixel           XtDefaultForeground
55  pointerColorBackground Background      Pixel           XtDefaultBackground
56  resize              Resize             Boolean         False
57  sensitive           Sensitive          Boolean         False
58  topColor            TopColor           Pixel           "black"
59  width               Width              Dimension       6
60  x                   Position           Position        0
61  y                   Position           Position        0
62
63 */
64
65 #define XtNbevel        "bevel"
66 #define XtNon           "on"
67 #define XtNonColor      "onColor"
68 #define XtNoffColor     "offColor"
69 #define XtNtopColor     "topColor"
70 #define XtNbottomColor  "bottomColor"
71 #define XtNledWidth     "ledWidth"
72 #define XtNledHeight    "ledHeight"
73 #define XtCBevel        "Bevel"
74 #define XtCOn           "On"
75 #define XtCOnColor      "OnColor"
76 #define XtCOffColor     "OffColor"
77 #define XtCTopColor     "TopColor"
78 #define XtCBottomColor  "BottomColor"
79 #define XtCLedWidth     "LedWidth"
80 #define XtCLedHeight    "LedHeight"
81
82 #ifndef _XtStringDefs_h_
83 #define XtNbitmap "bitmap"
84 #define XtNforeground "foreground"
85 #define XtNresize "resize"
86 #define XtCResize "Resize"
87 #define XtCBitmap "Bitmap"
88 #endif
89
90 /* Class record constants */
91
92 extern WidgetClass ledWidgetClass;
93
94 typedef struct _LEDClassRec *LEDWidgetClass;
95 typedef struct _LEDRec      *LEDWidget;
96
97 #endif /* _XawLED_h */