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