⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xlib.h

📁 rxvt经典的linux下的终端.小巧实用
💻 H
📖 第 1 页 / 共 5 页
字号:
	BoolDef override_redirect;	/* boolean, is override set... */} XMapEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window parent;	Window window;} XMapRequestEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window event;	Window window;	Window parent;	int x, y;	BoolDef override_redirect;} XReparentEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window event;	Window window;	int x, y;	int width, height;	int border_width;	Window above;	BoolDef override_redirect;} XConfigureEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window event;	Window window;	int x, y;} XGravityEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;	int width, height;} XResizeRequestEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window parent;	Window window;	int x, y;	int width, height;	int border_width;	Window above;	int detail;		/* Above, Below, TopIf, BottomIf, Opposite */	unsigned long value_mask;} XConfigureRequestEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window event;	Window window;	int place;		/* PlaceOnTop, PlaceOnBottom */} XCirculateEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window parent;	Window window;	int place;		/* PlaceOnTop, PlaceOnBottom */} XCirculateRequestEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;	Atom atom;	Time time;	int state;		/* NewValue, Deleted */} XPropertyEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;	Atom selection;	Time time;} XSelectionClearEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window owner;	Window requestor;	Atom selection;	Atom target;	Atom property;	Time time;} XSelectionRequestEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window requestor;	Atom selection;	Atom target;	Atom property;		/* ATOM or None */	Time time;} XSelectionEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;	Colormap colormap;	/* COLORMAP or None */#if defined(__cplusplus) || defined(c_plusplus)	BoolDef c_new;		/* C++ */#else	BoolDef new;#endif	int state;		/* ColormapInstalled, ColormapUninstalled */} XColormapEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;	Atom message_type;	int format;	union {		char b[20];		short s[10];		long l[5];		} data;} XClientMessageEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;	/* Display the event was read from */	Window window;		/* unused */	int request;		/* one of MappingModifier, MappingKeyboard,				   MappingPointer */	int first_keycode;	/* first keycode */	int count;		/* defines range of change w. first_keycode*/} XMappingEvent;typedef struct {	int type;	Display *display;	/* Display the event was read from */	XID resourceid;		/* resource id */	unsigned long serial;	/* serial number of failed request */	unsigned char error_code;	/* error code of failed request */	unsigned char request_code;	/* Major op-code of failed request */	unsigned char minor_code;	/* Minor op-code of failed request */} XErrorEvent;typedef struct {	int type;	unsigned long serial;	/* # of last request processed by server */	BoolDef send_event;	/* true if this came from a SendEvent request */	Display *display;/* Display the event was read from */	Window window;	/* window on which event was requested in event mask */} XAnyEvent;/* * this union is defined so Xlib can always use the same sized * event structure internally, to avoid memory fragmentation. */typedef union _XEvent {        int type;		/* must not be changed; first element */	XAnyEvent xany;	XKeyEvent xkey;	XButtonEvent xbutton;	XMotionEvent xmotion;	XCrossingEvent xcrossing;	XFocusChangeEvent xfocus;	XExposeEvent xexpose;	XGraphicsExposeEvent xgraphicsexpose;	XNoExposeEvent xnoexpose;	XVisibilityEvent xvisibility;	XCreateWindowEvent xcreatewindow;	XDestroyWindowEvent xdestroywindow;	XUnmapEvent xunmap;	XMapEvent xmap;	XMapRequestEvent xmaprequest;	XReparentEvent xreparent;	XConfigureEvent xconfigure;	XGravityEvent xgravity;	XResizeRequestEvent xresizerequest;	XConfigureRequestEvent xconfigurerequest;	XCirculateEvent xcirculate;	XCirculateRequestEvent xcirculaterequest;	XPropertyEvent xproperty;	XSelectionClearEvent xselectionclear;	XSelectionRequestEvent xselectionrequest;	XSelectionEvent xselection;	XColormapEvent xcolormap;	XClientMessageEvent xclient;	XMappingEvent xmapping;	XErrorEvent xerror;	XKeymapEvent xkeymap;	long pad[24];} XEvent;typedef int (*XErrorHandler) (	    /* WARNING, this type not in Xlib spec */    Display*		/* display */,    XErrorEvent*	/* error_event */);typedef struct {    Atom name;    unsigned long card32;} XFontProp;typedef struct {    XExtData	*ext_data;	/* hook for extension to hang data */    Font        fid;            /* Font id for this font */    unsigned	direction;	/* hint about direction the font is painted */    unsigned	min_char_or_byte2;/* first character */    unsigned	max_char_or_byte2;/* last character */    unsigned	min_byte1;	/* first row that exists */    unsigned	max_byte1;	/* last row that exists */    BoolDef all_chars_exist;/* flag if all characters have non-zero size*/    unsigned	default_char;	/* char to print for undefined character */    int         n_properties;   /* how many properties there are */    XFontProp	*properties;	/* pointer to array of additional properties*/    XCharStruct	min_bounds;	/* minimum bounds over all existing char*/    XCharStruct	max_bounds;	/* maximum bounds over all existing char*/    XCharStruct	*per_char;	/* first_char to last_char information */    int		ascent;		/* log. extent above baseline for spacing */    int		descent;	/* log. descent below baseline for spacing */} XFontStruct;typedef enum {    XStringStyle,		/* STRING */    XCompoundTextStyle,		/* COMPOUND_TEXT */    XTextStyle,			/* text in owner's encoding (current locale)*/    XStdICCTextStyle,		/* STRING, else COMPOUND_TEXT */    XUTF8StringStyle		/* UTF8_STRING */} XICCEncodingStyle;typedef struct _XIM *XIM;typedef struct _XIC *XIC;/* * Data structure for "image" data, used by image manipulation routines. */typedef struct _XImage {    int width, height;		/* size of image */    int xoffset;		/* number of pixels offset in X direction */    int format;			/* XYBitmap, XYPixmap, ZPixmap */    char *data;			/* pointer to image data */    int byte_order;		/* data byte order, LSBFirst, MSBFirst */    int bitmap_unit;		/* quant. of scanline 8, 16, 32 */    int bitmap_bit_order;	/* LSBFirst, MSBFirst */    int bitmap_pad;		/* 8, 16, 32 either XY or ZPixmap */    int depth;			/* depth of image */    int bytes_per_line;		/* accelarator to next line */    int bits_per_pixel;		/* bits per pixel (ZPixmap) */    unsigned long red_mask;	/* bits in z arrangment */    unsigned long green_mask;    unsigned long blue_mask;    XPointer obdata;		/* hook for the object routines to hang on */    struct funcs {		/* image manipulation routines */	struct _XImage *(*create_image)(		struct _XDisplay* /* display */,		Visual*		/* visual */,		unsigned int	/* depth */,		int		/* format */,		int		/* offset */,		char*		/* data */,		unsigned int	/* width */,		unsigned int	/* height */,		int		/* bitmap_pad */,		int		/* bytes_per_line */);	int (*destroy_image)        (struct _XImage *);	unsigned long (*get_pixel)  (struct _XImage *, int, int);	int (*put_pixel)            (struct _XImage *, int, int, unsigned long);	struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int);	int (*add_pixel)            (struct _XImage *, long);	} f;} XImage;typedef struct { 	int max_keypermod;	/* The server's max # of keys per modifier */ 	KeyCode *modifiermap;	/* An 8 by max_keypermod array of modifiers */} XModifierKeymap;typedef struct {    short x, y;} XPoint;typedef struct {    short x, y;    unsigned short width, height;} XRectangle;typedef struct {    short x1, y1, x2, y2;} XSegment;typedef struct {    Pixmap background_pixmap;	/* background or None or ParentRelative */    unsigned long background_pixel;	/* background pixel */    Pixmap border_pixmap;	/* border of the window */    unsigned long border_pixel;	/* border pixel value */    int bit_gravity;		/* one of bit gravity values */    int win_gravity;		/* one of the window gravity values */    int backing_store;		/* NotUseful, WhenMapped, Always */    unsigned long backing_planes;/* planes to be preseved if possible */    unsigned long backing_pixel;/* value to use in restoring planes */    BoolDef save_under;		/* should bits under be saved? (popups) */    long event_mask;		/* set of events that should be saved */    long do_not_propagate_mask;	/* set of events that should not propagate */    BoolDef override_redirect;	/* boolean value for override-redirect */    Colormap colormap;		/* color map to be associated with window */    Cursor cursor;		/* cursor to be displayed (or None) */} XSetWindowAttributes;typedef struct {	long flags;	/* marks which fields in this structure are defined */	int x, y;		/* obsolete for new window mgrs, but clients */	int width, height;	/* should set so old wm's don't mess up */	int min_width, min_height;	int max_width, max_height;    	int width_inc, height_inc;	struct {		int x;	/* numerator */		int y;	/* denominator */	} min_aspect, max_aspect;	int base_width, base_height;		/* added by ICCCM version 1 */	int win_gravity;			/* added by ICCCM version 1 */} XSizeHints;typedef struct {	Colormap colormap;	unsigned long red_max;	unsigned long red_mult;	unsigned long green_max;	unsigned long green_mult;	unsigned long blue_max;	unsigned long blue_mult;	unsigned long base_pixel;	VisualID visualid;		/* added by ICCCM version 1 */	XID killid;			/* added by ICCCM version 1 */} XStandardColormap;typedef struct {    unsigned char *value;		/* same as Property routines */    Atom encoding;			/* prop type */    int format;				/* prop data format: 8, 16, or 32 */    unsigned long nitems;		/* number of data items in value */} XTextProperty;typedef struct {  Visual *visual;  VisualID visualid;  int screen;  int depth;#if defined(__cplusplus) || defined(c_plusplus)  int c_class;					/* C++ */#else  int class;#endif  unsigned long red_mask;  unsigned long green_mask;  unsigned long blue_mask;  int colormap_size;  int bits_per_rgb;} XVisualInfo;typedef struct {	long flags;	/* marks which fields in this structure are defined */	BoolDef input;	/* does this application rely on the window manager to			get keyboard input? */	int initial_state;	/* see below */	Pixmap icon_pixmap;	/* pixmap to be used as icon */	Window icon_window; 	/* window to be used as icon */	int icon_x, icon_y; 	/* initial position of icon */	Pixmap icon_mask;	/* icon mask bitmap */	XID window_group;	/* id of related window group */	/* this structure may be extended in the future */} XWMHints;typedef struct {    int x, y;			/* location of window */    int width, height;		/* width and height of window */    int border_width;		/* border width of window */    int depth;          	/* depth of window */    Visual *visual;		/* the associated visual structure */    Window root;        	/* root of screen containing window */#if defined(__cplusplus) || defined(c_plusplus)    int c_class;		/* C++ InputOutput, InputOnly*/#else    int class;			/* InputOutput, InputOnly*/#endif    int bit_gravity;		/* one of bit gravity values */    int win_gravity;		/* one of the window gravity values */    int backing_store;		/* NotUseful, WhenMapped, Always */    unsigned long backing_planes;/* planes to be preserved if possible */    unsigned long backing_pixel;/* value to be used when restoring planes */    BoolDef save_under;		/* boolean, should bits under be saved? */    Colormap colormap;		/* color map to be associated with window */    BoolDef map_installed;		/* boolean, is color map currently installed*/    int map_state;		/* IsUnmapped, IsUnviewable, IsViewable */    long all_event_masks;	/* set of events all people have interest in*/    long your_event_mask;	/* my event mask */    long do_not_propagate_mask; /* set of events that should not propagate */    BoolDef override_redirect;	/* boolean value for override-redirect */    Screen *screen;		/* back pointer to correct screen */} XWindowAttributes;struct _XrmHashBucketRec;/* needed for xdefaults.c */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -