home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / include / x11 / xaw / panner.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  3.9 KB  |  109 lines

  1. /*
  2.  * $XConsortium: Panner.h,v 1.22 94/04/17 20:12:32 rws Exp $
  3.  *
  4. Copyright (c) 1989  X Consortium
  5.  
  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:
  12.  
  13. The above copyright notice and this permission notice shall be included in
  14. all copies or substantial portions of the Software.
  15.  
  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.
  22.  
  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.
  26.  *
  27.  * Author:  Jim Fulton, MIT X Consortium
  28.  */
  29.  
  30. #ifndef _XawPanner_h
  31. #define _XawPanner_h
  32.  
  33. #include <X11/Xaw/Reports.h>
  34.  
  35. /*****************************************************************************
  36.  * 
  37.  * Panner Widget (subclass of Simple)
  38.  * 
  39.  * This widget is used to represent navigation in a 2d coordinate system.
  40.  * 
  41.  * Parameters:
  42.  * 
  43.  *  Name        Class        Type        Default
  44.  *  ----        -----        ----        -------
  45.  * 
  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
  64.  * 
  65.  *****************************************************************************/
  66.  
  67.                     /* new instance and class names */
  68. #ifndef _XtStringDefs_h_
  69. #define XtNresize "resize"
  70. #define XtCResize "Resize"
  71. #endif
  72.  
  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"
  101.  
  102.                     /* external declarations */
  103. extern WidgetClass pannerWidgetClass;
  104.  
  105. typedef struct _PannerClassRec *PannerWidgetClass;
  106. typedef struct _PannerRec      *PannerWidget;
  107.  
  108. #endif /* _XawPanner_h */
  109.