Annotation of researchv9/X11/src/X.V11R1/lib/oldXtk/Boolean.h, revision 1.1

1.1     ! root        1: /* $Header: Boolean.h,v 1.1 87/09/11 07:58:52 toddb Exp $ */
        !             2: /*
        !             3:  *     sccsid: %W%     %G%
        !             4:  */
        !             5: 
        !             6: /*
        !             7:  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
        !             8:  * 
        !             9:  *                         All Rights Reserved
        !            10:  * 
        !            11:  * Permission to use, copy, modify, and distribute this software and its 
        !            12:  * documentation for any purpose and without fee is hereby granted, 
        !            13:  * provided that the above copyright notice appear in all copies and that
        !            14:  * both that copyright notice and this permission notice appear in 
        !            15:  * supporting documentation, and that the name of Digital Equipment
        !            16:  * Corporation not be used in advertising or publicity pertaining to
        !            17:  * distribution of the software without specific, written prior permission.  
        !            18:  * 
        !            19:  * 
        !            20:  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
        !            21:  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
        !            22:  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
        !            23:  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
        !            24:  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
        !            25:  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
        !            26:  * SOFTWARE.
        !            27:  */
        !            28: 
        !            29: 
        !            30: #ifndef _XtBoolean_h
        !            31: #define _XtBoolean_h
        !            32: 
        !            33: /***********************************************************************
        !            34:  *
        !            35:  * Boolean Button Widget
        !            36:  *
        !            37:  ***********************************************************************/
        !            38: 
        !            39: #ifndef _XtJustify_e
        !            40: #define _XtJustify_e
        !            41: typedef enum {
        !            42:     XtjustifyLeft,       /* justify text to left side of button   */
        !            43:     XtjustifyCenter,     /* justify text in center of button      */
        !            44:     XtjustifyRight       /* justify text to right side of button  */
        !            45: } XtJustify;
        !            46: #endif _XtJustify_e
        !            47: 
        !            48: #define XtNvalue               "value"
        !            49: #define XtNwindow              "window"
        !            50: #define XtNborderWidth         "borderWidth"
        !            51: #define XtNwidth               "width"
        !            52: #define XtNheight              "height"
        !            53: #define XtNinternalHeight      "internalHeight"
        !            54: #define XtNinternalWidth       "internalWidth"
        !            55: #define XtNlabel               "label"
        !            56: #define XtNforeground          "foreground"
        !            57: #define XtNbackground          "background"
        !            58: #define XtNborder              "border"
        !            59: #define XtNfont                        "font"
        !            60: #define XtNjustify             "justify"
        !            61: #define XtNfunction            "function"
        !            62: #define XtNparameter           "parameter"
        !            63: 
        !            64: /*
        !            65: 
        !            66:  Parameters
        !            67:  ==========
        !            68: 
        !            69:  Name          Class           RepType         Default Value
        !            70:  ----          -----           -------         -------------
        !            71:  value         Value           Pointer         NONE, required parameter
        !            72:  window                Window          Window          <create window>
        !            73:  borderWidth   BorderWidth     int             1
        !            74:  width         Width           int             text width + 2*internalWidth
        !            75:  height                Height          int             font height + 2*internalHeight
        !            76:  internalWidth Width           int             4
        !            77:  internalHeight        Height          int             2
        !            78:  label         String          String          ""
        !            79:  foreground    Color           Pixel           BlackPixel
        !            80:  background    Color           Pixel           WhitePixel
        !            81:  border                Color           Pixel           BlackPixel
        !            82:  font          Font            FontStruct      fixed
        !            83:  justify       Justify         Justify         center
        !            84: 
        !            85:  eventBindings  EventBindings   EventBindings   <see below> 
        !            86: 
        !            87:  function       Function       Function        Dummy
        !            88:  parameter      Parameter       Pointer                NULL
        !            89: 
        !            90: 
        !            91: Event bindings
        !            92: ==============
        !            93: 
        !            94:  Function      Default Binding(s)
        !            95:  ----          ------------------
        !            96:  highlight      EnterWindow
        !            97:  unhighlight    LeaveWindow
        !            98:  toggle                ButtonPress left
        !            99:  notify                ButtonRelease left
        !           100:  
        !           101: */
        !           102: 
        !           103: extern Window XtBooleanCreate(); /* parent, args, argCount */
        !           104:     /* Window   parent;     */
        !           105:     /* ArgList  args;    */
        !           106:     /* int      argCount;   */
        !           107: 
        !           108: extern void XtBooleanSetValues(); /* dpy, window, args, argCount */
        !           109:     /* Display  *dpy;       */
        !           110:     /* Window   window;     */
        !           111:     /* ArgList  args;       */
        !           112:     /* int      argCount;   */
        !           113: 
        !           114: extern void XtBooleanGetValues(); /* dpy, window, args, argCount */
        !           115:     /* Display  *dpy;       */
        !           116:     /* Window   window;     */
        !           117:     /* ArgList  args;       */
        !           118:     /* int      argCount;   */
        !           119: 
        !           120: #endif _XtBoolean_h
        !           121: /* DON'T ADD STUFF AFTER THIS #endif */

unix.superglobalmegacorp.com

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