home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xiconw / part01 / dsimple.h < prev    next >
C/C++ Source or Header  |  1990-08-27  |  2KB  |  54 lines

  1. /* $XConsortium: dsimple.h,v 1.2 88/09/06 17:38:22 jim 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 chariot@athena.mit.edu.
  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 chariot@athena.mit.edu.
  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();
  54.