Annotation of researchv9/X11/src/X.V11R1/lib/Xtk/LoadP.h, revision 1.1

1.1     ! root        1: /*
        !             2: * $Header: LoadPrivate.h,v 1.2 87/09/11 21:24:13 haynes Rel $
        !             3: */
        !             4: 
        !             5: /*
        !             6:  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
        !             7:  * 
        !             8:  *                         All Rights Reserved
        !             9:  * 
        !            10:  * Permission to use, copy, modify, and distribute this software and its 
        !            11:  * documentation for any purpose and without fee is hereby granted, 
        !            12:  * provided that the above copyright notice appear in all copies and that
        !            13:  * both that copyright notice and this permission notice appear in 
        !            14:  * supporting documentation, and that the name of Digital Equipment
        !            15:  * Corporation not be used in advertising or publicity pertaining to
        !            16:  * distribution of the software without specific, written prior permission.  
        !            17:  * 
        !            18:  * 
        !            19:  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
        !            20:  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
        !            21:  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
        !            22:  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
        !            23:  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
        !            24:  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
        !            25:  * SOFTWARE.
        !            26:  */
        !            27: #ifndef _XtLoadPrivate_h
        !            28: #define _XtLoadPrivate_h
        !            29: 
        !            30: #define SEG_BUFF_SIZE          128
        !            31: 
        !            32: /* New fields for the load widget instance record */
        !            33: typedef struct {
        !            34:         Pixel  fgpixel;        /* color index for text */
        !            35:         XFontStruct    *font;  /* font for text */
        !            36:         GC     myGC;           /* pointer to GraphicsContext */
        !            37: /* start of graph stuff */
        !            38:         int    update;         /* update frequence */
        !            39:         int    scale;          /* scale factor */
        !            40:         int     min_scale;     /* smallest scale factor */
        !            41:         int     interval;      /* data point interval */
        !            42:         char   *text;          /* label */
        !            43:         double max_value;      /* Max Value in window */
        !            44:         double valuedata[2048];/* record of data points */
        !            45: /* start of xload stuff
        !            46:         char *vmunix;          /* path of namelist */
        !            47:         XtIntervalId interval_id;
        !            48:    } LoadPart;
        !            49: 
        !            50: /* Full instance record declaration */
        !            51: typedef struct _LoadRec {
        !            52:    CorePart core;
        !            53:    LoadPart load;
        !            54:    } LoadRec;
        !            55: 
        !            56: /* New fields for the Load widget class record */
        !            57: typedef struct {int dummy;} LoadClassPart;
        !            58: 
        !            59: /* Full class record declaration. */
        !            60: typedef struct _LoadClassRec {
        !            61:    CoreClassPart core_class;
        !            62:    LoadClassPart load_class;
        !            63:    } LoadClassRec;
        !            64: 
        !            65: /* Class pointer. */
        !            66: extern LoadClassRec loadClassRec;
        !            67: 
        !            68: #endif _XtLoadPrivate_h

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.