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

1.1     ! root        1: /*
        !             2:  *     rcs_id[] = "$Header: xmh.h,v 1.12 87/09/11 08:18:39 toddb Exp $";
        !             3:  */
        !             4: 
        !             5: /*
        !             6:  *                       COPYRIGHT 1987
        !             7:  *                DIGITAL EQUIPMENT CORPORATION
        !             8:  *                    MAYNARD, MASSACHUSETTS
        !             9:  *                     ALL RIGHTS RESERVED.
        !            10:  *
        !            11:  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
        !            12:  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
        !            13:  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
        !            14:  * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
        !            15:  *
        !            16:  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS,
        !            17:  * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT
        !            18:  * SET FORTH ABOVE.
        !            19:  *
        !            20:  *
        !            21:  * Permission to use, copy, modify, and distribute this software and its
        !            22:  * documentation for any purpose and without fee is hereby granted, provided
        !            23:  * that the above copyright notice appear in all copies and that both that
        !            24:  * copyright notice and this permission notice appear in supporting documentation,
        !            25:  * and that the name of Digital Equipment Corporation not be used in advertising
        !            26:  * or publicity pertaining to distribution of the software without specific,
        !            27:  * written prior permission.
        !            28:  */
        !            29: 
        !            30: #ifndef _xmh_h
        !            31: #define _xmh_h
        !            32: #include <stdio.h>
        !            33: #include <strings.h>
        !            34: #include <Xlib.h>
        !            35: 
        !            36: #ifdef X11
        !            37: #include <Xutil.h>
        !            38: #include <cursorfont.h>
        !            39: #endif
        !            40: 
        !            41: #include <Intrinsic.h>
        !            42: #include <Atoms.h>
        !            43: #include <ButtonBox.h>
        !            44: #include <Command.h>
        !            45: #include <Dialog.h>
        !            46: #include <Form.h>
        !            47: #include <Label.h>
        !            48: #include <Scroll.h>
        !            49: #include <Text.h>
        !            50: #include <VPane.h>
        !            51: #include <TextDisp.h>
        !            52: 
        !            53: #define DELETEABORTED  -1
        !            54: #define MARKPOS                4
        !            55: 
        !            56: #define xMargin 2
        !            57: #define yMargin 2
        !            58: 
        !            59: typedef int * dp;              /* For debugging. */
        !            60: 
        !            61: typedef struct _ButtonRec *Button;
        !            62: typedef struct _ButtonBoxRec *ButtonBox;
        !            63: typedef struct _TocRec *Toc;
        !            64: typedef struct _MsgRec *Msg;
        !            65: typedef struct _PickRec *Pick;
        !            66: 
        !            67: typedef enum {
        !            68:     Fignore, Fmove, Fcopy, Fdelete
        !            69: } FateType;
        !            70: 
        !            71: typedef enum {
        !            72:     STtocAndView,
        !            73:     STview,
        !            74:     STcomp,
        !            75:     STpick
        !            76: } ScrnKind;
        !            77: 
        !            78: typedef struct _ScrnRec {
        !            79:    Window      window;         /* Window containing the scrn */
        !            80:    int         mapped;         /* TRUE only if we've mapped this screen. */
        !            81:    ScrnKind    kind;           /* What kind of scrn we have. */
        !            82:    ButtonBox   folderbuttons;  /* Folder buttons. */
        !            83:    Button      curfolder;      /* Which is the current folder. */
        !            84:    ButtonBox   mainbuttons;    /* Main xmh control buttons. */
        !            85:    Window      toclabel;       /* Toc titlebar. */
        !            86:    Window      tocwindow;      /* Toc text. */
        !            87:    ButtonBox   tocbuttons;     /* Toc control buttons. */
        !            88:    ButtonBox   seqbuttons;     /* Sequence buttons. */
        !            89:    Button      curseq;         /* Which is the current sequence. */
        !            90:    Window      viewlabel;      /* View titlebar. */
        !            91:    Window      viewwindow;     /* View window. */
        !            92:    ButtonBox   viewbuttons;    /* View control buttons. */
        !            93:    Toc         toc;            /* The table of contents. */
        !            94:    XtTextSink  *tocsink;       /* Sink used to display the toc. */
        !            95:    Msg         msg;            /* The message being viewed. */
        !            96:    Pick                pick;           /* Pick in this screen. */
        !            97: #ifdef X11
        !            98:    XWMHints    hints;          /* Record of hints to window manager. */
        !            99: #endif X11
        !           100: } ScrnRec, *Scrn;
        !           101: 
        !           102: 
        !           103: typedef struct {
        !           104:     int nummsgs;
        !           105:     Msg *msglist;
        !           106: } MsgListRec, *MsgList;
        !           107: 
        !           108: 
        !           109: typedef struct {
        !           110:    char                *name;          /* Name of this sequence. */
        !           111:    MsgList     mlist;          /* Messages in this sequence. */
        !           112: } SequenceRec, *Sequence;
        !           113: 
        !           114: 
        !           115: #include "globals.h"
        !           116: #include "macros.h"
        !           117: #include "externs.h"
        !           118: #include "mlist.h"
        !           119: #include "bbox.h"
        !           120: #include "msg.h"
        !           121: #include "toc.h"
        !           122: 
        !           123: #endif _xmh_h

unix.superglobalmegacorp.com

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