File: window.h

package info (click to toggle)
xtrojka 123-12
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 492 kB
  • ctags: 443
  • sloc: ansic: 3,087; makefile: 135; sh: 19
file content (50 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (4)
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
40
41
42
43
44
45
46
47
48
49
50
/*
 *	xtrojka (c) 1994,1995,1996 Maarten Los
 *
 *	#include "COPYRIGHT"	
 *
 *	created:	12.iii.1996
 *	modified:
 *
 *
 */

#ifndef _window_h_
#define _window_h_

/*
 * dimensions of the various windows (those are fixed!)
 */

#define WIN_XSIZE	182		/* width + height of trojka window */
#define WIN_YSIZE	380	

/*
 * dimensions of a pillar 
 */
#define PILLAR_XSIZE	51
#define PILLAR_YSIZE	WIN_YSIZE


/*
 * dimensions of a block
 */
#define BLOCK_XSIZE	36
#define BLOCK_YSIZE	19


/*
 *	TODO: read these from the application environment!!!!!!!!!!
 */
#define MBARHEIGHT	24
#define BORDER		4


/*
 *	function prototypes
 */
void init_windows(void);
void fix_dimensions(Widget);
void clear_window(Widget);

#endif /* _window_h_ */