ocssw  1.0
Classes | Defines | Functions | Variables
/disk01/web/ocssw/build/src/lib24to8/X.h File Reference

(r8085/r2592)

#include <stdint.h>
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include "PreRvIcccm.h"

Go to the source code of this file.

Classes

struct  DiversityPacket
struct  XAnnotateInfo
struct  XPixelInfo
struct  XResourceInfo
struct  XWindowInfo
struct  XWindows

Defines

#define XLIB_ILLEGAL_ACCESS   1
#define XFD_SET   fd_set
#define BackgroundColor   "#ccc" /* gray */
#define BorderColor   "#000" /* black */
#define ForegroundColor   "#000" /* black */
#define Pen0Color   "#000" /* black */
#define Pen1Color   "#000" /* black */
#define Pen2Color   "#00f" /* blue */
#define Pen3Color   "#0ff" /* cyan */
#define Pen4Color   "#0f0" /* green */
#define Pen5Color   "#ccc" /* gray */
#define Pen6Color   "#f00" /* red */
#define Pen7Color   "#f0f" /* magenta */
#define Pen8Color   "#ff0" /* yellow */
#define Pen9Color   "#ccc" /* gray */
#define UndefinedColormap   0
#define PrivateColormap   1
#define SharedColormap   2
#define EditorCommand   "xterm -title 'Image Comment Editor' -e vi %s"
#define MaxNumberFonts   10
#define MaxNumberPens   10
#define PrintCommand   "lpr"
#define RGBColorDatabase   "/usr/lib/X11/rgb.txt"
#define SuspendTime   40
#define XStandardPixel(map, color, dx)
#define PRE_R6_ICCCM
#define PRE_R5_ICCCM
#define PRE_R4_ICCCM

Functions

