/macosx-10.9.5/emacs-92/emacs/oldXMenu/ |
H A D | Create.c | 121 XAllocDisplayColor(display, map, colorName, color, junk) 122 Display *display; 129 XParseColor(display, map, colorName, color) && 130 XAllocColor(display, map, color)); 135 XMenuCreate(display, parent, def_env) 136 Display *display; /* ID of previously opened display */ 145 XMStyle menu_style; /* Menu display style. */ 146 XMMode menu_mode; /* Menu display mode. */ 153 XMStyle p_style; /* Pane display styl 201 int *width, *height; local 466 int width, height; local [all...] |
/macosx-10.9.5/tcl-102/tk/tk/win/ |
H A D | tkWinImage.c | 19 unsigned long pixel); 58 * Get a single pixel from an image. 61 * Returns the 32 bit pixel value. 74 unsigned long pixel = 0; 81 pixel = RGB(srcPtr[2], srcPtr[1], srcPtr[0]); 84 pixel = RGB(((((WORD*)srcPtr)[0]) >> 7) & 0xf8, 89 pixel = srcPtr[0]; 92 pixel = ((x%2) ? (*srcPtr) : ((*srcPtr) >> 4)) & 0x0f; 95 pixel = ((*srcPtr) & (0x80 >> (x%8))) ? 1 : 0; 98 return pixel; 72 unsigned long pixel = 0; local 116 PutPixel( XImage *image, int x, int y, unsigned long pixel) argument 204 XCreateImage( Display *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) argument 284 XGetImageZPixmap( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument 578 XGetImage( Display* display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument 612 COLORREF pixel; local 628 PutPixel(imagePtr, (int) xx, (int) yy, pixel); local [all...] |
H A D | tkWin3d.c | 119 int x, int y, int width, int height, 130 Display *display = Tk_Display(tkwin); 132 HDC dc = TkWinGetDrawableDC(display, drawable, &state); 145 ? ((WinBorder *)borderPtr)->light2ColorPtr->pixel 146 : ((WinBorder *)borderPtr)->dark2ColorPtr->pixel; 151 : ((WinBorder *)borderPtr)->light2ColorPtr->pixel; 153 ? ((WinBorder *)borderPtr)->dark2ColorPtr->pixel 172 half = width/2; 173 if (leftBevel && (width & 1)) { 177 TkWinFillRect(dc, x+half, y, width 112 Tk_3DVerticalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief) argument 127 Display *display = Tk_Display(tkwin); local 197 Tk_3DHorizontalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief) argument 221 Display *display = Tk_Display(tkwin); local [all...] |
H A D | tkWinButton.c | 63 * Cached information about the boxes bitmap, and the default border width for 192 int width = GetSystemMetrics(SM_CXEDGE); 193 if (width > 0) { 194 sprintf(tkDefButtonBorderWidth, "%d", width); 310 * This procedure is invoked to display a button widget. It is normally 336 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; 414 * Compute width of default ring and offset for pushed buttons. 437 pixmap = Tk_GetPixmap(butPtr->display, Tk_WindowId(tkwin), 447 Tk_SizeOfImage(butPtr->image, &width, &height); 450 Tk_SizeOfBitmap(butPtr->display, butPt 190 int width = GetSystemMetrics(SM_CXEDGE); local 330 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; local 818 int width = 0, height = 0; /* Width and height of button */ local [all...] |
H A D | tkWinDraw.c | 120 static void DrawOrFillArc(Display *display, Drawable d, GC gc, 121 int x, int y, unsigned int width, 149 Display *display, 162 cmap = DefaultColormap(display, DefaultScreen(display)); 168 cmap = DefaultColormap(display, DefaultScreen(display)); 307 Display *display, 312 unsigned int width, unsigned int height, 319 srcDC = TkWinGetDrawableDC(display, sr 147 TkWinGetDrawableDC( Display *display, Drawable d, TkWinDCState *state) argument 302 XCopyArea( Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y) argument 358 XCopyPlane( Display *display, Drawable src, Drawable dest, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y, unsigned long plane) argument 504 TkPutImage( unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height) argument 619 XFillRectangles( Display *display, Drawable d, GC gc, XRectangle *rectangles, int nrectangles) argument 760 LONG width, height; local 870 XDrawLines( Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode) argument 913 XFillPolygon( Display *display, Drawable d, GC gc, XPoint *points, int npoints, int shape, int mode) argument 955 XDrawRectangle( Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height) argument 1003 XDrawArc( Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int start, int extent) argument 1033 XFillArc( Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int start, int extent) argument 1064 DrawOrFillArc( Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height, int start, int extent, int fill) argument 1263 TkScrollWindow( Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn) argument 1301 TkWinFillRect( HDC dc, int x, int y, int width, int height, int pixel) argument [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/macosx/ |
H A D | tkMacOSXXStubs.c | 42 static TkDisplay *gMacDisplay = NULL; /* Macintosh display. */ 43 static const char *macScreenName = ":0"; /* Default name of macintosh display. */ 49 static XID MacXIdAlloc(Display *display); 50 static int DefaultErrorHandler(Display* display, XErrorEvent* err_evt); 58 static int PutPixel(XImage *image, int x, int y, unsigned long pixel); 61 unsigned int width, unsigned int height); 73 * display (screen) change. 85 TkMacOSXDisplayChanged(Display *display) 91 if (display == NULL || display 84 TkMacOSXDisplayChanged(Display *display) argument 142 Display *display; local 230 Display *display = displayPtr->display; local 308 MacXIdAlloc( Display *display) argument 365 DefaultErrorHandler( Display* display, XErrorEvent* err_evt) argument 379 XGetAtomName( Display * display, Atom atom) argument 401 XRootWindow(Display *display, int screen_number) argument 447 XChangeProperty( Display* display, Window w, Atom property, Atom type, int format, int mode, _Xconst unsigned char* data, int nelements) argument 461 XSelectInput( Display* display, Window w, long event_mask) argument 470 XBell( Display* display, int percent) argument 513 XSendEvent( Display* display, Window w, Bool propagate, long event_mask, XEvent* event_send) argument 525 XClearWindow( Display* display, Window w) argument 555 XWarpPointer( Display* display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y) argument 569 XQueryColor( Display* display, Colormap colormap, XColor* def_in_out) argument 590 XQueryColors( Display* display, Colormap colormap, XColor* defs_in_out, int ncolors) argument 629 XGetWindowProperty( Display *display, Window w, Atom property, long long_offset, long long_length, Bool delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char ** prop_return) argument 658 XSetIconName( Display* display, Window w, const char *icon_name) argument 670 XForceScreenSaver( Display* display, int mode) argument 683 Tk_FreeXId( Display *display, XID xid) argument 691 XSync( Display *display, Bool flag) argument 780 XCreateImage( Display* 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) argument 863 XGetImage( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument 1010 PutPixel( XImage *image, int x, int y, unsigned long pixel) argument 1086 XChangeWindowAttributes( Display* display, Window w, unsigned long value_mask, XSetWindowAttributes* attributes) argument 1095 XSetWindowBackground( Display *display, Window window, unsigned long value) argument 1103 XSetWindowBackgroundPixmap( Display* display, Window w, Pixmap background_pixmap) argument 1111 XSetWindowBorder( Display* display, Window w, unsigned long border_pixel) argument 1119 XSetWindowBorderPixmap( Display* display, Window w, Pixmap border_pixmap) argument 1127 XSetWindowBorderWidth( Display* display, Window w, unsigned int width) argument 1135 XSetWindowColormap( Display* display, Window w, Colormap colormap) argument 1153 XSetWMClientMachine( Display* display, Window w, XTextProperty* text_prop) argument [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/win/ |
H A D | tkWinImage.c | 19 unsigned long pixel)); 58 * Get a single pixel from an image. 61 * Returns the 32 bit pixel value. 74 unsigned long pixel = 0; 81 pixel = RGB(srcPtr[2], srcPtr[1], srcPtr[0]); 84 pixel = RGB(((((WORD*)srcPtr)[0]) >> 7) & 0xf8, 89 pixel = srcPtr[0]; 92 pixel = ((x%2) ? (*srcPtr) : ((*srcPtr) >> 4)) & 0x0f; 95 pixel = ((*srcPtr) & (0x80 >> (x%8))) ? 1 : 0; 98 return pixel; 72 unsigned long pixel = 0; local 585 COLORREF pixel; local [all...] |
H A D | tkWin3d.c | 116 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height, 121 int x, y, width, height; /* Area of vertical bevel. */ 132 Display *display = Tk_Display(tkwin); 134 HDC dc = TkWinGetDrawableDC(display, drawable, &state); 147 ? ((WinBorder *)borderPtr)->light2ColorPtr->pixel 148 : ((WinBorder *)borderPtr)->dark2ColorPtr->pixel; 152 ? ((WinBorder *)borderPtr)->dark2ColorPtr->pixel 153 : ((WinBorder *)borderPtr)->light2ColorPtr->pixel; 173 half = width/2; 174 if (leftBevel && (width 129 Display *display = Tk_Display(tkwin); local 224 Display *display = Tk_Display(tkwin); local [all...] |
H A D | tkWinButton.c | 63 * Cached information about the boxes bitmap, and the default border width for 189 int width = GetSystemMetrics(SM_CXEDGE); 190 if (width > 0) { 191 sprintf(tkDefButtonBorderWidth, "%d", width); 315 * This procedure is invoked to display a button widget. It is 342 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; 420 * Compute width of default ring and offset for pushed buttons. 443 pixmap = Tk_GetPixmap(butPtr->display, Tk_WindowId(tkwin), 453 Tk_SizeOfImage(butPtr->image, &width, &height); 456 Tk_SizeOfBitmap(butPtr->display, butPt 187 int width = GetSystemMetrics(SM_CXEDGE); local 336 int width = 0, height = 0, haveImage = 0, haveText = 0, drawRing = 0; local 777 int width = 0, height = 0; /* Width and height of button */ local [all...] |
H A D | tkWinDraw.c | 121 static void DrawOrFillArc _ANSI_ARGS_((Display *display, 123 unsigned int width, unsigned int height, 150 TkWinGetDrawableDC(display, d, state) 151 Display *display; 164 cmap = DefaultColormap(display, DefaultScreen(display)); 170 cmap = DefaultColormap(display, DefaultScreen(display)); 308 XCopyArea(display, src, dest, gc, src_x, src_y, width, heigh 766 LONG width, height; local [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/unix/ |
H A D | tkUnixButton.c | 65 * This procedure is invoked to display a button widget. It is 72 * Commands are output to X to display the button in its 90 int width, height, fullWidth, fullHeight; 169 pixmap = Tk_GetPixmap(butPtr->display, Tk_WindowId(tkwin), 179 Tk_SizeOfImage(butPtr->image, &width, &height); 182 Tk_SizeOfBitmap(butPtr->display, butPtr->bitmap, &width, &height); 185 imageWidth = width; 206 fullWidth = (width > butPtr->textWidth ? width 88 int width, height, fullWidth, fullHeight; local 618 int width, height, avgWidth, txtWidth, txtHeight; local [all...] |
H A D | tkUnix3d.c | 81 Display *display = DisplayOfScreen(borderPtr->screen); 84 Tk_FreeGC(display, unixBorderPtr->solidGC); 115 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height, 120 int x, y, width, height; /* Area of vertical bevel. */ 131 Display *display = Tk_Display(tkwin); 138 XFillRectangle(display, drawable, 140 x, y, (unsigned) width, (unsigned) height); 142 XFillRectangle(display, drawable, 144 x, y, (unsigned) width, (unsigned) height); 151 half = width/ 78 Display *display = DisplayOfScreen(borderPtr->screen); local 128 Display *display = Tk_Display(tkwin); local 221 Display *display = Tk_Display(tkwin); local [all...] |
/macosx-10.9.5/tcl-102/tk/tk/unix/ |
H A D | tkUnixButton.c | 23 Display *display, Drawable d, int x, int y, 61 /* width height ncolors chars_per_pixel */ 151 Display *display, 177 if (tkwin == NULL || display == None || d == None || bgBorder == NULL 239 pixmap = Tk_GetPixmap(display, d, dim, dim, depth); 247 img = XGetImage(display, pixmap, 0, 0, 260 Tk_GetColorByValue(tkwin, bg_brdr->bgColorPtr)->pixel; 262 Tk_GetColorByValue(tkwin, bg_brdr->bgColorPtr)->pixel; 264 Tk_GetColorByValue(tkwin, bg_brdr->lightColorPtr)->pixel : 267 Tk_GetColorByValue(tkwin, selectColor)->pixel; 148 TkpDrawCheckIndicator( Tk_Window tkwin, Display *display, Drawable d, int x, int y, Tk_3DBorder bgBorder, XColor *indicatorColor, XColor *selectColor, XColor *disableColor, int on, int disabled, int mode) argument 365 int width, height, fullWidth, fullHeight; local 857 int width, height, avgWidth, txtWidth, txtHeight; local [all...] |
H A D | tkUnix3d.c | 80 Display *display = DisplayOfScreen(borderPtr->screen); 83 Tk_FreeGC(display, unixBorderPtr->solidGC); 117 int x, int y, int width, int height, 128 Display *display = Tk_Display(tkwin); 135 XFillRectangle(display, drawable, 137 x, y, (unsigned) width, (unsigned) height); 139 XFillRectangle(display, drawable, 141 x, y, (unsigned) width, (unsigned) height); 148 half = width/2; 149 if (!leftBevel && (width 78 Display *display = DisplayOfScreen(borderPtr->screen); local 111 Tk_3DVerticalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief) argument 126 Display *display = Tk_Display(tkwin); local 193 Tk_3DHorizontalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief) argument 217 Display *display = Tk_Display(tkwin); local [all...] |
/macosx-10.9.5/tcl-102/tk/tk/macosx/ |
H A D | tkMacOSXXStubs.c | 45 /* Macintosh display. */ 47 /* Default name of macintosh display. */ 53 static XID MacXIdAlloc(Display *display); 54 static int DefaultErrorHandler(Display *display, 64 unsigned long pixel); 73 * display (screen) change. 86 Display *display) 92 if (display == NULL || display->screens == NULL) { 95 screen = display 84 TkMacOSXDisplayChanged( Display *display) argument 140 Display *display; local 245 Display *display = displayPtr->display; local 323 MacXIdAlloc( Display *display) argument 380 DefaultErrorHandler( Display* display, XErrorEvent* err_evt) argument 394 XGetAtomName( Display * display, Atom atom) argument 417 XRootWindow( Display *display, int screen_number) argument 426 XGetGeometry( Display *display, Drawable d, Window *root_return, int *x_return, int *y_return, unsigned int *width_return, unsigned int *height_return, unsigned int *border_width_return, unsigned int *depth_return) argument 461 XChangeProperty( Display* display, Window w, Atom property, Atom type, int format, int mode, _Xconst unsigned char* data, int nelements) argument 475 XSelectInput( Display* display, Window w, long event_mask) argument 484 XBell( Display* display, int percent) argument 527 XSendEvent( Display* display, Window w, Bool propagate, long event_mask, XEvent* event_send) argument 539 XClearWindow( Display* display, Window w) argument 569 XWarpPointer( Display* display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y) argument 583 XQueryColor( Display* display, Colormap colormap, XColor* def_in_out) argument 604 XQueryColors( Display* display, Colormap colormap, XColor* defs_in_out, int ncolors) argument 643 XGetWindowProperty( Display *display, Window w, Atom property, long long_offset, long long_length, Bool delete, Atom req_type, Atom *actual_type_return, int *actual_format_return, unsigned long *nitems_return, unsigned long *bytes_after_return, unsigned char ** prop_return) argument 673 XSetIconName( Display* display, Window w, const char *icon_name) argument 685 XForceScreenSaver( Display* display, int mode) argument 699 Tk_FreeXId( Display *display, XID xid) argument 707 XSync( Display *display, Bool flag) argument 799 XCreateImage( Display* 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) argument 882 XGetImage( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument 1067 ImagePutPixel( XImage *image, int x, int y, unsigned long pixel) argument 1135 XChangeWindowAttributes( Display *display, Window w, unsigned long value_mask, XSetWindowAttributes *attributes) argument 1144 XSetWindowBackground( Display *display, Window window, unsigned long value) argument 1152 XSetWindowBackgroundPixmap( Display *display, Window w, Pixmap background_pixmap) argument 1160 XSetWindowBorder( Display *display, Window w, unsigned long border_pixel) argument 1168 XSetWindowBorderPixmap( Display *display, Window w, Pixmap border_pixmap) argument 1176 XSetWindowBorderWidth( Display *display, Window w, unsigned int width) argument 1184 XSetWindowColormap( Display *display, Window w, Colormap colormap) argument 1203 XSetWMClientMachine( Display *display, Window w, XTextProperty *text_prop) argument [all...] |
H A D | tkMacOSXButton.c | 153 * This procedure is invoked to display a button widget. It is 160 * Commands are output to X to display the button in its 288 * This procedure is invoked to display a button widget. It is 295 * Commands are output to X to display the button in its 387 TKLog(@"button %s frame %@ width %d height %d", 426 int width, height, border = 0; 536 int width, height; 541 Tk_SizeOfImage(butPtr->image, &width, &height); 542 image = TkMacOSXGetNSImageWithTkImage(butPtr->display, 543 butPtr->image, width, heigh 419 int width, height, border = 0; local 529 int width, height; local 700 int width = 0, height = 0, fullWidth, fullHeight; local 1054 int width, height, avgWidth, txtWidth, txtHeight; local [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/pixmap/ |
H A D | pixmapWin.c | 28 static void CopyTransparent(Display* display, 30 int src_x, int src_y, int width, 73 Display *display = Tk_Display(instancePtr->tkwin); local 78 instancePtr->pixmap = Tk_GetPixmap(display, 84 mask->width = masterPtr->size[0]; 86 mask->bytes_per_line = (mask->width+7)/8; 119 * Sets the pixel at the given (x,y) coordinate to be the given 137 Display *display = Tk_Display(instancePtr->tkwin); local 140 gcValues.foreground = colorPtr->pixel; 142 XDrawRectangle(display, instancePt 173 Display *display = Tk_Display(instancePtr->tkwin); local [all...] |
H A D | pixmapUnix.c | 24 Pixmap mask; /* Mask: only display pixmap pixels where 72 Display *display = Tk_Display(instancePtr->tkwin); local 88 image = XCreateImage(display, 95 mask = XCreateImage(display, 129 * Sets the pixel at the given (x,y) coordinate to be the given 144 XPutPixel(image, x, y, colorPtr->pixel); 168 Display *display = Tk_Display(instancePtr->tkwin); local 175 instancePtr->pixmap = Tk_GetPixmap(display, 181 XPutImage(display, instancePtr->pixmap, 184 Tk_FreeGC(display, g [all...] |
/macosx-10.9.5/tcl-102/tk/tk/generic/ |
H A D | tkOldTest.c | 30 int width, height; /* Dimensions of image. */ member in struct:TImageMaster 57 Display *display, Drawable drawable, 58 int imageX, int imageY, int width, 61 static void ImageFree(ClientData clientData, Display *display); 170 timPtr->width = 30; 209 int x, y, width, height; 219 " changed x y width height imageWidth imageHeight", NULL); 224 || (Tcl_GetInt(interp, argv[4], &width) != TCL_OK) 226 || (Tcl_GetInt(interp, argv[6], &timPtr->width) != TCL_OK) 230 Tk_ImageChanged(timPtr->master, x, y, width, heigh 206 int x, y, width, height; local 297 ImageDisplay( ClientData clientData, Display *display, Drawable drawable, int imageX, int imageY, int width, int height, int drawableX, int drawableY) argument 349 ImageFree( ClientData clientData, Display *display) argument [all...] |
H A D | tkMenuDraw.c | 80 mePtr->width = 0; 115 Tk_FreeGC(menuPtr->display, menuPtr->textGC); 118 Tk_FreeGC(menuPtr->display, menuPtr->disabledImageGC); 121 Tk_FreeBitmap(menuPtr->display, menuPtr->gray); 124 Tk_FreeGC(menuPtr->display, menuPtr->disabledGC); 127 Tk_FreeGC(menuPtr->display, menuPtr->activeGC); 130 Tk_FreeGC(menuPtr->display, menuPtr->indicatorGC); 157 Tk_FreeGC(mePtr->menuPtr->display, mePtr->textGC); 160 Tk_FreeGC(mePtr->menuPtr->display, mePtr->disabledGC); 163 Tk_FreeGC(mePtr->menuPtr->display, mePt 583 TkMenuSelectImageProc( ClientData clientData, int x, int y, int width, int height, int imgWidth, int imgHeight) argument 626 int width; local 807 TkMenuImageProc( ClientData clientData, int x, int y, int width, int height, int imgWidth, int imgHeight) argument [all...] |
H A D | tkImgPhoto.c | 5 * full color (32 bits per pixel including alpha channel) and displayed 53 * An unsigned 32-bit integral type, used for pixel values. We use int rather 57 typedef unsigned int pixel; typedef 67 * The set of colors required to display a photo image in a window depends on: 74 * in which they were allocated. Sets of pixel values allocated for displaying 75 * photos are re-used in other windows if possible, that is, if the display, 77 * these sets of pixel values, using the following data structure as key: 81 Display *display; /* Qualifies the colormap resource ID. */ member in struct:__anon13438 89 * For a particular (display, colormap, palette, gamma) combination, a data 90 * structure of the following type is used to store the allocated pixel value 153 int width, height; /* Dimensions of image. */ member in struct:PhotoMaster 201 Display *display; /* Display for windows using this instance. */ member in struct:PhotoInstance 216 int width, height; /* Dimensions of the pixmap. */ member in struct:PhotoInstance 653 int result, index, x, y, width, height, dataWidth, dataHeight, listObjc; local 2582 ImgPhotoBlendComplexAlpha( XImage *bgImg, PhotoInstance *iPtr, int xOffset, int yOffset, int width, int height) argument 2590 unsigned long pixel; local 2750 ImgPhotoDisplay( ClientData clientData, Display *display, Drawable drawable, int imageX, int imageY, int width, int height, int drawableX,int drawableY) argument 2851 ImgPhotoFree( ClientData clientData, Display *display) argument 2982 ImgPhotoSetSize( PhotoMaster *masterPtr, int width, int height) argument 4307 Tk_PhotoPutBlock( Tcl_Interp *interp, Tk_PhotoHandle handle, register Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule) argument 4678 Tk_PhotoPutZoomedBlock( Tcl_Interp *interp, Tk_PhotoHandle handle, register Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule) argument 4977 Tk_DitherPhoto( Tk_PhotoHandle photo, int x, int y, int width, int height) argument 5054 DitherInstance( PhotoInstance *instancePtr, int xStart, int yStart, int width, int height) argument 5456 Tk_PhotoExpand( Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height) argument 5534 Tk_PhotoSetSize( Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height) argument 6032 ImgPhotoPostscript( ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, int x, int y, int width, int height, int prepass) argument 6064 Tk_PhotoPutBlock_NoComposite( Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height) argument 6076 Tk_PhotoPutZoomedBlock_NoComposite( Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY) argument 6105 Tk_PhotoExpand_Panic( Tk_PhotoHandle handle, int width, int height) argument 6115 Tk_PhotoPutBlock_Panic( Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule) argument 6127 Tk_PhotoPutZoomedBlock_Panic( Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule) argument 6140 Tk_PhotoSetSize_Panic( Tk_PhotoHandle handle, int width, int height) argument [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/generic/ |
H A D | tkMenuDraw.c | 81 mePtr->width = 0; 116 Tk_FreeGC(menuPtr->display, menuPtr->textGC); 119 Tk_FreeGC(menuPtr->display, menuPtr->disabledImageGC); 122 Tk_FreeBitmap(menuPtr->display, menuPtr->gray); 125 Tk_FreeGC(menuPtr->display, menuPtr->disabledGC); 128 Tk_FreeGC(menuPtr->display, menuPtr->activeGC); 131 Tk_FreeGC(menuPtr->display, menuPtr->indicatorGC); 158 Tk_FreeGC(mePtr->menuPtr->display, mePtr->textGC); 161 Tk_FreeGC(mePtr->menuPtr->display, mePtr->disabledGC); 164 Tk_FreeGC(mePtr->menuPtr->display, mePt 635 int width; local [all...] |
H A D | tkImgPhoto.c | 5 * stored in full color (32 bits per pixel including alpha channel) 55 * An unsigned 32-bit integral type, used for pixel values. 60 typedef unsigned int pixel; typedef 70 * The set of colors required to display a photo image in a window depends on: 77 * colormap in which they were allocated. Sets of pixel values 79 * possible, that is, if the display, colormap, palette and gamma 80 * values match. A hash table is used to locate these sets of pixel 85 Display *display; /* Qualifies the colormap resource ID */ member in struct:__anon13781 93 * For a particular (display, colormap, palette, gamma) combination, 95 * pixel value 157 int width, height; /* Dimensions of image. */ member in struct:PhotoMaster 205 Display *display; /* Display for windows using this instance. */ member in struct:PhotoInstance 220 int width, height; /* Dimensions of the pixmap. */ member in struct:PhotoInstance 672 int x, y, width, height; local 2589 unsigned long pixel; local [all...] |
H A D | tkWindow.c | 194 static char *display = NULL; variable 204 {"-display", TK_ARGV_STRING, (char *) NULL, (char *) &display, 211 "Use synchronous mode for display server"}, 244 * Closing the display can lead to order of deletion problems. 252 * Resources associated with the display will be free. 253 * The display may not be referenced at all after this. 391 * Force the window to use a border pixel instead of border pixmap. 425 * Given a string name for a display-plus-screen, find the 426 * TkDisplay structure for the display an [all...] |
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | xterm.c | 22 /* New display code by Gerd Moellmann <gerd@gnu.org>. */ 375 /* Flush display of frame F, or of all frames if F is null. */ 450 if (dpyinfo->display == dpy) 556 display W's cursor if CURSOR_ON_P is non-zero. 563 support. Such windows don't have a cursor, so don't display it 659 int width, height; 667 full-width rows stays visible in the internal border. Could 675 width = FRAME_INTERNAL_BORDER_WIDTH (f), 676 width != 0) 685 y -= width; local 655 int width, height; local 700 Display *display = FRAME_X_DISPLAY (f); local 1509 Pixel pixel; local 1668 unsigned long pixel = colors[i].pixel; local 1941 unsigned long pixel; local 2130 int width, left_x, right_x, top_y, bottom_y, last_x, raised_p; local 2546 int width, background_width = s->background_width; local 2787 x, y, width, height, local 2925 int width; local 2963 width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); local 3017 width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); local 3091 int x, y, width, height, from_y, to_y, bottom_y; local 3131 width, height, local 4417 unsigned long pixel; local 4762 left, top, width, local 4980 int top, height, left, sb_left, width, sb_width; local 5025 left, top, width, height, False); local 5058 left, top, width, height, False); local 7340 x, y, width, height, False); local 8527 int width, height, ign; local 8986 unsigned int width, height, border, depth; local 8998 &rootw, &x, &y, &width, &height, &border, &depth); local 9828 int width = 0; local 10180 int width = pcm->width; local [all...] |