Mercurial > emacs
comparison src/ChangeLog @ 41724:6c19f355b26a
Fringe width related changes.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 01 Dec 2001 01:28:45 +0000 |
parents | 9a9680d69be6 |
children | 07d263c6cf78 |
comparison
equal
deleted
inserted
replaced
41723:721838eb5cf5 | 41724:6c19f355b26a |
---|---|
1 2001-12-01 Kim F. Storm <no-spam@cua.dk> | |
2 | |
3 The following changes add left-fringe and right-fringe | |
4 frame parameters to adjust fringe widths, or remove one or | |
5 both fringes. | |
6 | |
7 * frame.h (struct frame): Remove trunc_area_pixel_width and | |
8 trunc_area_cols fields. | |
9 (Qleft_fringe, Qright_fringe): Declare. | |
10 (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
11 | |
12 * frame.c (Qleft_fringe, Qright_fringe): New vars. | |
13 (syms_of_frame): Initialize them. | |
14 | |
15 * window.c (coordinates_in_window): Handle separate left and right | |
16 fringe widths. | |
17 | |
18 * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, | |
19 and fringe_cols fields. | |
20 (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
21 (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
22 (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
23 (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
24 (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
25 (x_compute_fringe_widths): Add prototype. | |
26 | |
27 * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to | |
28 fill fringe evenly with small dashes. | |
29 (x_draw_fringe_bitmap): Clear background if necessary. Align and | |
30 clip the new ZV bitmap to avoid jitter between rows. | |
31 (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
32 background. Don't draw fringe bitmaps if fringe width is zero. | |
33 (x_compute_fringe_widths): New function. | |
34 (x_new_font, x_set_window_size_1): Use it. | |
35 | |
36 * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. | |
37 (x_set_frame_parameters): Process Process `font' parameter before other | |
38 parameters as fringe widths depend on it. | |
39 (x_set_fringe_width): New function. | |
40 (x_figure_window_size): Use x_compute_fringe_widths. | |
41 (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
42 parameters. | |
43 | |
44 * widget.c (set_frame_size): Use x_compute_fringe_widths. | |
45 (EmacsFrameSetCharSize): Ditto. | |
46 | |
47 * w32term.h: Merged changes from xterm.h. | |
48 * w32term.c: Merged changes from xterm.c. | |
49 * w32fns.c: Merged changes from xfns.c. | |
50 | |
1 2001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 51 2001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
2 | 52 |
3 * COPYING: Removed. | 53 * COPYING: Removed. |
4 | 54 |
5 2001-11-29 Dave Love <fx@gnu.org> | 55 2001-11-29 Dave Love <fx@gnu.org> |