GripP.h

Go to the documentation of this file.
00001 /*
00002 * $XConsortium: GripP.h,v 1.15 94/04/17 20:12:11 kit Exp $
00003 */
00004 
00005 
00006 /***********************************************************
00007 
00008 Copyright (c) 1987, 1988  X Consortium
00009 
00010 Permission is hereby granted, free of charge, to any person obtaining a copy
00011 of this software and associated documentation files (the "Software"), to deal
00012 in the Software without restriction, including without limitation the rights
00013 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00014 copies of the Software, and to permit persons to whom the Software is
00015 furnished to do so, subject to the following conditions:
00016 
00017 The above copyright notice and this permission notice shall be included in
00018 all copies or substantial portions of the Software.
00019 
00020 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00021 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00022 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00023 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00024 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00025 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00026 
00027 Except as contained in this notice, the name of the X Consortium shall not be
00028 used in advertising or otherwise to promote the sale, use or other dealings
00029 in this Software without prior written authorization from the X Consortium.
00030 
00031 
00032 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
00033 
00034                         All Rights Reserved
00035 
00036 Permission to use, copy, modify, and distribute this software and its 
00037 documentation for any purpose and without fee is hereby granted, 
00038 provided that the above copyright notice appear in all copies and that
00039 both that copyright notice and this permission notice appear in 
00040 supporting documentation, and that the name of Digital not be
00041 used in advertising or publicity pertaining to distribution of the
00042 software without specific, written prior permission.  
00043 
00044 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
00045 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
00046 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
00047 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
00048 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
00049 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
00050 SOFTWARE.
00051 
00052 ******************************************************************/
00053 
00054 /*
00055  *  GripP.h - Private definitions for Grip widget (Used by VPane Widget)
00056  *
00057  */
00058 
00059 #ifndef _XawGripP_h
00060 #define _XawGripP_h
00061 
00062 #include <X11/Xaw3d/Grip.h>
00063 #include <X11/Xaw3d/ThreeDP.h>
00064 
00065 /*****************************************************************************
00066  *
00067  * Grip Widget Private Data
00068  *
00069  *****************************************************************************/
00070 
00071 #define DEFAULT_GRIP_SIZE 8
00072 
00073 /* New fields for the Grip widget class record */
00074 typedef struct {int empty;} GripClassPart;
00075 
00076 /* Full Class record declaration */
00077 typedef struct _GripClassRec {
00078     CoreClassPart    core_class;
00079     SimpleClassPart  simple_class;
00080     ThreeDClassPart  threeD_class;
00081     GripClassPart    grip_class;
00082 } GripClassRec;
00083 
00084 extern GripClassRec gripClassRec;
00085 
00086 /* New fields for the Grip widget record */
00087 typedef struct {
00088   XtCallbackList grip_action;
00089 } GripPart;
00090 
00091 /*****************************************************************************
00092  *
00093  * Full instance record declaration
00094  *
00095  ****************************************************************************/
00096 
00097 typedef struct _GripRec {
00098    CorePart    core;
00099    SimplePart  simple;
00100    ThreeDPart  threeD;
00101    GripPart    grip;
00102 } GripRec;
00103 
00104 #endif /* _XawGripP_h */
00105 

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