comparison src/redisplay-msw.c @ 819:6504113e7c2d

[xemacs-hg @ 2002-04-25 18:03:23 by andyp] sync up windows branch from 21.4
author andyp
date Thu, 25 Apr 2002 18:04:24 +0000
parents a5954632b187
children 6728e641994e
comparison
equal deleted inserted replaced
818:accc481aef34 819:6504113e7c2d
280 { 280 {
281 struct display_box db; 281 struct display_box db;
282 struct display_glyph_area dga; 282 struct display_glyph_area dga;
283 redisplay_calculate_display_boxes (dl, rb->xpos, 283 redisplay_calculate_display_boxes (dl, rb->xpos,
284 /*rb->object.dglyph.xoffset*/ 0, 284 /*rb->object.dglyph.xoffset*/ 0,
285 /*rb->object.dglyph.yoffset*/ 0,
285 start_pixpos, rb->width, 286 start_pixpos, rb->width,
286 &db, &dga); 287 &db, &dga);
287 /* blank the background in the appropriate color */ 288 /* blank the background in the appropriate color */
288 mswindows_update_dc (hdc, cachel->foreground, 289 mswindows_update_dc (hdc, cachel->foreground,
289 cachel->background, Qnil); 290 cachel->background, Qnil);
493 494
494 if (!NILP(bg_pmap)) 495 if (!NILP(bg_pmap))
495 { 496 {
496 struct display_box db; 497 struct display_box db;
497 struct display_glyph_area dga; 498 struct display_glyph_area dga;
498 redisplay_calculate_display_boxes (dl, xpos + xoffset, 0, 499 redisplay_calculate_display_boxes (dl, xpos + xoffset, 0, 0,
499 clip_start, width, &db, &dga); 500 clip_start, width, &db, &dga);
500 /* blank the background in the appropriate color */ 501 /* blank the background in the appropriate color */
501 mswindows_update_dc (hdc, 502 mswindows_update_dc (hdc,
502 cachel->foreground, cachel->background, Qnil); 503 cachel->foreground, cachel->background, Qnil);
503 redisplay_output_pixmap (w, bg_pmap, &db, &dga, findex, 504 redisplay_output_pixmap (w, bg_pmap, &db, &dga, findex,
1143 Lisp_Object instance; 1144 Lisp_Object instance;
1144 struct display_box dbox; 1145 struct display_box dbox;
1145 struct display_glyph_area dga; 1146 struct display_glyph_area dga;
1146 1147
1147 redisplay_calculate_display_boxes (dl, rb->xpos, rb->object.dglyph.xoffset, 1148 redisplay_calculate_display_boxes (dl, rb->xpos, rb->object.dglyph.xoffset,
1148 start_pixpos, rb->width, 1149 rb->object.dglyph.yoffset,
1149 &dbox, &dga); 1150 start_pixpos, rb->width, &dbox, &dga);
1150 1151
1151 window = wrap_window (w); 1152 window = wrap_window (w);
1152 instance = glyph_image_instance (rb->object.dglyph.glyph, 1153 instance = glyph_image_instance (rb->object.dglyph.glyph,
1153 window, ERROR_ME_DEBUG_WARN, 1); 1154 window, ERROR_ME_DEBUG_WARN, 1);
1154 findex = rb->findex; 1155 findex = rb->findex;