Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:24

0001 /*
0002  *
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024  *
0025  * Author:  Jim Fulton, MIT X Consortium
0026  */
0027 
0028 #ifndef _XawPanner_h
0029 #define _XawPanner_h
0030 
0031 #include <X11/Intrinsic.h>
0032 #include <X11/Xaw/Reports.h>
0033 
0034 /*****************************************************************************
0035  *
0036  * Panner Widget (subclass of Simple)
0037  *
0038  * This widget is used to represent navigation in a 2d coordinate system
0039  *
0040  * Resources:
0041  *
0042  *  Name        Class       Type        Default
0043  *  ----        -----       ----        -------
0044  *
0045  *  allowOff        AllowOff    Boolean     FALSE
0046  *  background      Background  Pixel       XtDefaultBackground
0047  *  backgroundStipple   BackgroundStipple   String  NULL
0048  *  canvasWidth     CanvasWidth Dimension   0
0049  *  canvasHeight    CanvasHeight    Dimension   0
0050  *  defaultScale    DefaultScale    Dimension   8 percent
0051  *  foreground      Foreground  Pixel       XtDefaultBackground
0052  *  internalSpace   InternalSpace   Dimension   4
0053  *  lineWidth       LineWidth   Dimension   0
0054  *  reportCallback  ReportCallback  XtCallbackList  NULL
0055  *  resize      Resize      Boolean     TRUE
0056  *  rubberBand      RubberBand  Boolean     FALSE
0057  *  shadowColor     ShadowColor Pixel       XtDefaultForeground
0058  *  shadowThickness ShadowThickness Dimension   2
0059  *  sliderX     SliderX     Position    0
0060  *  sliderY     SliderY     Position    0
0061  *  sliderWidth     SliderWidth Dimension   0
0062  *  sliderHeight    SliderHeight    Dimension   0
0063  *
0064  *****************************************************************************/
0065 
0066 #ifndef _XtStringDefs_h_
0067 #define XtNresize "resize"
0068 #define XtCResize "Resize"
0069 #endif
0070 
0071 #define XtNallowOff "allowOff"
0072 #define XtCAllowOff "AllowOff"
0073 #define XtNbackgroundStipple "backgroundStipple"
0074 #define XtCBackgroundStipple "BackgroundStipple"
0075 #define XtNdefaultScale "defaultScale"
0076 #define XtCDefaultScale "DefaultScale"
0077 #define XtNcanvasWidth "canvasWidth"
0078 #define XtCCanvasWidth "CanvasWidth"
0079 #define XtNcanvasHeight "canvasHeight"
0080 #define XtCCanvasHeight "CanvasHeight"
0081 #define XtNinternalSpace "internalSpace"
0082 #define XtCInternalSpace "InternalSpace"
0083 #define XtNlineWidth "lineWidth"
0084 #define XtCLineWidth "LineWidth"
0085 #define XtNrubberBand "rubberBand"
0086 #define XtCRubberBand "RubberBand"
0087 #define XtNshadowThickness "shadowThickness"
0088 #define XtCShadowThickness "ShadowThickness"
0089 #define XtNshadowColor "shadowColor"
0090 #define XtCShadowColor "ShadowColor"
0091 #define XtNsliderX "sliderX"
0092 #define XtCSliderX "SliderX"
0093 #define XtNsliderY "sliderY"
0094 #define XtCSliderY "SliderY"
0095 #define XtNsliderWidth "sliderWidth"
0096 #define XtCSliderWidth "SliderWidth"
0097 #define XtNsliderHeight "sliderHeight"
0098 #define XtCSliderHeight "SliderHeight"
0099 
0100 extern WidgetClass pannerWidgetClass;
0101 
0102 typedef struct _PannerClassRec *PannerWidgetClass;
0103 typedef struct _PannerRec      *PannerWidget;
0104 
0105 #endif /* _XawPanner_h */