Lines Matching refs:width

327     unsigned int    height, width, border, depth;  in set_pixmap()  local
394 XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth); in set_pixmap()
402 sen_pix = XCreatePixmap(dpy, root, width + shift, height + shift, depth); in set_pixmap()
405 XFillRectangle(dpy, sen_pix, gc, 0, 0, width + shift, height + shift); in set_pixmap()
408 XCopyArea(dpy, pix, sen_pix, gc, 0, 0, width, height, shift, shift); in set_pixmap()
425 high_pix = XCreatePixmap(dpy, root, width + shift, height + shift, depth); in set_pixmap()
433 XFillRectangle(dpy, high_pix, gc, 0, 0, width + shift, height + shift); in set_pixmap()
436 XCopyArea(dpy, pix, high_pix, gc, 0, 0, width, height, 0, 0); in set_pixmap()
438 arm_pix = XCreatePixmap(dpy, pix, width + shift, height + shift, depth); in set_pixmap()
446 XFillRectangle(dpy, arm_pix, gc, 0, 0, width + shift, height + shift); in set_pixmap()
449 XCopyArea(dpy, pix, arm_pix, gc, 0, 0, width, height, 2 * shift, 2 * shift); in set_pixmap()
464 ins_pix = XCreatePixmap(dpy, root, width + shift, height + shift, depth); in set_pixmap()
469 XFillRectangle(dpy, ins_pix, gc, 0, 0, width + shift, height + shift); in set_pixmap()
473 XFillRectangle(dpy, ins_pix, gc, 2 * shift, 2 * shift, width, height); in set_pixmap()
476 XFillRectangle(dpy, ins_pix, gc, 0, 0, width + shift, height + shift); in set_pixmap()
482 eb->enhancedbutton.pixmap_width = width; in set_pixmap()
510 if ((eb->core.width <= 2 * eb->primitive.highlight_thickness) in draw_shadows()
540 eb->core.width - 2 * eb->primitive.highlight_thickness, in draw_shadows()
603 eb->core.width - 2 * eb->primitive.highlight_thickness, in draw_unhighlight()
620 Cardinal width; in draw_pixmap() local
653 width = eb->core.width - 2 * x; in draw_pixmap()
654 if (w < width) in draw_pixmap()
655 width = w; in draw_pixmap()
661 width, height, x, y); in draw_pixmap()
664 width, height, x, y, (unsigned long)1); in draw_pixmap()
787 0, 0, eb->core.width, eb->core.height); in Enter()
792 if ((eb->core.width > 2 * eb->primitive.highlight_thickness) in Enter()
801 eb->core.width - 2 * eb->primitive.highlight_thickness, in Enter()
869 0, 0, eb->core.width, eb->core.height); in Leave()
878 eb->core.width - in Leave()
952 newtb->core.width = w + 2 * (newtb->primitive.shadow_thickness in set_size()
955 + newtb->label.TextRect.width; in set_size()
957 if (newtb->label.TextRect.width > 0) in set_size()
961 newtb->core.width += newtb->label.margin_width in set_size()
983 newtb->core.width, in set_size()
1034 if (request->core.width == 0) in Initialize()
1035 eb->core.width = 0; in Initialize()
1234 box.width = eb->core.width - adjust; in Redisplay()
1264 box.x, box.y, box.width, box.height); in Redisplay()
1312 int rectwidth = eb->core.width - 2 * adjust; in Redisplay()
1361 int x, y, width, height, delta; in Redisplay() local
1425 width = eb->core.width - 2 * delta; in Redisplay()
1428 if ((width > 0) && (height > 0)) in Redisplay()
1430 top_gc, bottom_gc, x, y, width, height, in Redisplay()