Main Page | Data Structures | Directories | File List | Data Fields | Globals

xpicedit.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * xpicedit.h
00003  * This file is part of lincity.
00004  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
00005  * ---------------------------------------------------------------------- */
00006 
00007 /* Constants */
00008 
00009 /* #define VERSION "0.10" */
00010 
00011 #define TRUE 1
00012 #define FALSE 0
00013 #define WINWIDTH 640            /* default window width */
00014 #define WINHEIGHT 480           /* default window height */
00015 #define BORDERX 30
00016 #define BORDERY 30
00017 #define BORDER  50              /* wasp won't go closer than this to the edges */
00018 #define ALIVE_MASK      (SubstructureNotifyMask | KeyPressMask | PointerMotionMask)
00019 
00020 /* Error Codes */
00021 #define FATAL   -1
00022 #define WARNING -2
00023 
00024 
00025 /* Type Definitions */
00026 typedef struct _disp
00027   {
00028     Window win;
00029     Display *dpy;
00030     int screen;
00031     Window root;
00032     char *dname;
00033 
00034     long bg;                    /* colors */
00035 
00036     XColor bg_xcolor;
00037 
00038     GC pixcolour_gc[256];
00039     Atom kill_atom, protocol_atom;
00040     Colormap cmap;
00041   }
00042 disp;

Generated on Sun Dec 26 11:23:27 2004 for lincity by  doxygen 1.3.9.1