13
13
/* Global variables used by routines in just_display.c */
15
char *program_name = "unknown_program"; /* Name of this program */
16
Display *dpy; /* The current display */
17
int screen; /* The current screen */
15
extern char *program_name; /* Name of this program */
16
extern Display *dpy; /* The current display */
17
extern int screen; /* The current screen */
19
19
#define INIT_NAME program_name=argv[0] /* use this in main to setup
22
22
/* Declaritions for functions in just_display.c */
27
char *Get_Display_Name();
28
Display *Open_Display();
29
void Setup_Display_And_Screen();
30
XFontStruct *Open_Font();
32
Pixmap ReadBitmapFile();
33
void WriteBitmapFile();
34
Window Select_Window_Args();
24
void Fatal_Error(char *msg, ...);
26
char *Realloc(void*,size_t);
27
char *Get_Display_Name(int*,char **);
28
Display *Open_Display(char *);
29
void Setup_Display_And_Screen(int *, char **);
30
XFontStruct *Open_Font(char *);
32
Pixmap ReadBitmapFile(Drawable,char *,int*,int*,int*,int*);
33
void WriteBitmapFile(char *,Pixmap,int,int,int,int);
34
Window Select_Window_Args(int *,char **);
36
36
#define X_USAGE "[host:display]" /* X arguments handled by
37
37
Get_Display_Name */
45
45
* Send bugs, etc. to chariot@athena.mit.edu.
48
unsigned long Resolve_Color();
49
Pixmap Bitmap_To_Pixmap();
50
Window Select_Window();
53
Window Window_With_Name();
48
unsigned long Resolve_Color(Window,char *);
49
Pixmap Bitmap_To_Pixmap(Display *,Drawable,GC,Pixmap,int,int);
50
Window Select_Window(Display *);
53
Window Window_With_Name(Display *,Window,char *);