Changeset 3404
- Timestamp:
- 08/14/04 16:59:11 (4 years ago)
- Files:
-
- branches/2.1/src/ChangeLog.Meadow (modified) (1 diff)
- branches/2.1/src/mw32term.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.1/src/ChangeLog.Meadow
r3401 r3404 1 2004-08-14 MIYOSHI Masanori <miyoshi@meadowy.org> 2 3 * mw32term.c (mw32i_update_window_end): Draw fringes. 4 (mw32_draw_row_bitmaps): Don't draw fringes. 5 (mw32_draw_window_fringes): New function from Emacs CVS HEAD. 6 1 7 2004-08-14 MIYOSHI Masanori <miyoshi@meadowy.org> 2 8 branches/2.1/src/mw32term.c
r3401 r3404 456 456 static int mw32_phys_cursor_in_rect_p P_ ((struct window *, RECT *)); 457 457 static void mw32_draw_row_bitmaps P_ ((struct window *, struct glyph_row *)); 458 static void mw32_draw_window_fringes (struct window *w); 458 459 static void mw32_draw_vertical_border P_ ((struct window *)); 459 460 static INLINE void take_vertical_position_into_account P_ ((struct it *)); … … 829 830 /* If we should require GdiFlush(), 830 831 insert here. */ 832 mw32_draw_window_fringes (w); 831 833 } 832 834 … … 907 909 908 910 BLOCK_INPUT; 909 mw32_draw_row_bitmaps (w, desired_row);910 911 911 912 /* When a window has disappeared, make sure that no rest of … … 1116 1117 if (bitmap != NO_BITMAP) 1117 1118 mw32_draw_bitmap (w, row, bitmap); 1119 } 1120 1121 1122 /* Draw the fringes of window W. Only fringes for rows marked for 1123 update in redraw_fringe_bitmaps_p are drawn. */ 1124 1125 static void 1126 mw32_draw_window_fringes (struct window *w) 1127 { 1128 struct glyph_row *row; 1129 int yb = window_text_bottom_y (w); 1130 int nrows = w->current_matrix->nrows; 1131 int y = 0, rn; 1132 1133 if (w->pseudo_window_p) 1134 return; 1135 1136 for (y = 0, rn = 0, row = w->current_matrix->rows; 1137 y < yb && rn < nrows; 1138 y += row->height, ++row, ++rn) 1139 { 1140 #if 0 1141 if (!row->redraw_fringe_bitmaps_p) 1142 continue; 1143 #endif 1144 mw32_draw_row_bitmaps (w, row); 1145 } 1118 1146 } 1119 1147