char *XGetResourceClass _Declare ((XrmDatabase, char *, char *, char *))
char *XGetResourceClass
*XGetResourceInstance
**XListColors 
_Declare ((char *, int *))
char *XGetResourceClass
*XGetResourceInstance
**XListColors
*XVisualClassName 
_Declare ((int))
Cursor XMakeCursor _Declare ((Display *, Window, Colormap, char *, char *))
Image *XGetWindowImage _Declare ((Display *, Window, unsigned int, unsigned int))
Image *XGetWindowImage *ReadXImage _Declare ((ImageInfo *, unsigned int, unsigned int, unsigned int, unsigned int))
int Latin1Compare _Declare ((char *, char *))
int Latin1Compare XError _Declare ((Display *, XErrorEvent *))
unsigned int IsTrue _Declare ((char *))
unsigned int IsTrue XAnnotateImage _Declare ((Display *, XPixelInfo *, XAnnotateInfo *, unsigned int, Image *))
unsigned int IsTrue
XAnnotateImage XGetWindowColor 
_Declare ((Display *, XColor *))
unsigned int IsTrue
XAnnotateImage XGetWindowColor
XMakeImage 
_Declare ((Display *, XResourceInfo *, XWindowInfo *, Image *, unsigned int, unsigned int))
unsigned int IsTrue
XAnnotateImage XGetWindowColor
XMakeImage XMakePixmap 
_Declare ((Display *, XResourceInfo *, XWindowInfo *))
void XBestIconSize _Declare ((Display *, XWindowInfo *, Image *))
void XBestIconSize XBestPixel _Declare ((Display *, Colormap, XColor *, unsigned int, XColor *))
void XBestIconSize XBestPixel
XCheckRefreshWindow 
_Declare ((Display *, XWindowInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage 
_Declare ((Display *, Window, Atom, Atom, Time))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay 
_Declare ((Display *, uint32_t))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors 
_Declare ((Display *, Window))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString 
_Declare ((Display *, XWindowInfo *, char *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources 
_Declare ((Display *, XVisualInfo *, XStandardColormap *, XPixelInfo *, XFontStruct *, XResourceInfo *, XWindowInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap 
_Declare ((Display *, XVisualInfo *, XStandardColormap *, XPixelInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo 
_Declare ((XAnnotateInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo 
_Declare ((XVisualInfo *, Colormap, XStandardColormap *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo 
_Declare ((Display *, XVisualInfo *, XStandardColormap *, XResourceInfo *, Image *, XPixelInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo 
_Declare ((XrmDatabase, char *, XResourceInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine 
_Declare ((Display *, Window, GC, XSegment *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine
XHighlightRegion 
_Declare ((Display *, Window, GC, RectangleInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine
XHighlightRegion
XMakeMagnifyImage 
_Declare ((Display *, XWindows *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine
XHighlightRegion
XMakeMagnifyImage
XMakeStandardColormap 
_Declare ((Display *, XVisualInfo *, XResourceInfo *, Image *, XStandardColormap *, XPixelInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine
XHighlightRegion
XMakeMagnifyImage
XMakeStandardColormap
XMakeWindow 
_Declare ((Display *, Window, char **, int, XClassHint *, XWMHints *, XWindowInfo *))
void XBestIconSize XBestPixel
XCheckRefreshWindow
XClientMessage XDelay
XDestroyWindowColors
XDisplayInfoString
XFreeResources
XFreeStandardColormap
XGetAnnotateInfo XGetMapInfo
XGetPixelInfo XGetResourceInfo
XGetWindowInfo XHighlightLine
XHighlightRegion
XMakeMagnifyImage
XMakeStandardColormap
XMakeWindow
XRetainWindowColors
XSetWindowExtents
XRefreshWindow 
_Declare ((Display *, XWindowInfo *, XEvent *))
Window XClientWindow XSelectWindow _Declare ((Display *, RectangleInfo *))
Window XClientWindow
XSelectWindow XWindowByID 
_Declare ((Display *, Window, uint32_t))
Window XClientWindow
XSelectWindow XWindowByID
XWindowByName 
_Declare ((Display *, Window, char *))
XFontStruct *XBestFont _Declare ((Display *, XResourceInfo *))
XVisualInfo *XBestVisualInfo _Declare ((Display *, XStandardColormap *, XResourceInfo *))

Variables

char * client_name

Define Documentation

#define BackgroundColor   "#ccc" /* gray */

Definition at line 30 of file X.h.

#define BorderColor   "#000" /* black */

Definition at line 31 of file X.h.

#define EditorCommand   "xterm -title 'Image Comment Editor' -e vi %s"

Definition at line 52 of file X.h.

#define ForegroundColor   "#000" /* black */

Definition at line 32 of file X.h.

#define MaxNumberFonts   10

Definition at line 53 of file X.h.

#define MaxNumberPens   10

Definition at line 54 of file X.h.

#define Pen0Color   "#000" /* black */

Definition at line 33 of file X.h.

#define Pen1Color   "#000" /* black */

Definition at line 34 of file X.h.

#define Pen2Color   "#00f" /* blue */

Definition at line 35 of file X.h.

#define Pen3Color   "#0ff" /* cyan */

Definition at line 36 of file X.h.

#define Pen4Color   "#0f0" /* green */

Definition at line 37 of file X.h.

#define Pen5Color   "#ccc" /* gray */

Definition at line 38 of file X.h.

#define Pen6Color   "#f00" /* red */

Definition at line 39 of file X.h.

#define Pen7Color   "#f0f" /* magenta */

Definition at line 40 of file X.h.

#define Pen8Color   "#ff0" /* yellow */

Definition at line 41 of file X.h.

#define Pen9Color   "#ccc" /* gray */

Definition at line 42 of file X.h.

#define PRE_R4_ICCCM

Definition at line 415 of file X.h.

#define PRE_R5_ICCCM

Definition at line 409 of file X.h.

#define PRE_R6_ICCCM

Definition at line 403 of file X.h.

#define PrintCommand   "lpr"

Definition at line 55 of file X.h.

#define PrivateColormap   1

Definition at line 47 of file X.h.

#define RGBColorDatabase   "/usr/lib/X11/rgb.txt"

Definition at line 56 of file X.h.

#define SharedColormap   2

Definition at line 48 of file X.h.

#define SuspendTime   40

Definition at line 57 of file X.h.

#define UndefinedColormap   0

Definition at line 46 of file X.h.

#define XFD_SET   fd_set

Definition at line 24 of file X.h.

#define XLIB_ILLEGAL_ACCESS   1

Definition at line 5 of file X.h.

#define XStandardPixel (   map,
  color,
  dx 
)
Value:
(uint32_t) (map->base_pixel+  \
  ((color.red*map->red_max+(1 << (dx-1)))/((1 << dx)-1))*map->red_mult+  \
  ((color.green*map->green_max+(1 << (dx-1)))/((1 << dx)-1))*map->green_mult+  \
  ((color.blue*map->blue_max+(1 << (dx-1)))/((1 << dx)-1))*map->blue_mult)

Definition at line 58 of file X.h.


Function Documentation

char* XGetResourceClass _Declare ( (XrmDatabase, char *, char *, char *)  )
char* XGetResourceClass * XGetResourceInstance ** XListColors _Declare ( (char *, int *)  )
char* XGetResourceClass * XGetResourceInstance ** XListColors * XVisualClassName _Declare ( (int)  )
Cursor XMakeCursor _Declare ( (Display *, Window, Colormap, char *, char *)  )
Image* XGetWindowImage _Declare ( (Display *, Window, unsigned int, unsigned int)  )
Image* XGetWindowImage * ReadXImage _Declare ( (ImageInfo *, unsigned int, unsigned int, unsigned int, unsigned int)  )
int Latin1Compare _Declare ( (char *, char *)  )
int Latin1Compare XError _Declare ( (Display *, XErrorEvent *)  )
unsigned int IsTrue _Declare ( (char *)  )
unsigned int IsTrue XAnnotateImage _Declare ( (Display *, XPixelInfo *, XAnnotateInfo *, unsigned int,Image *)  )
unsigned int IsTrue XAnnotateImage XGetWindowColor _Declare ( (Display *, XColor *)  )
unsigned int IsTrue XAnnotateImage XGetWindowColor XMakeImage _Declare ( (Display *, XResourceInfo *, XWindowInfo *, Image *,unsigned int, unsigned int)  )
unsigned int IsTrue XAnnotateImage XGetWindowColor XMakeImage XMakePixmap _Declare ( (Display *, XResourceInfo *, XWindowInfo *)  )
void XBestIconSize _Declare ( (Display *, XWindowInfo *, Image *)  )
void XBestIconSize XBestPixel _Declare ( (Display *, Colormap, XColor *, unsigned int, XColor *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow _Declare ( (Display *, XWindowInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage _Declare ( (Display *, Window, Atom, Atom, Time)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay _Declare ( (Display *, uint32_t)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors _Declare ( (Display *, Window)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString _Declare ( (Display *, XWindowInfo *, char *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources _Declare ( (Display *, XVisualInfo *, XStandardColormap *,XPixelInfo *, XFontStruct *, XResourceInfo *, XWindowInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap _Declare ( (Display *, XVisualInfo *, XStandardColormap *,XPixelInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo _Declare ( (XAnnotateInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo _Declare ( (XVisualInfo *, Colormap, XStandardColormap *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo _Declare ( (Display *, XVisualInfo *, XStandardColormap *,XResourceInfo *, Image *, XPixelInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo _Declare ( (XrmDatabase, char *, XResourceInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine _Declare ( (Display *, Window, GC, XSegment *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine XHighlightRegion _Declare ( (Display *, Window, GC, RectangleInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine XHighlightRegion XMakeMagnifyImage _Declare ( (Display *, XWindows *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine XHighlightRegion XMakeMagnifyImage XMakeStandardColormap _Declare ( (Display *, XVisualInfo *, XResourceInfo *,Image *, XStandardColormap *, XPixelInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine XHighlightRegion XMakeMagnifyImage XMakeStandardColormap XMakeWindow _Declare ( (Display *, Window, char **, int, XClassHint *, XWMHints *,XWindowInfo *)  )
void XBestIconSize XBestPixel XCheckRefreshWindow XClientMessage XDelay XDestroyWindowColors XDisplayInfoString XFreeResources XFreeStandardColormap XGetAnnotateInfo XGetMapInfo XGetPixelInfo XGetResourceInfo XGetWindowInfo XHighlightLine XHighlightRegion XMakeMagnifyImage XMakeStandardColormap XMakeWindow XRetainWindowColors XSetWindowExtents XRefreshWindow _Declare ( (Display *, XWindowInfo *, XEvent *)  )
Window XClientWindow XSelectWindow _Declare ( (Display *, RectangleInfo *)  )
Window XClientWindow XSelectWindow XWindowByID _Declare ( (Display *, Window, uint32_t)  )
Window XClientWindow XSelectWindow XWindowByID XWindowByName _Declare ( (Display *, Window, char *)  )
XFontStruct* XBestFont _Declare ( (Display *, XResourceInfo *)  )
XVisualInfo* XBestVisualInfo _Declare ( (Display *, XStandardColormap *, XResourceInfo *)  )

Variable Documentation

char* client_name

Definition at line 65 of file error.c.