Annotation of researchv9/X11/src/X.V11R1/clients/xmh/bboxint.h, revision 1.1

1.1     ! root        1: /* $Header: bboxint.h,v 1.1 87/09/11 08:19:11 toddb Exp $ */
        !             2: /*
        !             3:  *                       COPYRIGHT 1987
        !             4:  *                DIGITAL EQUIPMENT CORPORATION
        !             5:  *                    MAYNARD, MASSACHUSETTS
        !             6:  *                     ALL RIGHTS RESERVED.
        !             7:  *
        !             8:  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
        !             9:  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
        !            10:  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
        !            11:  * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
        !            12:  *
        !            13:  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS,
        !            14:  * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT
        !            15:  * SET FORTH ABOVE.
        !            16:  *
        !            17:  *
        !            18:  * Permission to use, copy, modify, and distribute this software and its
        !            19:  * documentation for any purpose and without fee is hereby granted, provided
        !            20:  * that the above copyright notice appear in all copies and that both that
        !            21:  * copyright notice and this permission notice appear in supporting documentation,
        !            22:  * and that the name of Digital Equipment Corporation not be used in advertising
        !            23:  * or publicity pertaining to distribution of the software without specific,
        !            24:  * written prior permission.
        !            25:  */
        !            26: 
        !            27: /* Includes for modules implementing buttonbox stuff. */
        !            28: 
        !            29: #ifndef _bboxint_h
        !            30: #define _bboxint_h
        !            31: 
        !            32: typedef struct _ButtonRec {
        !            33:     Window     window;         /* Window containing this button. */
        !            34:     ButtonBox  buttonbox;      /* Button box containing this button. */
        !            35:     char       *name;  /* Name of the button. */
        !            36:     short      enabled;        /* Whether this button is enabled
        !            37:                                   right now or not. */
        !            38:     void       (*func)();      /* Function to be called when this 
        !            39:                                   button is pressed. */
        !            40:     short      needsadding;    /* TRUE if we still need to actually go add
        !            41:                                   this button to the buttonbox. */
        !            42: } ButtonRec;
        !            43: 
        !            44: typedef struct _ButtonBoxRec {
        !            45:     Window     outer;          /* Window containing scollbars & inner */
        !            46:     Window     inner;          /* Window containing the buttons. */
        !            47:     Scrn       scrn;           /* Scrn containing this button box. */
        !            48:     int                numbuttons;     /* How many buttons in this box. */
        !            49:     Button     *button;        /* Array of pointers to buttons. */
        !            50:     int                maxheight;      /* Current maximum height. */
        !            51:     int                needsadding;    /* There are buttons that need to be added. */
        !            52:     int                updatemode;     /* TRUE if refreshing; FALSE if refreshing is
        !            53:                                   currently inhibited. */
        !            54:     Button     *radio;         /* Pointer to where to keep which radio button
        !            55:                                   is selected. */
        !            56:     short      fullsized;      /* TRUE if we keep this box full-height. */
        !            57: } ButtonBoxRec;
        !            58: 
        !            59: #endif _bboxint_h

unix.superglobalmegacorp.com

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