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

  1. /* $XConsortium: StripChart.h,v 1.6 94/04/17 20:12:57 converse Exp $ */
  2.  
  3. /***********************************************************
  4.  
  5. Copyright (c) 1987, 1988  X Consortium
  6.  
  7. Permission is hereby granted, free of charge, to any person obtaining a copy
  8. of this software and associated documentation files (the "Software"), to deal
  9. in the Software without restriction, including without limitation the rights
  10. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  11. copies of the Software, and to permit persons to whom the Software is
  12. furnished to do so, subject to the following conditions:
  13.  
  14. The above copyright notice and this permission notice shall be included in
  15. all copies or substantial portions of the Software.
  16.  
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  20. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  21. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23.  
  24. Except as contained in this notice, the name of the X Consortium shall not be
  25. used in advertising or otherwise to promote the sale, use or other dealings
  26. in this Software without prior written authorization from the X Consortium.
  27.  
  28.  
  29. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  30.  
  31.                         All Rights Reserved
  32.  
  33. Permission to use, copy, modify, and distribute this software and its 
  34. documentation for any purpose and without fee is hereby granted, 
  35. provided that the above copyright notice appear in all copies and that
  36. both that copyright notice and this permission notice appear in 
  37. supporting documentation, and that the name of Digital not be
  38. used in advertising or publicity pertaining to distribution of the
  39. software without specific, written prior permission.  
  40.  
  41. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  42. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  43. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  44. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  45. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  46. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  47. SOFTWARE.
  48.  
  49. ******************************************************************/
  50.  
  51. #ifndef _XawStripChart_h
  52. #define _XawStripChart_h
  53.  
  54. /***********************************************************************
  55.  *
  56.  * StripChart Widget
  57.  *
  58.  ***********************************************************************/
  59.  
  60. /* StripChart resources:
  61.  
  62.  Name             Class        RepType        Default Value
  63.  ----             -----        -------        -------------
  64.  accelerators         Accelerators    AcceleratorTable NULL
  65.  ancestorSensitive   AncestorSensitive    Boolean        True 
  66.  background         Background        Pixel        XtDefaultBackground
  67.  backgroundPixmap    Pixmap        Pixmap        XtUnspecifiedPixmap
  68.  borderColor         BorderColor    Pixel        XtDefaultForeground
  69.  borderPixmap         Pixmap        Pixmap        XtUnspecifiedPixmap
  70.  borderWidth         BorderWidth    Dimension    1
  71.  colormap         Colormap        Colormap    parent's colormap
  72.  cursor             Cursor        Cursor        None
  73.  cursorName         Cursor        String        NULL
  74.  depth             Depth        int        parent's depth
  75.  destroyCallback     Callback        XtCallbackList    NULL
  76.  foreground         Foreground        Pixel        XtDefaultForeground
  77.  getValue         Callback        XtCallbackList    NULL
  78.  height             Height        Dimension    120
  79.  highlight         Foreground        Pixel        XtDefaultForeground
  80.  insensitiveBorder   Insensitive    Pixmap        GreyPixmap
  81.  jumpScroll         JumpScroll        int        1/2 width
  82.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  83.  minScale         Scale        int        1
  84.  pointerColor         Foreground        Pixel        XtDefaultForeground
  85.  pointerColorBackground Background    Pixel        XtDefaultBackground
  86.  screen             Screen        Screen        parent's screen
  87.  sensitive         Sensitive        Boolean        True
  88.  translations         Translations    TranslationTable NULL
  89.  update             Interval        int        10 (seconds)
  90.  width             Width        Dimension    120
  91.  x             Position        Position    0
  92.  y             Position        Position    0
  93.  
  94. */
  95.  
  96. #define DEFAULT_JUMP -1
  97.  
  98. #ifndef _XtStringDefs_h_
  99. #define XtNhighlight "highlight"
  100. #define XtNupdate "update"
  101. #endif
  102.  
  103. #define XtCJumpScroll "JumpScroll"
  104. #define XtCScale "Scale"
  105.  
  106. #define XtNgetValue "getValue"
  107. #define XtNjumpScroll "jumpScroll"
  108. #define XtNminScale "minScale"
  109. #define XtNscale "scale"
  110. #define XtNvmunix "vmunix"
  111.  
  112. typedef struct _StripChartRec *StripChartWidget;
  113. typedef struct _StripChartClassRec *StripChartWidgetClass;
  114.  
  115. extern WidgetClass stripChartWidgetClass;
  116.  
  117. #endif /* _XawStripChart_h */
  118. /* DON'T ADD STUFF AFTER THIS #endif */
  119.