UnitStripChart.h

Go to the documentation of this file.
00001 /*
00002  * Shamelessly ripped and modified from the original sources below:
00003  */
00004 
00005 /* $Xorg: StripChart.h,v 1.5 2001/02/09 02:03:46 xorgcvs Exp $ */
00006 
00007 /***********************************************************
00008 
00009 Copyright 1987, 1988, 1998  The Open Group
00010 
00011 Permission to use, copy, modify, distribute, and sell this software and its
00012 documentation for any purpose is hereby granted without fee, provided that
00013 the above copyright notice appear in all copies and that both that
00014 copyright notice and this permission notice appear in supporting
00015 documentation.
00016 
00017 The above copyright notice and this permission notice shall be included in
00018 all copies or substantial portions of the Software.
00019 
00020 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00021 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00022 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
00023 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00024 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00025 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00026 
00027 Except as contained in this notice, the name of The Open Group shall not be
00028 used in advertising or otherwise to promote the sale, use or other dealings
00029 in this Software without prior written authorization from The Open Group.
00030 
00031 
00032 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
00033 
00034                         All Rights Reserved
00035 
00036 Permission to use, copy, modify, and distribute this software and its 
00037 documentation for any purpose and without fee is hereby granted, 
00038 provided that the above copyright notice appear in all copies and that
00039 both that copyright notice and this permission notice appear in 
00040 supporting documentation, and that the name of Digital not be
00041 used in advertising or publicity pertaining to distribution of the
00042 software without specific, written prior permission.  
00043 
00044 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
00045 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
00046 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
00047 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
00048 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
00049 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
00050 SOFTWARE.
00051 
00052 ******************************************************************/
00053 /* $XFree86: xc/lib/Xaw/StripChart.h,v 1.6 2001/12/14 19:54:44 dawes Exp $ */
00054 
00055 #ifndef _XawUnitStripChart_h
00056 #define _XawUnitStripChart_h
00057 
00058 #include <X11/Intrinsic.h>
00059 
00060 /***********************************************************************
00061  *
00062  * UnitStripChart Widget
00063  *
00064  ***********************************************************************/
00065 
00066 /* UnitStripChart resources:
00067 
00068  Name                Class              RepType         Default Value
00069  ----                -----              -------         -------------
00070  accelerators        Accelerators       AcceleratorTable NULL
00071  ancestorSensitive   AncestorSensitive  Boolean         True 
00072  background          Background         Pixel           XtDefaultBackground
00073  backgroundPixmap    Pixmap             Pixmap          XtUnspecifiedPixmap
00074  borderColor         BorderColor        Pixel           XtDefaultForeground
00075  borderPixmap        Pixmap             Pixmap          XtUnspecifiedPixmap
00076  borderWidth         BorderWidth        Dimension       1
00077  colormap            Colormap           Colormap        parent's colormap
00078  cursor              Cursor             Cursor          None
00079  cursorName          Cursor             String          NULL
00080  depth               Depth              int             parent's depth
00081  destroyCallback     Callback           XtCallbackList  NULL
00082  encoding            Encoding           UnsignedChar            XawTextEncoding8bit
00083  font        Font               XFontStruct*            XtDefaultFont
00084  foreground          Foreground         Pixel           XtDefaultForeground
00085  getValue            Callback           XtCallbackList  NULL
00086  height              Height             Dimension       120
00087  highlight           Foreground         Pixel           XtDefaultForeground
00088  insensitiveBorder   Insensitive        Pixmap          GreyPixmap
00089  jumpScroll          JumpScroll         int             1/2 width
00090  label       Label              String          NULL
00091  units       Label              String          NULL
00092  mappedWhenManaged   MappedWhenManaged  Boolean         True
00093  minScale            Scale              int             1
00094  pointerColor        Foreground         Pixel           XtDefaultForeground
00095  pointerColorBackground Background      Pixel           XtDefaultBackground
00096  screen              Screen             Screen          parent's screen
00097  sensitive           Sensitive          Boolean         True
00098  translations        Translations       TranslationTable NULL
00099  update              Interval           int             10 (seconds)
00100  width               Width              Dimension       120
00101  x                   Position           Position        0
00102  y                   Position           Position        0
00103 
00104 */
00105 
00106 #define XawTextEncoding8bit 0
00107 #define XawTextEncodingChar2b 1
00108 
00109 #define XtNencoding "encoding"
00110 #define XtCEncoding "Encoding"
00111 
00112 #ifndef XtNfontSet
00113 #define XtNfontSet "fontSet"
00114 #endif
00115 
00116 #ifndef XtCFontSet
00117 #define XtCFontSet "FontSet"
00118 #endif
00119 
00120 #define DEFAULT_JUMP -1
00121 
00122 #ifndef _XtStringDefs_h_
00123 #define XtNhighlight "highlight"
00124 #define XtNupdate "update"
00125 #define XtNlabel "label"
00126 #define XtNfont "font"
00127 #endif
00128 
00129 #define XtNunits "units"
00130 #define XtCUnits "Units"
00131 
00132 #define XtCJumpScroll "JumpScroll"
00133 #define XtCScale "Scale"
00134 #define XtCMultiplier "Multiplier"
00135 
00136 #define XtNgetValue "getValue"
00137 #define XtNjumpScroll "jumpScroll"
00138 #define XtNminScale "minScale"
00139 #define XtNscale "scale"
00140 #define XtNvmunix "vmunix"
00141  
00142 typedef struct _UnitStripChartRec *UnitStripChartWidget;
00143 typedef struct _UnitStripChartClassRec *UnitStripChartWidgetClass;
00144 
00145 extern WidgetClass unitStripChartWidgetClass;
00146 
00147 #endif /* _XawUnitStripChart_h */

Generated on Mon May 8 16:47:49 2006 for xmonitors by  doxygen 1.4.2