comparison lwlib/xlwtabs.c @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 308d34e9f07d
children
comparison
equal deleted inserted replaced
5935:d5eb0914ca1f 5936:574f0cded429
1697 if (tab->tabs.left_bitmap != None && tab->tabs.lbm_width > 0) 1697 if (tab->tabs.left_bitmap != None && tab->tabs.lbm_width > 0)
1698 { 1698 {
1699 if (tab->tabs.lbm_depth == 1) 1699 if (tab->tabs.lbm_depth == 1)
1700 XCopyPlane(dpy, tab->tabs.left_bitmap, win,gc, 1700 XCopyPlane(dpy, tab->tabs.left_bitmap, win,gc,
1701 0,0, tab->tabs.lbm_width, tab->tabs.lbm_height, 1701 0,0, tab->tabs.lbm_width, tab->tabs.lbm_height,
1702 x+tab->tabs.lbm_x, y+tab->tabs.lbm_y, 1L); 1702 x+tab->tabs.lbm_x, y+tab->tabs.lbm_y, E1);
1703 else 1703 else
1704 XCopyArea(dpy, tab->tabs.left_bitmap, win,gc, 1704 XCopyArea(dpy, tab->tabs.left_bitmap, win,gc,
1705 0,0, tab->tabs.lbm_width, tab->tabs.lbm_height, 1705 0,0, tab->tabs.lbm_width, tab->tabs.lbm_height,
1706 x+tab->tabs.lbm_x, y+tab->tabs.lbm_y); 1706 x+tab->tabs.lbm_x, y+tab->tabs.lbm_y);
1707 } 1707 }
2480 #endif 2480 #endif
2481 if (tw->tabs.be_nice_to_cmap || w->core.depth == 1) 2481 if (tw->tabs.be_nice_to_cmap || w->core.depth == 1)
2482 { 2482 {
2483 values.fill_style = FillStippled; 2483 values.fill_style = FillStippled;
2484 tw->tabs.grey50 = 2484 tw->tabs.grey50 =
2485 values.stipple = XmuCreateStippledPixmap(XtScreen(w), 1L, 0L, 1); 2485 values.stipple = XmuCreateStippledPixmap(XtScreen(w), E1, E0, 1);
2486 2486
2487 tw->tabs.greyGC = 2487 tw->tabs.greyGC =
2488 XtAllocateGC(w, w->core.depth, 2488 XtAllocateGC(w, w->core.depth,
2489 #ifndef HAVE_XFT_TABS 2489 #ifndef HAVE_XFT_TABS
2490 GCFont| 2490 GCFont|
2500 else 2500 else
2501 { 2501 {
2502 tw->tabs.greyGC = 2502 tw->tabs.greyGC =
2503 XtAllocateGC(w, w->core.depth, 2503 XtAllocateGC(w, w->core.depth,
2504 #ifdef HAVE_XFT_TABS 2504 #ifdef HAVE_XFT_TABS
2505 0L, 2505 E0,
2506 #else 2506 #else
2507 GCFont, 2507 GCFont,
2508 #endif 2508 #endif
2509 &values, 2509 &values,
2510 GCForeground, 2510 GCForeground,