comparison src/keyboard.c @ 26788:5e97315b6f11

* keyboard.c (Qratio): New symbol. (scroll_bar_parts): Add `Qratio' to it. (syms_of_keyboard): Init `Qratio'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 10 Dec 1999 01:39:53 +0000
parents 229494ea30fa
children 9fa7ffa9b04d
comparison
equal deleted inserted replaced
26787:5379722b5468 26788:5e97315b6f11
4010 }; 4010 };
4011 4011
4012 /* Scroll bar parts. */ 4012 /* Scroll bar parts. */
4013 Lisp_Object Qabove_handle, Qhandle, Qbelow_handle; 4013 Lisp_Object Qabove_handle, Qhandle, Qbelow_handle;
4014 Lisp_Object Qup, Qdown, Qbottom, Qend_scroll; 4014 Lisp_Object Qup, Qdown, Qbottom, Qend_scroll;
4015 Lisp_Object Qtop; 4015 Lisp_Object Qtop, Qratio;
4016 4016
4017 /* An array of scroll bar parts, indexed by an enum scroll_bar_part value. */ 4017 /* An array of scroll bar parts, indexed by an enum scroll_bar_part value. */
4018 Lisp_Object *scroll_bar_parts[] = { 4018 Lisp_Object *scroll_bar_parts[] = {
4019 &Qabove_handle, &Qhandle, &Qbelow_handle, 4019 &Qabove_handle, &Qhandle, &Qbelow_handle,
4020 &Qup, &Qdown, &Qtop, &Qbottom, &Qend_scroll 4020 &Qup, &Qdown, &Qtop, &Qbottom, &Qend_scroll, &Qratio
4021 }; 4021 };
4022 4022
4023 /* User signal events. */ 4023 /* User signal events. */
4024 Lisp_Object Qusr1_signal, Qusr2_signal; 4024 Lisp_Object Qusr1_signal, Qusr2_signal;
4025 4025
9619 staticpro (&Qtop); 9619 staticpro (&Qtop);
9620 Qbottom = intern ("bottom"); 9620 Qbottom = intern ("bottom");
9621 staticpro (&Qbottom); 9621 staticpro (&Qbottom);
9622 Qend_scroll = intern ("end-scroll"); 9622 Qend_scroll = intern ("end-scroll");
9623 staticpro (&Qend_scroll); 9623 staticpro (&Qend_scroll);
9624 Qratio = intern ("ratio");
9625 staticpro (&Qratio);
9624 9626
9625 Qevent_kind = intern ("event-kind"); 9627 Qevent_kind = intern ("event-kind");
9626 staticpro (&Qevent_kind); 9628 staticpro (&Qevent_kind);
9627 Qevent_symbol_elements = intern ("event-symbol-elements"); 9629 Qevent_symbol_elements = intern ("event-symbol-elements");
9628 staticpro (&Qevent_symbol_elements); 9630 staticpro (&Qevent_symbol_elements);