comparison lwlib/xlwradio.c @ 458:c33ae14dd6d0 r21-2-44

Import from CVS: tag r21-2-44
author cvs
date Mon, 13 Aug 2007 11:42:25 +0200
parents abe6d1db359e
children c2569faae8ed
comparison
equal deleted inserted replaced
457:4b9290a33024 458:c33ae14dd6d0
326 gc = XtIsSensitive(w) ? rw->label.normal_GC : rw->label.gray_GC ; 326 gc = XtIsSensitive(w) ? rw->label.normal_GC : rw->label.gray_GC ;
327 if( left_bitmap != None && rw->label.lbm_width > 0 ) 327 if( left_bitmap != None && rw->label.lbm_width > 0 )
328 { 328 {
329 /* TODO: handle pixmaps */ 329 /* TODO: handle pixmaps */
330 XCopyPlane(dpy, left_bitmap, win, gc, 330 XCopyPlane(dpy, left_bitmap, win, gc,
331 0,0, rw->label.lbm_width, rw->label.lbm_height, 331 0,0, rw->label.lbm_width, rw->label.lbm_height,
332 (int) rw->label.internal_width*2 + bs(rw), 332 (int) rw->label.internal_width*2 + bs(rw),
333 (int) rw->label.internal_height + rw->label.lbm_y, 333 (int) rw->label.internal_height + rw->label.lbm_y,
334 (u_long) 1L) ; 334 1UL) ;
335 } 335 }
336 336
337 /* Finally, the button itself */ 337 /* Finally, the button itself */
338 ((RadioWidgetClass)(w->core.widget_class))->radio_class.drawDiamond(w) ; 338 ((RadioWidgetClass)(w->core.widget_class))->radio_class.drawDiamond(w) ;
339 } 339 }