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

picedit.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * picedit.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 #define VERSION "0.11"
00007 
00008 #define TRUE 1
00009 #define FALSE 0
00010 #define WINWIDTH 640            /* default window width */
00011 #define WINHEIGHT 480           /* default window height */
00012 #define BORDERX 30
00013 #define BORDERY 30
00014 #define BORDER  50              /* wasp won't go closer than this to the edges */
00015 #define ALIVE_MASK      (SubstructureNotifyMask | KeyPressMask | PointerMotionMask)
00016 
00017 /* Error Codes */
00018 #define FATAL   -1
00019 #define WARNING -2
00020 
00021 
00022 /* Type Definitions */
00023 typedef struct _disp
00024   {
00025     Window win;
00026     Display *dpy;
00027     int screen;
00028     Window root;
00029     char *dname;
00030 
00031     long bg;                    /* colors */
00032 
00033     XColor bg_xcolor;
00034 
00035     GC pixcolour_gc[256];
00036     Atom kill_atom, protocol_atom;
00037     Colormap cmap;
00038   }
00039 disp;

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