tkUnixPort.h File Reference

#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include "../compat/limits.h"
#include <math.h>
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <tcl.h>
#include <time.h>
#include "../compat/unistd.h"
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/Xproto.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include <tclInt.h>

Go to the source code of this file.

Defines

#define __UNIX__   1
#define VOID   char
#define SELECT_MASK   fd_set
#define FD_SETSIZE   256
#define howmany(x, y)   (((x)+((y)-1))/(y))
#define NFDBITS   NBBY*sizeof(fd_mask)
#define MASK_SIZE   howmany(FD_SETSIZE, NFDBITS)
#define NBBY   8
#define TkClipBox(rgn, rect)   XClipBox((Region) rgn, rect)
#define TkCreateRegion()   (TkRegion) XCreateRegion()
#define TkDestroyRegion(rgn)   XDestroyRegion((Region) rgn)
#define TkIntersectRegion(a, b, r)
#define TkRectInRegion(r, x, y, w, h)   XRectInRegion((Region) r, x, y, w, h)
#define TkSetRegion(d, gc, rgn)   XSetRegion(d, gc, (Region) rgn)
#define TkUnionRectWithRegion(rect, src, ret)
#define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height)
#define SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define TkpButtonSetDefaults(specPtr)   {}
#define TkpDestroyButton(butPtr)   {}
#define TkSelUpdateClipboard(a, b)   {}
#define TkSetPixmapColormap(p, c)   {}
#define TkpDefineNativeBitmaps()
#define TkpCreateNativeBitmap(display, source)   None
#define TkpGetNativeAppBitmap(display, name, w, h)   None
#define TkpPrintWindowId(buf, w)   sprintf((buf), "0x%x", (unsigned int) (w))
#define TkpScanWindowId(i, s, wp)   Tcl_GetInt((i),(s),(wp))
#define ALWAYS_SHOW_SELECTION

Variables

int errno


Define Documentation

#define __UNIX__   1

Definition at line 20 of file tkUnixPort.h.

#define ALWAYS_SHOW_SELECTION

Definition at line 220 of file tkUnixPort.h.

#define FD_SETSIZE   256

Definition at line 111 of file tkUnixPort.h.

#define howmany ( x,
 )     (((x)+((y)-1))/(y))

Definition at line 115 of file tkUnixPort.h.

#define MASK_SIZE   howmany(FD_SETSIZE, NFDBITS)

Definition at line 120 of file tkUnixPort.h.

#define NBBY   8

Definition at line 134 of file tkUnixPort.h.

#define NFDBITS   NBBY*sizeof(fd_mask)

Definition at line 118 of file tkUnixPort.h.

#define SEEK_CUR   1

Definition at line 170 of file tkUnixPort.h.

#define SEEK_END   2

Definition at line 174 of file tkUnixPort.h.

#define SEEK_SET   0

Definition at line 166 of file tkUnixPort.h.

#define SELECT_MASK   fd_set

Definition at line 91 of file tkUnixPort.h.

#define TkClipBox ( rgn,
rect   )     XClipBox((Region) rgn, rect)

Definition at line 141 of file tkUnixPort.h.

 
#define TkCreateRegion (  )     (TkRegion) XCreateRegion()

Definition at line 142 of file tkUnixPort.h.

#define TkDestroyRegion ( rgn   )     XDestroyRegion((Region) rgn)

Definition at line 143 of file tkUnixPort.h.

#define TkIntersectRegion ( a,
b,
 ) 

Value:

XIntersectRegion((Region) a, \
        (Region) b, (Region) r)

Definition at line 144 of file tkUnixPort.h.

#define TkpButtonSetDefaults ( specPtr   )     {}

Definition at line 187 of file tkUnixPort.h.

#define TkpCreateNativeBitmap ( display,
source   )     None

Definition at line 198 of file tkUnixPort.h.

 
#define TkpDefineNativeBitmaps (  ) 

Definition at line 197 of file tkUnixPort.h.

#define TkpDestroyButton ( butPtr   )     {}

Definition at line 188 of file tkUnixPort.h.

#define TkpGetNativeAppBitmap ( display,
name,
w,
 )     None

Definition at line 199 of file tkUnixPort.h.

#define TkpPrintWindowId ( buf,
 )     sprintf((buf), "0x%x", (unsigned int) (w))

Definition at line 205 of file tkUnixPort.h.

#define TkpScanWindowId ( i,
s,
wp   )     Tcl_GetInt((i),(s),(wp))

Definition at line 212 of file tkUnixPort.h.

#define TkPutImage ( colors,
ncolors,
display,
pixels,
gc,
image,
destx,
desty,
srcx,
srcy,
width,
height   ) 

Value:

XPutImage(display, pixels, gc, image, destx, desty, srcx, \
        srcy, width, height);

Definition at line 156 of file tkUnixPort.h.

#define TkRectInRegion ( r,
x,
y,
w,
 )     XRectInRegion((Region) r, x, y, w, h)

Definition at line 146 of file tkUnixPort.h.

#define TkSelUpdateClipboard ( a,
 )     {}

Definition at line 189 of file tkUnixPort.h.

#define TkSetPixmapColormap ( p,
c   )     {}

Definition at line 190 of file tkUnixPort.h.

#define TkSetRegion ( d,
gc,
rgn   )     XSetRegion(d, gc, (Region) rgn)

Definition at line 147 of file tkUnixPort.h.

#define TkUnionRectWithRegion ( rect,
src,
ret   ) 

Value:

XUnionRectWithRegion(rect, \
        (Region) src, (Region) ret)

Definition at line 148 of file tkUnixPort.h.

#define VOID   char

Definition at line 33 of file tkUnixPort.h.


Variable Documentation

int errno

Generated on Mon Oct 23 15:05:36 2006 for OpenSees by doxygen 1.5.0