00001 /* 00002 * $KK: SmeThreeD.h,v 0.3 92/11/04 xx:xx:xx keithley Exp $ 00003 */ 00004 00005 /*********************************************************** 00006 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts, 00007 and the Massachusetts Institute of Technology, Cambridge, Massachusetts. 00008 Copyright 1992 by Kaleb Keithley 00009 00010 All Rights Reserved 00011 00012 Permission to use, copy, modify, and distribute this software and its 00013 documentation for any purpose and without fee is hereby granted, 00014 provided that the above copyright notice appear in all copies and that 00015 both that copyright notice and this permission notice appear in 00016 supporting documentation, and that the names of Digital, MIT, or Kaleb 00017 Keithley not be used in advertising or publicity pertaining to distribution 00018 of the software without specific, written prior permission. 00019 00020 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 00021 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 00022 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 00023 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 00024 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 00025 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 00026 SOFTWARE. 00027 00028 ******************************************************************/ 00029 00030 #ifndef _XawSmeThreeD_h 00031 #define _XawSmeThreeD_h 00032 00033 /*********************************************************************** 00034 * 00035 * ThreeD Widget 00036 * 00037 ***********************************************************************/ 00038 00039 #include <X11/Xmu/Converters.h> 00040 #include <X11/Xaw3d/Sme.h> 00041 00042 /* Parameters: 00043 00044 Name Class RepType Default Value 00045 ---- ----- ------- ------------- 00046 shadowWidth ShadowWidth Dimension 2 00047 topShadowPixel TopShadowPixel Pixel dynamic 00048 bottomShadowPixel BottomShadowPixel Pixel dynamic 00049 topShadowContrast TopShadowContrast Int 20 00050 bottomShadowContrast BottomShadowContrast Int 40 00051 userData UserData XtPointer NULL 00052 beNiceToColormap BeNiceToColormap Boolean False 00053 00054 */ 00055 00056 #define XtNshadowWidth "shadowWidth" 00057 #define XtCShadowWidth "ShadowWidth" 00058 #define XtNtopShadowPixel "topShadowPixel" 00059 #define XtCTopShadowPixel "TopShadowPixel" 00060 #define XtNbottomShadowPixel "bottomShadowPixel" 00061 #define XtCBottomShadowPixel "BottomShadowPixel" 00062 #define XtNtopShadowContrast "topShadowContrast" 00063 #define XtCTopShadowContrast "TopShadowContrast" 00064 #define XtNbottomShadowContrast "bottomShadowContrast" 00065 #define XtCBottomShadowContrast "BottomShadowContrast" 00066 #define XtNbeNiceToColormap "beNiceToColormap" 00067 #define XtCBeNiceToColormap "BeNiceToColormap" 00068 #define XtNbeNiceToColourmap "beNiceToColormap" 00069 #define XtCBeNiceToColourmap "BeNiceToColormap" 00070 #define XtNuserData "userData" 00071 #define XtCUserData "UserData" 00072 00073 typedef struct _SmeThreeDClassRec *SmeThreeDObjectClass; 00074 typedef struct _SmeThreeDRec *SmeThreeDObject; 00075 00076 extern WidgetClass smeThreeDWidgetClass; 00077 00078 _XFUNCPROTOBEGIN 00079 00080 extern void XawSme3dComputeTopShadowRGB ( 00081 #if NeedFunctionPrototypes 00082 Widget /* new */, 00083 XColor* /* xcol_out */ 00084 #endif 00085 ); 00086 00087 extern void XawSme3dComputeBottomShadowRGB ( 00088 #if NeedFunctionPrototypes 00089 Widget /* new */, 00090 XColor* /* xcol_out */ 00091 #endif 00092 ); 00093 00094 _XFUNCPROTOEND 00095 00096 #endif /* _XawSmeThreeD_h */
1.5.1