File: x.h

package info (click to toggle)
overkill 0.16-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,964 kB
  • ctags: 1,245
  • sloc: ansic: 11,650; makefile: 193; sh: 39
file content (29 lines) | stat: -rw-r--r-- 564 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
#ifndef __X_H
#define __X_H

#include <X11/Xlib.h>
#include "cfg.h"

/* all four following are in characters */

/* minimal size of the window */
#define X_MIN_WIDTH 80  
#define X_MIN_HEIGHT 25

/* default size of the window */
#define DEFAULT_X_SIZE 80
#define DEFAULT_Y_SIZE 25


extern Display *display;
#ifdef TRI_D
extern Window window2;
#endif
extern Window window;
extern int x_width,x_height;  /* current width of the window (in characters) */
extern int FONT_X_SIZE;
extern int FONT_Y_SIZE;
extern char *x_font_name;
extern char *x_display_name;

#endif