home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
adaptor
/
src
/
include
/
xglobal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-17
|
2KB
|
74 lines
#include <stdio.h>
/** Standard Toolkit include files: */
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
/* * Public include files for widgets used in this file. */
#include <X11/Xaw/Command.h>
#include <X11/Xaw/Box.h>
#include <X11/Xaw/Dialog.h>
#include <X11/Xaw/List.h>
#include <X11/Xaw/MenuButton.h>
#include <X11/Xaw/SimpleMenu.h>
#include <X11/Xaw/SmeBSB.h>
#include <X11/Xaw/SmeLine.h>
#include <X11/CoreP.h>
#include <X11/Xaw/TextP.h>
#include <X11/Xaw/Viewport.h>
#include <X11/Xaw/Paned.h>
#define ASCII_DISK
#include <X11/Xaw/AsciiText.h>
/***************************************************************************
* *
* Global Variables : Widget *
* *
***************************************************************************/
#include "Tree.h"
#include "Definitions.h"
static char current_dir [100];
static char selected_file [100];
#define MyTextWidth 550
#define MyTextHeight 450
#define MyUnitWidth 300
#define MyUnitHeight 150
#define MyVarWidth 250
#define MyVarHeight 150
/* The following widget are used global : */
static
Widget topLevel, filelabel, message_widget, mytext, vp_mytext, units, vars;
static
Widget gmdBitmap;
static
Pixmap gmdPixmap;
/* global access to items of units or vars widget */
#define MaxUnitItems 256
static
String UnitItems [MaxUnitItems];
static int UnitCount;
static
tTree UnitTree; /* abstract syntax tree for selected unit */
static
tObject UnitDecl; /* declaration object for selected unit */
static
tEntries UnitDeclarations; /* declared items for the selected unit */
#define MaxVarItems 512
static
String VarItems [MaxVarItems];
static
int VarCount;
void set_filelabel ();