aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2001-12-01 01:28:45 +0000
committerKim F. Storm2001-12-01 01:28:45 +0000
commit9fbc32aa4d69b90b4d9317296127252a6ffbfb76 (patch)
treeb2a44bef9e8b8d36e07c87075e7701a1dc59561b
parent2d9bd0e7ca693d78a04652646d2d94b015fac784 (diff)
downloademacs-9fbc32aa4d69b90b4d9317296127252a6ffbfb76.tar.gz
emacs-9fbc32aa4d69b90b4d9317296127252a6ffbfb76.zip
Fringe width related changes.
-rw-r--r--src/ChangeLog50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1ff7fb3b076..80e2aedab03 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,53 @@
12001-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
12001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 512001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 52
3 * COPYING: Removed. 53 * COPYING: Removed.