File: main.h

package info (click to toggle)
xabacus 1-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 244 kB
  • ctags: 484
  • sloc: ansic: 746; makefile: 451
file content (34 lines) | stat: -rw-r--r-- 836 bytes parent folder | download
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
#include "maindefs.h"

typedef unsigned int Column;		/* int's MUST be more than 9 bits wide*/

extern Column column[MAXCOLS];

extern Display *display;
extern Window base, demobase, child, root;
extern int screen;
Widget topLevel;
extern XSizeHints size_hints;
extern XFontStruct *font_info;
extern GC gc[MAXCOLORS];
extern Cursor Hand;
extern unsigned int mask;
extern char colors[MAXCOLORS][COLORSTRLEN];
extern unsigned int width, height, demowidth,demoheight, posx, posy;
extern int framewidth, beadwidth, beadheight, midframey, ncols, colgap, rowgap;
extern Boolean demo;
extern Boolean script;
extern char demofont[128];

extern struct _resources {
	String display;
    int beadwidth;
    int beadheight;
    int framewidth;
    int ncols;
    String colors[4];
	String demo;
	String demofont;
	Boolean script;
} app_resources;