Jabber WindowGram Client (JWGC)

Introduction Screenshots Installation Downloads
Documentation Browse Source Resources Project Site

Stable Version
-none-

Latest Version
beta5



Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

xshow.h

Go to the documentation of this file.
00001 #ifndef _JWGC_XSHOW_H_
00002 #define _JWGC_XSHOW_H_
00003 
00004 /*
00005  *      Copyright (c) 1989 by the Massachusetts Institute of Technology.
00006  *      For copying and distribution information, see the file
00007  *      "mit-copyright.h".
00008  *
00009  *      Modified for jwgc by Daniel Henninger.
00010  */
00011 
00012 #include "mit-copyright.h"
00013 
00014 #include <X11/Xlib.h>
00015 
00016 typedef struct _xblock {
00017    unsigned long fgcolor;
00018    Font fid;
00019    int x,y;
00020    int x1,y1,x2,y2; /* bounds of block.  used for cut and paste. */
00021    int strindex;
00022    int strlen;
00023 } xblock;
00024 
00025 typedef struct _xwin {
00026    unsigned long bgcolor;
00027    int xpos,ypos,xsize,ysize;
00028    int numblocks;
00029    xblock *blocks;
00030    char *text;
00031 } xwin;
00032 
00033 typedef struct _xauxblock {
00034    int align;
00035    XFontStruct *font;
00036    char *str;
00037    int len;
00038    int width;
00039 } xauxblock;
00040 
00041 typedef struct _xmode {
00042    int bold;
00043    int italic;
00044    int size;
00045    int align;
00046    char *substyle;
00047 } xmode;
00048 
00049 typedef struct _xlinedesc {
00050    int startblock;
00051    int numblock;
00052    int lsize;
00053    int csize;
00054    int rsize;
00055    int ascent;
00056    int descent;
00057 } xlinedesc;
00058 
00059 /* alignment values: */
00060 #define LEFTALIGN   0
00061 #define CENTERALIGN 1
00062 #define RIGHTALIGN  2
00063 
00064 void xshowinit();
00065 
00066 #endif /* _JWGC_XSHOW_H_ */


Last updated at Tue Dec 18 21:07:42 PST 2007. This site and project hosted by...SourceForge.net Logo
Source Perspective by Fisheye