swi-prolog: update to 9.2.9
[oi-userland.git] / components / x11 / libXaw5 / src / Panner.h
bloba7058ac219ad9e9b4f34c4f57f509b691b16a9aa
1 /*
2 * $XConsortium: Panner.h,v 1.22 94/04/17 20:12:32 rws Exp $
4 Copyright (c) 1989 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
27 * Author: Jim Fulton, MIT X Consortium
30 #ifndef _XawPanner_h
31 #define _XawPanner_h
33 #include <X11/Xaw/Reports.h>
35 /*****************************************************************************
37 * Panner Widget (subclass of Simple)
39 * This widget is used to represent navigation in a 2d coordinate system.
41 * Parameters:
43 * Name Class Type Default
44 * ---- ----- ---- -------
46 * allowOff AllowOff Boolean FALSE
47 * background Background Pixel XtDefaultBackground
48 * backgroundStipple BackgroundStipple String NULL
49 * canvasWidth CanvasWidth Dimension 0
50 * canvasHeight CanvasHeight Dimension 0
51 * defaultScale DefaultScale Dimension 8 percent
52 * foreground Foreground Pixel XtDefaultBackground
53 * internalSpace InternalSpace Dimension 4
54 * lineWidth LineWidth Dimension 0
55 * reportCallback ReportCallback XtCallbackList NULL
56 * resize Resize Boolean TRUE
57 * rubberBand RubberBand Boolean FALSE
58 * shadowColor ShadowColor Pixel XtDefaultForeground
59 * shadowThickness ShadowThickness Dimension 2
60 * sliderX SliderX Position 0
61 * sliderY SliderY Position 0
62 * sliderWidth SliderWidth Dimension 0
63 * sliderHeight SliderHeight Dimension 0
65 *****************************************************************************/
67 /* new instance and class names */
68 #ifndef _XtStringDefs_h_
69 #define XtNresize "resize"
70 #define XtCResize "Resize"
71 #endif
73 #define XtNallowOff "allowOff"
74 #define XtCAllowOff "AllowOff"
75 #define XtNbackgroundStipple "backgroundStipple"
76 #define XtCBackgroundStipple "BackgroundStipple"
77 #define XtNdefaultScale "defaultScale"
78 #define XtCDefaultScale "DefaultScale"
79 #define XtNcanvasWidth "canvasWidth"
80 #define XtCCanvasWidth "CanvasWidth"
81 #define XtNcanvasHeight "canvasHeight"
82 #define XtCCanvasHeight "CanvasHeight"
83 #define XtNinternalSpace "internalSpace"
84 #define XtCInternalSpace "InternalSpace"
85 #define XtNlineWidth "lineWidth"
86 #define XtCLineWidth "LineWidth"
87 #define XtNrubberBand "rubberBand"
88 #define XtCRubberBand "RubberBand"
89 #define XtNshadowThickness "shadowThickness"
90 #define XtCShadowThickness "ShadowThickness"
91 #define XtNshadowColor "shadowColor"
92 #define XtCShadowColor "ShadowColor"
93 #define XtNsliderX "sliderX"
94 #define XtCSliderX "SliderX"
95 #define XtNsliderY "sliderY"
96 #define XtCSliderY "SliderY"
97 #define XtNsliderWidth "sliderWidth"
98 #define XtCSliderWidth "SliderWidth"
99 #define XtNsliderHeight "sliderHeight"
100 #define XtCSliderHeight "SliderHeight"
102 /* external declarations */
103 extern WidgetClass pannerWidgetClass;
105 typedef struct _PannerClassRec *PannerWidgetClass;
106 typedef struct _PannerRec *PannerWidget;
108 #endif /* _XawPanner_h */