LED.h revision 010cdda0
1010cdda0Smrg/* $Xorg: LED.h,v 1.3 2000/08/17 19:54:51 cpqbld Exp $ */ 2010cdda0Smrg/************************************************************ 3010cdda0Smrg Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc. 4010cdda0Smrg 5010cdda0Smrg Permission to use, copy, modify, and distribute this 6010cdda0Smrg software and its documentation for any purpose and without 7010cdda0Smrg fee is hereby granted, provided that the above copyright 8010cdda0Smrg notice appear in all copies and that both that copyright 9010cdda0Smrg notice and this permission notice appear in supporting 10010cdda0Smrg documentation, and that the name of Silicon Graphics not be 11010cdda0Smrg used in advertising or publicity pertaining to distribution 12010cdda0Smrg of the software without specific prior written permission. 13010cdda0Smrg Silicon Graphics makes no representation about the suitability 14010cdda0Smrg of this software for any purpose. It is provided "as is" 15010cdda0Smrg without any express or implied warranty. 16010cdda0Smrg 17010cdda0Smrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 18010cdda0Smrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 19010cdda0Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 20010cdda0Smrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 21010cdda0Smrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 22010cdda0Smrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 23010cdda0Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 24010cdda0Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE. 25010cdda0Smrg 26010cdda0Smrg ********************************************************/ 27010cdda0Smrg#ifndef _XawLED_h 28010cdda0Smrg#define _XawLED_h 29010cdda0Smrg 30010cdda0Smrg#include <X11/Xaw/Simple.h> 31010cdda0Smrg 32010cdda0Smrg/* Resources: 33010cdda0Smrg 34010cdda0Smrg Name Class RepType Default Value 35010cdda0Smrg ---- ----- ------- ------------- 36010cdda0Smrg background Background Pixel XtDefaultBackground 37010cdda0Smrg bevel Bevel Dimension 1 38010cdda0Smrg bitmap Pixmap Pixmap None 39010cdda0Smrg border BorderColor Pixel XtDefaultForeground 40010cdda0Smrg borderWidth BorderWidth Dimension 1 41010cdda0Smrg bottomColor BottomColor Pixel "White" 42010cdda0Smrg cursor Cursor Cursor None 43010cdda0Smrg cursorName Cursor String NULL 44010cdda0Smrg destroyCallback Callback XtCallbackList NULL 45010cdda0Smrg foreground Foreground Pixel XtDefaultForeground 46010cdda0Smrg height Height Dimension 10 47010cdda0Smrg insensitiveBorder Insensitive Pixmap Gray 48010cdda0Smrg ledWidth ledWidth Dimension 6 49010cdda0Smrg ledHeight ledHeight Dimension 12 50010cdda0Smrg mappedWhenManaged MappedWhenManaged Boolean True 51010cdda0Smrg offColor OffColor Pixel #001000 52010cdda0Smrg on On Boolean False 53010cdda0Smrg onColor OnColor Pixel Green 54010cdda0Smrg pointerColor Foreground Pixel XtDefaultForeground 55010cdda0Smrg pointerColorBackground Background Pixel XtDefaultBackground 56010cdda0Smrg resize Resize Boolean False 57010cdda0Smrg sensitive Sensitive Boolean False 58010cdda0Smrg topColor TopColor Pixel "black" 59010cdda0Smrg width Width Dimension 6 60010cdda0Smrg x Position Position 0 61010cdda0Smrg y Position Position 0 62010cdda0Smrg 63010cdda0Smrg*/ 64010cdda0Smrg 65010cdda0Smrg#define XtNbevel "bevel" 66010cdda0Smrg#define XtNon "on" 67010cdda0Smrg#define XtNonColor "onColor" 68010cdda0Smrg#define XtNoffColor "offColor" 69010cdda0Smrg#define XtNtopColor "topColor" 70010cdda0Smrg#define XtNbottomColor "bottomColor" 71010cdda0Smrg#define XtNledWidth "ledWidth" 72010cdda0Smrg#define XtNledHeight "ledHeight" 73010cdda0Smrg#define XtCBevel "Bevel" 74010cdda0Smrg#define XtCOn "On" 75010cdda0Smrg#define XtCOnColor "OnColor" 76010cdda0Smrg#define XtCOffColor "OffColor" 77010cdda0Smrg#define XtCTopColor "TopColor" 78010cdda0Smrg#define XtCBottomColor "BottomColor" 79010cdda0Smrg#define XtCLedWidth "LedWidth" 80010cdda0Smrg#define XtCLedHeight "LedHeight" 81010cdda0Smrg 82010cdda0Smrg#ifndef _XtStringDefs_h_ 83010cdda0Smrg#define XtNbitmap "bitmap" 84010cdda0Smrg#define XtNforeground "foreground" 85010cdda0Smrg#define XtNresize "resize" 86010cdda0Smrg#define XtCResize "Resize" 87010cdda0Smrg#define XtCBitmap "Bitmap" 88010cdda0Smrg#endif 89010cdda0Smrg 90010cdda0Smrg/* Class record constants */ 91010cdda0Smrg 92010cdda0Smrgextern WidgetClass ledWidgetClass; 93010cdda0Smrg 94010cdda0Smrgtypedef struct _LEDClassRec *LEDWidgetClass; 95010cdda0Smrgtypedef struct _LEDRec *LEDWidget; 96010cdda0Smrg 97010cdda0Smrg#endif /* _XawLED_h */ 98