Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
110
cde/programs/dticon/externals.h
Normal file
110
cde/programs/dticon/externals.h
Normal file
@@ -0,0 +1,110 @@
|
||||
/* $XConsortium: externals.h /main/3 1995/11/02 14:04:25 rswiston $ */
|
||||
/*********************************************************************
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
|
||||
* Novell, Inc.
|
||||
**********************************************************************/
|
||||
#include <Xm/Xm.h>
|
||||
#include <Dt/xpm.h>
|
||||
#include "constants.h"
|
||||
|
||||
extern char *black_string;
|
||||
extern char *white_string;
|
||||
extern char *none_string;
|
||||
|
||||
extern HelpStruct *help_head;
|
||||
extern int query_state, error_state;
|
||||
|
||||
extern Display *dpy;
|
||||
extern Window root;
|
||||
extern Window tablet_win;
|
||||
extern Widget tablet_wid;
|
||||
extern int screen;
|
||||
extern Screen *screen_ptr;
|
||||
extern Colormap Cmap;
|
||||
extern Cursor cursor;
|
||||
extern GC Color_gc;
|
||||
extern GC Mono_gc;
|
||||
extern GC Flicker_gc;
|
||||
extern GC Grid_gc;
|
||||
extern GC Erase_gc;
|
||||
extern int cmap_size;
|
||||
extern int MagFactor;
|
||||
extern int GraphicsOp;
|
||||
extern int Backup_G_Op;
|
||||
extern int CurrentColor;
|
||||
extern int ColorBlock;
|
||||
extern int tx, ty, last_tx, last_ty;
|
||||
extern int ix, iy, last_ix, last_iy;
|
||||
extern int ClickCount;
|
||||
extern int multiClickTime;
|
||||
extern int format;
|
||||
extern int fileIOMode;
|
||||
extern int fileFormat;
|
||||
extern char last_fname[MAX_FNAME];
|
||||
extern int pointCount;
|
||||
extern XPoint pointList[MAX_PTS];
|
||||
extern XRectangle current_box;
|
||||
extern XRectangle select_box;
|
||||
extern XImage *CutCopy;
|
||||
extern XImage *CutCopy_mono;
|
||||
extern XImage *Rotate;
|
||||
extern XImage *Rotate_mono;
|
||||
extern XImage *Scale;
|
||||
extern XImage *Scale_mono;
|
||||
extern int icon_width, icon_height;
|
||||
extern int backup_width, backup_height;
|
||||
extern Pixmap color_icon, prev_color_icon;
|
||||
extern Pixmap mono_icon, prev_mono_icon;
|
||||
extern Boolean status, Dirty;
|
||||
extern int X_Hot, Y_Hot;
|
||||
extern Boolean hotSpot;
|
||||
extern Boolean FirstRigid, GridEnabled, FloodToBorder, Selected, Anchored;
|
||||
extern Pixel black_pixel, white_pixel;
|
||||
extern Pixel Foreground, Background, TopShadow, BottomShadow;
|
||||
extern Pixel Select, Transparent;
|
||||
extern Pixel StaticPen[NUM_STATICS], DynamicPen[NUM_DYNAMICS];
|
||||
extern Pixel StaticMono[NUM_STATICS], DynamicMono[NUM_DYNAMICS];
|
||||
extern Widget StaticWid[NUM_STATICS], DynamicWid[NUM_DYNAMICS];
|
||||
extern Widget GraphicOpsWid[NUM_GFX_OPS];
|
||||
extern Boolean DialogFlag;
|
||||
extern Boolean FillSolids;
|
||||
extern Boolean UndoFlag;
|
||||
extern Boolean param_flag[NUM_PARAMS];
|
||||
extern Boolean argsNeedProcessed;
|
||||
extern XpmAttributes xpm_ReadAttribs, xpm_WriteAttribs;
|
||||
/* extern int numSymbols; */
|
||||
extern XpmColorSymbol *colorSymbols;
|
||||
extern char *hints_cmt;
|
||||
extern char *colors_cmt;
|
||||
extern char *pixels_cmt;
|
||||
extern char dynamic_c_str[NUM_DYNAMICS][30];
|
||||
extern char *color_table[NUM_STATICS+NUM_DYNAMICS][6];
|
||||
extern PixelTable pixelTable;
|
||||
|
||||
/* globals related to the user interface (motif, etc.) */
|
||||
extern Widget TopLevel;
|
||||
extern char *execName;
|
||||
extern char *progName;
|
||||
extern XtAppContext AppContext;
|
||||
extern Widget mainWindow,
|
||||
dtIconShell,
|
||||
queryDialog,
|
||||
stdErrDialog,
|
||||
newIconDialog,
|
||||
fileIODialog;
|
||||
extern Widget iconImage,
|
||||
monoImage;
|
||||
extern ApplicationData xrdb;
|
||||
extern SessionData session;
|
||||
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
extern int debug;
|
||||
extern int debug_status;
|
||||
extern XImage *debug_image, *debug_shape;
|
||||
/* extern unsigned char XErrorFlag; */
|
||||
#endif
|
||||
Reference in New Issue
Block a user