Commit 0cb1ae20 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:

New member fringe_extended_p.
parent 9143075d
2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* w32term.c (w32_draw_fringe_bitmap): Extend fringe background to
scroll bar gap.
(x_scroll_bar_create): Set bar->fringe_extended_p.
(w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars
on frame edge. Check fringe background extension. Don't clear
extended fringe background area.
* w32term.h (struct scroll_bar): New member fringe_extended_p.
(w32_fill_area): Enclose multiple statements with do ... while (0).
* xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]:
Extend fringe background to scroll bar gap.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]:
Set bar->fringe_extended_p.
(XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
Put leftmost/rightmost scroll bars on frame edge. Check fringe
background extension. Don't clear extended fringe background area.
* xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
New member fringe_extended_p.
2007-07-25 Glenn Morris <rgm@gnu.org>
 
* Relicense all FSF files to GPLv3 or later.
......
......@@ -807,6 +807,12 @@ struct scroll_bar
place where the user grabbed it. If the handle isn't currently
being dragged, this is Qnil. */
Lisp_Object dragging;
#ifdef USE_TOOLKIT_SCROLL_BARS
/* t if the background of the fringe that is adjacent to a scroll
bar is extended to the gap between the fringe and the bar. */
Lisp_Object fringe_extended_p;
#endif
};
/* The number of elements a vector holding a struct scroll_bar needs. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment