ThreeD.h

Go to the documentation of this file.
00001 /*
00002 * $KK: ThreeD.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 _XawThreeD_h
00031 #define _XawThreeD_h
00032 
00033 /***********************************************************************
00034  *
00035  * ThreeD Widget
00036  *
00037  ***********************************************************************/
00038 
00039 #include <X11/Xmu/Converters.h>
00040 
00041 /* Parameters:
00042 
00043  Name                 Class              RepType         Default Value
00044  ----                 -----              -------         -------------
00045  shadowWidth          ShadowWidth          Dimension     2
00046  topShadowPixel       TopShadowPixel       Pixel         dynamic
00047  bottomShadowPixel    BottomShadowPixel    Pixel         dynamic
00048  topShadowContrast    TopShadowContrast    Int           20
00049  bottomShadowContrast BottomShadowContrast Int           40
00050  userData             UserData             XtPointer     NULL
00051  beNiceToColormap     BeNiceToColormap     Boolean       False
00052 
00053 */
00054 
00055 #define XtNshadowWidth "shadowWidth"
00056 #define XtCShadowWidth "ShadowWidth"
00057 #define XtNtopShadowPixel "topShadowPixel"
00058 #define XtCTopShadowPixel "TopShadowPixel"
00059 #define XtNbottomShadowPixel "bottomShadowPixel"
00060 #define XtCBottomShadowPixel "BottomShadowPixel"
00061 #define XtNtopShadowContrast "topShadowContrast"
00062 #define XtCTopShadowContrast "TopShadowContrast"
00063 #define XtNbottomShadowContrast "bottomShadowContrast"
00064 #define XtCBottomShadowContrast "BottomShadowContrast"
00065 #define XtNbeNiceToColormap "beNiceToColormap"
00066 #define XtCBeNiceToColormap "BeNiceToColormap"
00067 #define XtNbeNiceToColourmap "beNiceToColormap"
00068 #define XtCBeNiceToColourmap "BeNiceToColormap"
00069 #define XtNuserData "userData"
00070 #define XtCUserData "UserData"
00071 
00072 typedef struct _ThreeDRec *ThreeDWidget;
00073 typedef struct _ThreeDClassRec *ThreeDWidgetClass;
00074 
00075 extern WidgetClass threeDWidgetClass;
00076 
00077 _XFUNCPROTOBEGIN
00078 
00079 extern void Xaw3dComputeTopShadowRGB (
00080 #if NeedFunctionPrototypes
00081     Widget              /* new */,
00082     XColor*             /* xcol_out */
00083 #endif
00084 );
00085 
00086 extern void Xaw3dComputeBottomShadowRGB (
00087 #if NeedFunctionPrototypes
00088     Widget              /* new */,
00089     XColor*             /* xcol_out */
00090 #endif
00091 );
00092 
00093 _XFUNCPROTOEND
00094 
00095 #endif /* _XawThreeD_h */

Generated on Sun Mar 4 15:03:55 2007 for Scilab [trunk] by  doxygen 1.5.1