17a84e134Smrg/* 27a84e134Smrg * 37a84e134SmrgCopyright 1989, 1998 The Open Group 47a84e134Smrg 57a84e134SmrgPermission to use, copy, modify, distribute, and sell this software and its 67a84e134Smrgdocumentation for any purpose is hereby granted without fee, provided that 77a84e134Smrgthe above copyright notice appear in all copies and that both that 87a84e134Smrgcopyright notice and this permission notice appear in supporting 97a84e134Smrgdocumentation. 107a84e134Smrg 117a84e134SmrgThe above copyright notice and this permission notice shall be included in 127a84e134Smrgall copies or substantial portions of the Software. 137a84e134Smrg 147a84e134SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 157a84e134SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 167a84e134SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 177a84e134SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 187a84e134SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 197a84e134SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 207a84e134Smrg 217a84e134SmrgExcept as contained in this notice, the name of The Open Group shall not be 227a84e134Smrgused in advertising or otherwise to promote the sale, use or other dealings 237a84e134Smrgin this Software without prior written authorization from The Open Group. 247a84e134Smrg * 257a84e134Smrg * Author: Jim Fulton, MIT X Consortium 267a84e134Smrg */ 277a84e134Smrg 287a84e134Smrg#ifndef _XawPanner_h 297a84e134Smrg#define _XawPanner_h 307a84e134Smrg 317a84e134Smrg#include <X11/Intrinsic.h> 327a84e134Smrg#include <X11/Xaw/Reports.h> 337a84e134Smrg 347a84e134Smrg/***************************************************************************** 35421c997bSmrg * 367a84e134Smrg * Panner Widget (subclass of Simple) 37421c997bSmrg * 387a84e134Smrg * This widget is used to represent navigation in a 2d coordinate system 39421c997bSmrg * 407a84e134Smrg * Resources: 41421c997bSmrg * 427a84e134Smrg * Name Class Type Default 437a84e134Smrg * ---- ----- ---- ------- 44421c997bSmrg * 457a84e134Smrg * allowOff AllowOff Boolean FALSE 467a84e134Smrg * background Background Pixel XtDefaultBackground 477a84e134Smrg * backgroundStipple BackgroundStipple String NULL 487a84e134Smrg * canvasWidth CanvasWidth Dimension 0 497a84e134Smrg * canvasHeight CanvasHeight Dimension 0 507a84e134Smrg * defaultScale DefaultScale Dimension 8 percent 517a84e134Smrg * foreground Foreground Pixel XtDefaultBackground 527a84e134Smrg * internalSpace InternalSpace Dimension 4 537a84e134Smrg * lineWidth LineWidth Dimension 0 547a84e134Smrg * reportCallback ReportCallback XtCallbackList NULL 557a84e134Smrg * resize Resize Boolean TRUE 567a84e134Smrg * rubberBand RubberBand Boolean FALSE 577a84e134Smrg * shadowColor ShadowColor Pixel XtDefaultForeground 587a84e134Smrg * shadowThickness ShadowThickness Dimension 2 597a84e134Smrg * sliderX SliderX Position 0 607a84e134Smrg * sliderY SliderY Position 0 617a84e134Smrg * sliderWidth SliderWidth Dimension 0 627a84e134Smrg * sliderHeight SliderHeight Dimension 0 63421c997bSmrg * 647a84e134Smrg *****************************************************************************/ 657a84e134Smrg 667a84e134Smrg#ifndef _XtStringDefs_h_ 677a84e134Smrg#define XtNresize "resize" 687a84e134Smrg#define XtCResize "Resize" 697a84e134Smrg#endif 707a84e134Smrg 717a84e134Smrg#define XtNallowOff "allowOff" 727a84e134Smrg#define XtCAllowOff "AllowOff" 737a84e134Smrg#define XtNbackgroundStipple "backgroundStipple" 747a84e134Smrg#define XtCBackgroundStipple "BackgroundStipple" 757a84e134Smrg#define XtNdefaultScale "defaultScale" 767a84e134Smrg#define XtCDefaultScale "DefaultScale" 777a84e134Smrg#define XtNcanvasWidth "canvasWidth" 787a84e134Smrg#define XtCCanvasWidth "CanvasWidth" 797a84e134Smrg#define XtNcanvasHeight "canvasHeight" 807a84e134Smrg#define XtCCanvasHeight "CanvasHeight" 817a84e134Smrg#define XtNinternalSpace "internalSpace" 827a84e134Smrg#define XtCInternalSpace "InternalSpace" 837a84e134Smrg#define XtNlineWidth "lineWidth" 847a84e134Smrg#define XtCLineWidth "LineWidth" 857a84e134Smrg#define XtNrubberBand "rubberBand" 867a84e134Smrg#define XtCRubberBand "RubberBand" 877a84e134Smrg#define XtNshadowThickness "shadowThickness" 887a84e134Smrg#define XtCShadowThickness "ShadowThickness" 897a84e134Smrg#define XtNshadowColor "shadowColor" 907a84e134Smrg#define XtCShadowColor "ShadowColor" 917a84e134Smrg#define XtNsliderX "sliderX" 927a84e134Smrg#define XtCSliderX "SliderX" 937a84e134Smrg#define XtNsliderY "sliderY" 947a84e134Smrg#define XtCSliderY "SliderY" 957a84e134Smrg#define XtNsliderWidth "sliderWidth" 967a84e134Smrg#define XtCSliderWidth "SliderWidth" 977a84e134Smrg#define XtNsliderHeight "sliderHeight" 987a84e134Smrg#define XtCSliderHeight "SliderHeight" 997a84e134Smrg 1007a84e134Smrgextern WidgetClass pannerWidgetClass; 1017a84e134Smrg 1027a84e134Smrgtypedef struct _PannerClassRec *PannerWidgetClass; 1037a84e134Smrgtypedef struct _PannerRec *PannerWidget; 1047a84e134Smrg 1057a84e134Smrg#endif /* _XawPanner_h */ 106