Annotation of researchv9/X11/src/X.V11R1/lib/Xtk/LabelP.h, revision 1.1.1.1

1.1       root        1: /*
                      2: * $Header: LabelPrivate.h,v 1.7 87/09/11 21:21:50 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: /* 
                     28:  * LabelPrivate.h - Private definitions for Label widget
                     29:  * 
                     30:  * Author:     Charles Haynes
                     31:  *             Digital Equipment Corporation
                     32:  *             Western Software Laboratory
                     33:  * Date:       Thu Aug 27 1987
                     34:  */
                     35: 
                     36: #ifndef _XtLabelPrivate_h
                     37: #define _XtLabelPrivate_h
                     38: 
                     39: /***********************************************************************
                     40:  *
                     41:  * Label Widget Private Data
                     42:  *
                     43:  ***********************************************************************/
                     44: 
                     45: /* New fields for the Label widget class record */
                     46: 
                     47: typedef struct {int foo;} LabelClassPart;
                     48: 
                     49: /* Full class record declaration */
                     50: typedef struct _LabelClassRec {
                     51:     CoreClassPart      core_class;
                     52:     LabelClassPart     label_class;
                     53: } LabelClassRec;
                     54: 
                     55: extern LabelClassRec labelClassRec;
                     56: 
                     57: /* New fields for the Label widget record */
                     58: typedef struct {
                     59:     Pixel      foreground;
                     60:     XFontStruct        *font;
                     61:     char       *label;
                     62:     XtJustify  justify;
                     63:     Dimension  internal_width;
                     64:     Dimension  internal_height;
                     65: 
                     66:     GC         normal_GC;
                     67:     GC          gray_GC;
                     68:     Pixmap      gray_pixmap;
                     69:     Position   label_x;
                     70:     Position   label_y;
                     71:     Dimension  label_width;
                     72:     Dimension  label_height;
                     73:     unsigned int label_len;
                     74:     Boolean     display_sensitive;
                     75: } LabelPart;
                     76: 
                     77: 
                     78: /****************************************************************
                     79:  *
                     80:  * Full instance record declaration
                     81:  *
                     82:  ****************************************************************/
                     83: 
                     84: typedef struct _LabelRec {
                     85:     CorePart   core;
                     86:     LabelPart  label;
                     87: } LabelRec;
                     88: 
                     89: /* $Log:       LabelPrivate.h,v $
                     90:  * Revision 1.7  87/09/11  21:21:50  haynes
                     91:  * ship it. clean up copyright, add rcs headers.
                     92:  * 
                     93:  * Revision 1.6  87/09/10  14:39:17  haynes
                     94:  * major renaming cataclysm, de-linted, cleaned up
                     95:  * 
                     96:  * Revision 1.5  87/08/31  07:35:16  chow
                     97:  * bugs
                     98:  * 
                     99:  * Revision 1.4  87/08/30  20:16:17  ackerman
                    100:  * Added grayGC, displaySensitive to LabelPart; renamed to normalGC
                    101:  *   Also changed to new naming scheme.
                    102:  * 
                    103:  * Revision 1.3  87/08/28  18:38:51  ackerman
                    104:  * Moved full instance declaration of LabelData, LabelWidget into file
                    105:  * 
                    106:  * Revision 1.2  87/08/28  15:19:38  haynes
                    107:  * changed how resizing works
                    108:  * 
                    109:  * Revision 1.1  87/08/27  16:55:13  haynes
                    110:  * Initial revision
                    111:  *  */
                    112: 
                    113: 
                    114: #endif _XtLabelPrivate_h
                    115: /* DON'T ADD STUFF AFTER THIS #endif */
                    116: 

unix.superglobalmegacorp.com

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