dsimple.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 extern char *program_name;
00045 extern Display *dpy;
00046 extern int screen;
00047
00048 #define INIT_NAME program_name=argv[0]
00049
00050
00051
00052
00053 #if NeedFunctionPrototypes
00054 char *Malloc(unsigned);
00055 char *Realloc(char *, int);
00056 char *Get_Display_Name(int *, char **);
00057 Display *Open_Display(char *);
00058 void Setup_Display_And_Screen(int *, char **);
00059 XFontStruct *Open_Font(char *);
00060 void Beep(void);
00061 Pixmap ReadBitmapFile(Drawable, char *, int *, int *, int *, int *);
00062 void WriteBitmapFile(char *, Pixmap, int, int, int, int);
00063 Window Select_Window_Args(int *, char **);
00064 void usage(void);
00065 #else
00066 char *Malloc();
00067 char *Realloc();
00068 char *Get_Display_Name();
00069 Display *Open_Display();
00070 void Setup_Display_And_Screen();
00071 XFontStruct *Open_Font();
00072 void Beep();
00073 Pixmap ReadBitmapFile();
00074 void WriteBitmapFile();
00075 Window Select_Window_Args();
00076 void usage();
00077 #endif
00078
00079 #define X_USAGE "[host:display]"
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090 #if NeedFunctionPrototypes
00091 unsigned long Resolve_Color(Window, char *);
00092 Pixmap Bitmap_To_Pixmap(Display *, Drawable, GC, Pixmap, int, int);
00093 Window Select_Window(Display *);
00094 void blip(void);
00095 Window Window_With_Name(Display *, Window, char *);
00096 #else
00097 unsigned long Resolve_Color();
00098 Pixmap Bitmap_To_Pixmap();
00099 Window Select_Window();
00100 void blip();
00101 Window Window_With_Name();
00102 #endif
00103 #if __GNUC__
00104 void Fatal_Error(char *, ...) __attribute__((__noreturn__));
00105 #else
00106 void Fatal_Error(char *, ...);
00107 #endif
00108 void outl(char *, ...);
This file is part of the documentation for kwin Library Version 3.3.2.