[go: up one dir, main page]

File: picedit.h

package info (click to toggle)
lincity 1.12.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,288 kB
  • ctags: 4,483
  • sloc: ansic: 31,919; sh: 3,538; makefile: 658; perl: 372; yacc: 316; sed: 16
file content (39 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* ---------------------------------------------------------------------- *
 * picedit.h
 * This file is part of lincity.
 * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
 * ---------------------------------------------------------------------- */
#define VERSION "0.11"

#define TRUE 1
#define FALSE 0
#define WINWIDTH 640		/* default window width */
#define WINHEIGHT 480		/* default window height */
#define BORDERX 30
#define BORDERY 30
#define BORDER	50		/* wasp won't go closer than this to the edges */
#define ALIVE_MASK	(SubstructureNotifyMask | KeyPressMask | PointerMotionMask)

/* Error Codes */
#define FATAL	-1
#define WARNING	-2


/* Type Definitions */
typedef struct _disp
  {
    Window win;
    Display *dpy;
    int screen;
    Window root;
    char *dname;

    long bg;			/* colors */

    XColor bg_xcolor;

    GC pixcolour_gc[256];
    Atom kill_atom, protocol_atom;
    Colormap cmap;
  }
disp;