comparison lwlib/xlwradio.c @ 2041:0259690f597b

[xemacs-hg @ 2004-04-23 18:05:41 by james] Fix the BadGC problem by not copying one GC over another.
author james
date Fri, 23 Apr 2004 18:05:41 +0000
parents c2569faae8ed
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
2040:8d61839d121a 2041:0259690f597b
303 /* Note: the Label widget examines the region to decide if anything 303 /* Note: the Label widget examines the region to decide if anything
304 * needs to be drawn. I'm not sure that this is worth the effort, 304 * needs to be drawn. I'm not sure that this is worth the effort,
305 * but it bears thinking on. 305 * but it bears thinking on.
306 */ 306 */
307 307
308 /* Command widget may sometimes override the label GC in order
309 * to draw inverse video. We don't use inverse video, so we need
310 * to restore the label's normal GC.
311 */
312 rw->label.normal_GC = rw->command.normal_GC ;
313
314
315 /* Let label widget draw the label. If there was an lbm_x 308 /* Let label widget draw the label. If there was an lbm_x
316 * field, we could let Label draw the bitmap too. But there 309 * field, we could let Label draw the bitmap too. But there
317 * isn't, so we need to temporarily remove the bitmap and 310 * isn't, so we need to temporarily remove the bitmap and
318 * draw it ourself later. 311 * draw it ourself later.
319 */ 312 */