]> code.delx.au - gnu-emacs/commitdiff
(struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 6 May 2005 08:03:47 +0000 (08:03 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 6 May 2005 08:03:47 +0000 (08:03 +0000)
members track_top and track_height.

src/macterm.h

index 127c00b077bf47b47212a98df0d40a4183e53b70..55a5593077cf8c70b4c71ee2313d3a6cf3c16082 100644 (file)
@@ -495,6 +495,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
+  /* The position and size of the scroll bar handle track area in
+     pixels, relative to the frame.  */
+  Lisp_Object track_top, track_height;
+#endif
 };
 
 /* The number of elements a vector holding a struct scroll_bar needs.  */