|
|
1.1 ! root 1: /* $Header: dsimple.h,v 1.1 87/09/11 08:22:49 toddb Exp $ */ ! 2: /* ! 3: * Just_display.h: This file contains the definitions needed to use the ! 4: * functions in just_display.c. It also declares the global ! 5: * variables dpy, screen, and program_name which are needed to ! 6: * use just_display.c. ! 7: * ! 8: * Written by Mark Lillibridge. Last updated 7/1/87 ! 9: * ! 10: * Send bugs, etc. to [email protected]. ! 11: */ ! 12: ! 13: /* Global variables used by routines in just_display.c */ ! 14: ! 15: char *program_name = "unknown_program"; /* Name of this program */ ! 16: Display *dpy; /* The current display */ ! 17: int screen; /* The current screen */ ! 18: ! 19: #define INIT_NAME program_name=argv[0] /* use this in main to setup ! 20: program_name */ ! 21: ! 22: /* Declaritions for functions in just_display.c */ ! 23: ! 24: void Fatal_Error(); ! 25: char *Malloc(); ! 26: char *Realloc(); ! 27: char *Get_Display_Name(); ! 28: Display *Open_Display(); ! 29: void Setup_Display_And_Screen(); ! 30: XFontStruct *Open_Font(); ! 31: void Beep(); ! 32: Pixmap ReadBitmapFile(); ! 33: void WriteBitmapFile(); ! 34: Window Select_Window_Args(); ! 35: ! 36: #define X_USAGE "[host:display]" /* X arguments handled by ! 37: Get_Display_Name */ ! 38: #define SELECT_USAGE "[{-root|-id <id>|-font <font>|-name <name>}]" ! 39: ! 40: /* ! 41: * Other_stuff.h: Definitions of routines in other_stuff. ! 42: * ! 43: * Written by Mark Lillibridge. Last updated 7/1/87 ! 44: * ! 45: * Send bugs, etc. to [email protected]. ! 46: */ ! 47: ! 48: unsigned long Resolve_Color(); ! 49: Pixmap Bitmap_To_Pixmap(); ! 50: Window Select_Window(); ! 51: void out(); ! 52: void blip(); ! 53: Window Window_With_Name();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.