DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦651aa32f3⟧ TextFile

    Length: 4004 (0xfa4)
    Types: TextFile
    Notes: UNIX file
    Names: »widgetView.h«

Derivation

└─⟦a85bd4a7c⟧ Bits:30004636/disk2.imd INTERACTIVE Motif Environment Development System
└─⟦a85bd4a7c⟧ UNIX Filesystem
    └─⟦this⟧ »xt/new/usr/lib/X11/examples/widgetView/widgetView.h« 

TextFile

#ifdef REV_INFO
#ifndef lint
static char SCCSID[] = "OSF/Motif: @(#)widgetView.h	1.2 - 89/08/31 - 11:17:54";
#endif /* lint */
#endif /* REV_INFO */
/****************************************************************************
 ****************************************************************************
 **
 **   File:     widgetView.h
 **
 **   Project:     Motif - widget examination program
 **
 **   Description: Program which shows resources of widgets
 **
 **
 **
 **   (c) Copyright 1989 by Open Software Foundation, Inc.
 **       All Rights Reserved.
 **
 **
 ****************************************************************************
 ****************************************************************************/

/***************************************************
*                                                  *
*  Revision history:                               *
*                                                  *
*  05/26/89      strong        Initial Version     *
*  06/01/89      strong        1.0                 *
*  06/26/89      pjlevine      complete rewrite    *
*                                                  *
****************************************************/


/*  Standard C headers  */
#include <stdio.h>
#include <sys/signal.h>
#include <limits.h>
#ifdef i386
#include <unistd.h>
#endif

/*  X headers  */
#include <X11/IntrinsicP.h>
/*#include <X11/Shell.h>
#include <X11/AtomMgr.h>
#include <X11/Protocols.h>
*/
/*  Xm headers  */
#include <Xm/Xm.h>
#include <Xm/ArrowB.h>
#include <Xm/ArrowBG.h>
#include <Xm/BulletinB.h>
#include <Xm/CascadeB.h>
#include <Xm/CascadeBG.h>
#include <Xm/Command.h>
#include <Xm/CutPaste.h>
#include <Xm/DialogS.h>
#include <Xm/DrawingA.h>
#include <Xm/DrawnB.h>
#include <Xm/FileSB.h>
#include <Xm/Form.h>
#include <Xm/Frame.h>
#include <Xm/Label.h>
#include <Xm/LabelG.h>
#include <Xm/List.h>
#include <Xm/MainW.h>
#include <Xm/MenuShell.h>
#include <Xm/MessageB.h>
#include <Xm/PanedW.h>
#include <Xm/PushB.h>
#include <Xm/PushBG.h>
#include <Xm/RowColumn.h>
#include <Xm/Scale.h>
#include <Xm/ScrollBar.h>
#include <Xm/ScrolledW.h>
#include <Xm/SelectioB.h>
#include <Xm/SeparatoG.h>
#include <Xm/Separator.h>
#include <Xm/Text.h>
#include <Xm/ToggleB.h>
#include <Xm/ToggleBG.h>


#define WIDTH        850
#define HEIGHT       750
#define MAX_ARGS     100
#define NOT_FOUND    -1
#define FUNC_ERROR   -1
#define FUNC_OK      0

/*  Global Variables  */

Display *display;
int     screen;

Widget    Dialog;
Widget    Shell;
Widget    MainWindow;
Widget    MenuBar;
Widget    PullDown1;
Widget    PullDown1A;
Widget    PullDown2;
Widget    PullDown3;
Widget    PopUp;
Widget    popup_label;
Widget    MenuBtn1;
Widget    MenuBtn2;
Widget    MenuBtn3;
Widget    Cascade1;

/* contents of menu 1 */
Widget    Label1A;
Widget    Label1B;
Widget    Label1C;
Widget    Label1D;
Widget    Label1E;

/* contents of menu 2 */
Widget    Label2A;
Widget    Label2B;
Widget    Label2C;
Widget    Label2D;
Widget    Label2E;

/* contents of menu 3 */
Widget    Label3A;
Widget    Label3B;
Widget    Label3C;


Widget    HorizScrollBar;
Widget    VertScrollBar;
Widget    WorkRegion;
Widget    TextWin = (Widget) NULL;
Widget    ScrollWin;
Widget    ScrollBar;
Widget    FormWin;
Widget    LabelW;
Widget    TBoardW = (Widget) NULL;

Widget    LabelBoardW;
Widget    SWin;
Widget    ScrollBarText;
Widget    DialogSh;
Widget    FileDialog;
Widget    FileSelection;
Widget    ScrollBarList;
Widget    ResourceList;
Widget    ResourceDialog;
Widget    WidgetShell;
Widget    WidgetDialog;
Widget    FileOK;
Widget    WidgetBoard;
Widget    LabelHierarchy;
Widget    TextLabel [60];
Widget    WidgetHierarchy;
Widget    ToFileLabel;
Widget    ToPrinterLabel;
Widget    ActiveWidget = (Widget) NULL;
Widget    RowColumn = (Widget) NULL;
Widget    ResourceShell = (Widget) NULL;
Widget    PrintFileDialog;
Widget    PrintFileSelection;
Widget    ResourceButton;
Widget    ResourceButton1;
Widget    ToggleFrame;
Widget    ScaleFrame;