bar 2055 src/gtkutil.c Lisp_Object bar; bar 2056 src/gtkutil.c for (bar = FRAME_SCROLL_BARS (f); bar 2057 src/gtkutil.c !NILP (bar); bar 2058 src/gtkutil.c bar = XSCROLL_BAR (bar)->next) bar 2060 src/gtkutil.c GtkWidget *scrollbar = xg_get_widget_from_map (XSCROLL_BAR (bar)->x_window, bar 4527 src/gtkutil.c struct scroll_bar *bar, bar 4562 src/gtkutil.c (gpointer) bar); bar 4566 src/gtkutil.c (gpointer) bar); bar 4587 src/gtkutil.c bar->x_window = GTK_WIDGET_TO_X_WIN (webox); bar 4613 src/gtkutil.c bar->x_window = scroll_id; bar 4627 src/gtkutil.c struct scroll_bar *bar, bar 4646 src/gtkutil.c xg_finish_scroll_bar_creation (f, wscroll, bar, scroll_callback, bar 4648 src/gtkutil.c bar->horizontal = 0; bar 4659 src/gtkutil.c struct scroll_bar *bar, bar 4678 src/gtkutil.c xg_finish_scroll_bar_creation (f, wscroll, bar, scroll_callback, bar 4680 src/gtkutil.c bar->horizontal = 1; bar 4920 src/gtkutil.c xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, bar 4925 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4926 src/gtkutil.c GtkWidget *wscroll = xg_get_widget_from_map (bar->x_window, bar 4930 src/gtkutil.c if (wscroll && bar->dragging == -1) bar 4947 src/gtkutil.c portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30; bar 5008 src/gtkutil.c xg_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 5013 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 5014 src/gtkutil.c GtkWidget *wscroll = xg_get_widget_from_map (bar->x_window, bar 5017 src/gtkutil.c if (wscroll && bar->dragging == -1) bar 119 src/gtkutil.h struct scroll_bar *bar, bar 124 src/gtkutil.h struct scroll_bar *bar, bar 143 src/gtkutil.h extern void xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, bar 147 src/gtkutil.h extern void xg_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 3779 src/haiku_support.cc BScrollBar *bar = (BScrollBar *) sb; bar 3781 src/haiku_support.cc BMessenger mr = BMessenger (bar); bar 4276 src/haiku_support.cc EmacsMenuBar *bar = new EmacsMenuBar (); bar 4280 src/haiku_support.cc vw->AddChild ((BView *) bar); bar 4283 src/haiku_support.cc return bar; bar 1673 src/haikufns.c Lisp_Object bar; bar 1689 src/haikufns.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) bar 1691 src/haikufns.c b = XSCROLL_BAR (bar); bar 447 src/haikuterm.c haiku_set_scroll_bar_thumb (struct scroll_bar *bar, int portion, bar 450 src/haikuterm.c void *scroll_bar = bar->scroll_bar; bar 462 src/haikuterm.c portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30; bar 468 src/haikuterm.c bar->page_size = 0; bar 487 src/haikuterm.c if (!bar->dragging && scroll_bar_adjust_thumb_portion_p) bar 488 src/haikuterm.c bar->page_size = size; bar 493 src/haikuterm.c ? bar->dragging : bar->dragging ? -1 : 0), bar 498 src/haikuterm.c haiku_set_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, bar 501 src/haikuterm.c void *scroll_bar = bar->scroll_bar; bar 510 src/haikuterm.c if (!bar->dragging) bar 511 src/haikuterm.c bar->page_size = size; bar 514 src/haikuterm.c ceil (value), bar->dragging ? -1 : 0, true); bar 2458 src/haikuterm.c struct scroll_bar *bar; bar 2464 src/haikuterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 2467 src/haikuterm.c if (NILP (bar->prev)) bar 2476 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); bar 2483 src/haikuterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 2485 src/haikuterm.c if (! NILP (bar->next)) bar 2486 src/haikuterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 2488 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); bar 2489 src/haikuterm.c bar->prev = Qnil; bar 2490 src/haikuterm.c XSETVECTOR (barobj, bar); bar 2492 src/haikuterm.c if (! NILP (bar->next)) bar 2493 src/haikuterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 2498 src/haikuterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 2501 src/haikuterm.c if (NILP (bar->prev)) bar 2510 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); bar 2517 src/haikuterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 2519 src/haikuterm.c if (! NILP (bar->next)) bar 2520 src/haikuterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 2522 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); bar 2523 src/haikuterm.c bar->prev = Qnil; bar 2524 src/haikuterm.c XSETVECTOR (barobj, bar); bar 2526 src/haikuterm.c if (! NILP (bar->next)) bar 2527 src/haikuterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 2534 src/haikuterm.c Lisp_Object bar, next; bar 2536 src/haikuterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 2542 src/haikuterm.c for (; ! NILP (bar); bar = next) bar 2544 src/haikuterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 2562 src/haikuterm.c struct scroll_bar *bar; bar 2570 src/haikuterm.c bar = ALLOCATE_PSEUDOVECTOR (struct scroll_bar, prev, PVEC_OTHER); bar 2572 src/haikuterm.c XSETWINDOW (bar->window, w); bar 2573 src/haikuterm.c bar->top = top; bar 2574 src/haikuterm.c bar->left = left; bar 2575 src/haikuterm.c bar->width = width; bar 2576 src/haikuterm.c bar->height = height; bar 2577 src/haikuterm.c bar->position = 0; bar 2578 src/haikuterm.c bar->total = 0; bar 2579 src/haikuterm.c bar->dragging = 0; bar 2580 src/haikuterm.c bar->update = -1; bar 2581 src/haikuterm.c bar->horizontal = horizontal_p; bar 2588 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); bar 2589 src/haikuterm.c bar->prev = Qnil; bar 2590 src/haikuterm.c bar->scroll_bar = scroll_bar; bar 2591 src/haikuterm.c XSETVECTOR (barobj, bar); bar 2594 src/haikuterm.c if (!NILP (bar->next)) bar 2595 src/haikuterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 2598 src/haikuterm.c return bar; bar 2605 src/haikuterm.c struct scroll_bar *bar; bar 2623 src/haikuterm.c bar = haiku_scroll_bar_create (w, left, top, width, height, true); bar 2624 src/haikuterm.c bar->update = position; bar 2625 src/haikuterm.c bar->position = position; bar 2626 src/haikuterm.c bar->total = whole; bar 2630 src/haikuterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 2632 src/haikuterm.c if (bar->left != left || bar->top != top bar 2633 src/haikuterm.c || bar->width != width || bar->height != height) bar 2635 src/haikuterm.c BView_forget_scroll_bar (view, bar->left, bar->top, bar 2636 src/haikuterm.c bar->width, bar->height); bar 2637 src/haikuterm.c BView_move_frame (bar->scroll_bar, left, top, bar 2641 src/haikuterm.c bar->left = left; bar 2642 src/haikuterm.c bar->top = top; bar 2643 src/haikuterm.c bar->width = width; bar 2644 src/haikuterm.c bar->height = height; bar 2648 src/haikuterm.c haiku_set_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 2649 src/haikuterm.c bar->position = position; bar 2650 src/haikuterm.c bar->total = whole; bar 2651 src/haikuterm.c XSETVECTOR (barobj, bar); bar 2660 src/haikuterm.c struct scroll_bar *bar; bar 2681 src/haikuterm.c bar = haiku_scroll_bar_create (w, left, top, width, height, false); bar 2682 src/haikuterm.c bar->position = position; bar 2683 src/haikuterm.c bar->total = whole; bar 2687 src/haikuterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 2689 src/haikuterm.c if (bar->left != left || bar->top != top bar 2690 src/haikuterm.c || bar->width != width || bar->height != height) bar 2692 src/haikuterm.c BView_forget_scroll_bar (view, bar->left, bar->top, bar 2693 src/haikuterm.c bar->width, bar->height); bar 2694 src/haikuterm.c BView_move_frame (bar->scroll_bar, left, top, bar 2698 src/haikuterm.c bar->left = left; bar 2699 src/haikuterm.c bar->top = top; bar 2700 src/haikuterm.c bar->width = width; bar 2701 src/haikuterm.c bar->height = height; bar 2705 src/haikuterm.c haiku_set_scroll_bar_thumb (bar, portion, position, whole); bar 2706 src/haikuterm.c bar->position = position; bar 2707 src/haikuterm.c bar->total = whole; bar 2709 src/haikuterm.c XSETVECTOR (barobj, bar); bar 3538 src/haikuterm.c struct scroll_bar *bar; bar 3544 src/haikuterm.c bar = haiku_scroll_bar_from_widget (b->scroll_bar, b->window); bar 3607 src/haikuterm.c if (bar) bar 3609 src/haikuterm.c inev.kind = (bar->horizontal bar 3612 src/haikuterm.c inev.part = (bar->horizontal bar 3626 src/haikuterm.c if (bar) bar 3628 src/haikuterm.c if (bar->horizontal) bar 3630 src/haikuterm.c XSETINT (inev.x, min (max (0, b->x - bar->left), bar 3631 src/haikuterm.c bar->width)); bar 3632 src/haikuterm.c XSETINT (inev.y, bar->width); bar 3636 src/haikuterm.c XSETINT (inev.x, min (max (0, b->y - bar->top), bar 3637 src/haikuterm.c bar->height)); bar 3638 src/haikuterm.c XSETINT (inev.y, bar->height); bar 3641 src/haikuterm.c inev.frame_or_window = bar->window; bar 3729 src/haikuterm.c struct scroll_bar *bar bar 3733 src/haikuterm.c if (!bar) bar 3736 src/haikuterm.c struct window *w = XWINDOW (bar->window); bar 3738 src/haikuterm.c if (bar->update != -1) bar 3740 src/haikuterm.c bar->update = -1; bar 3744 src/haikuterm.c if (bar->position != b->position) bar 3746 src/haikuterm.c inev.kind = (bar->horizontal bar 3749 src/haikuterm.c inev.part = (bar->horizontal bar 3753 src/haikuterm.c if (bar->horizontal) bar 3755 src/haikuterm.c portion = bar->total * ((float) b->position bar 3757 src/haikuterm.c whole = (bar->total bar 3758 src/haikuterm.c * ((float) (BE_SB_MAX - bar->page_size) bar 3764 src/haikuterm.c whole = BE_SB_MAX - bar->page_size; bar 3777 src/haikuterm.c struct scroll_bar *bar bar 3780 src/haikuterm.c if (!bar) bar 3783 src/haikuterm.c inev.kind = (bar->horizontal ? HORIZONTAL_SCROLL_BAR_CLICK_EVENT bar 3786 src/haikuterm.c bar->dragging = 0; bar 3791 src/haikuterm.c inev.part = (bar->horizontal bar 3796 src/haikuterm.c inev.part = (bar->horizontal bar 3804 src/haikuterm.c inev.frame_or_window = bar->window; bar 3811 src/haikuterm.c struct scroll_bar *bar bar 3814 src/haikuterm.c if (!bar) bar 3817 src/haikuterm.c bar->dragging = b->dragging_p; bar 3818 src/haikuterm.c if (!b->dragging_p && bar->horizontal) bar 3819 src/haikuterm.c set_horizontal_scroll_bar (XWINDOW (bar->window)); bar 3821 src/haikuterm.c set_vertical_scroll_bar (XWINDOW (bar->window)); bar 4531 src/haikuterm.c haiku_scroll_bar_remove (struct scroll_bar *bar) bar 4536 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 4540 src/haikuterm.c BView_forget_scroll_bar (view, bar->left, bar->top, bar 4541 src/haikuterm.c bar->width, bar->height); bar 4542 src/haikuterm.c BScrollBar_delete (bar->scroll_bar); bar 4543 src/haikuterm.c expose_frame (WINDOW_XFRAME (XWINDOW (bar->window)), bar 4544 src/haikuterm.c bar->left, bar->top, bar->width, bar->height); bar 4546 src/haikuterm.c if (bar->horizontal) bar 4547 src/haikuterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4549 src/haikuterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 2997 src/msdos.c XMenuAddSelection (Display *bar, XMenu *menu, int pane, bar 3906 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3916 src/pgtkterm.c if (bar->horizontal) bar 3922 src/pgtkterm.c bar->dragging = portion; bar 3930 src/pgtkterm.c bar->dragging = portion; bar 3934 src/pgtkterm.c part = (bar->horizontal ? scroll_bar_left_arrow : scroll_bar_up_arrow); bar 3935 src/pgtkterm.c bar->dragging = -1; bar 3938 src/pgtkterm.c part = (bar->horizontal bar 3940 src/pgtkterm.c bar->dragging = -1; bar 3943 src/pgtkterm.c part = (bar->horizontal bar 3945 src/pgtkterm.c bar->dragging = -1; bar 3948 src/pgtkterm.c part = (bar->horizontal bar 3950 src/pgtkterm.c bar->dragging = -1; bar 3958 src/pgtkterm.c window_being_scrolled = bar->window; bar 3959 src/pgtkterm.c pgtk_send_scroll_bar_event (bar->window, part, portion, whole, bar 3960 src/pgtkterm.c bar->horizontal); bar 3972 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3973 src/pgtkterm.c bar->dragging = -1; bar 3978 src/pgtkterm.c bar->horizontal); bar 3992 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 3997 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4004 src/pgtkterm.c struct scroll_bar *bar) bar 4009 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4019 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, bar 4022 src/pgtkterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4026 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 4030 src/pgtkterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4043 src/pgtkterm.c struct scroll_bar *bar bar 4050 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); bar 4052 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); bar 4054 src/pgtkterm.c XSETWINDOW (bar->window, w); bar 4055 src/pgtkterm.c bar->top = top; bar 4056 src/pgtkterm.c bar->left = left; bar 4057 src/pgtkterm.c bar->width = width; bar 4058 src/pgtkterm.c bar->height = height; bar 4059 src/pgtkterm.c bar->start = 0; bar 4060 src/pgtkterm.c bar->end = 0; bar 4061 src/pgtkterm.c bar->dragging = -1; bar 4062 src/pgtkterm.c bar->horizontal = horizontal; bar 4065 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4066 src/pgtkterm.c bar->prev = Qnil; bar 4067 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4069 src/pgtkterm.c if (!NILP (bar->next)) bar 4070 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4075 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 4078 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4083 src/pgtkterm.c return bar; bar 4090 src/pgtkterm.c pgtk_scroll_bar_remove (struct scroll_bar *bar) bar 4092 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4095 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); bar 4098 src/pgtkterm.c if (bar->horizontal) bar 4099 src/pgtkterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4101 src/pgtkterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 4117 src/pgtkterm.c struct scroll_bar *bar; bar 4138 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 4145 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4149 src/pgtkterm.c if (left != bar->left) bar 4151 src/pgtkterm.c if (top != bar->top) bar 4153 src/pgtkterm.c if (width != bar->width) bar 4155 src/pgtkterm.c if (height != bar->height) bar 4165 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4170 src/pgtkterm.c bar->left = left; bar 4171 src/pgtkterm.c bar->top = top; bar 4172 src/pgtkterm.c bar->width = width; bar 4173 src/pgtkterm.c bar->height = height; bar 4178 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4180 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4190 src/pgtkterm.c struct scroll_bar *bar; bar 4215 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, height, true); bar 4222 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4226 src/pgtkterm.c if (left != bar->left) bar 4228 src/pgtkterm.c if (top != bar->top) bar 4230 src/pgtkterm.c if (width != bar->width) bar 4232 src/pgtkterm.c if (height != bar->height) bar 4245 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 4250 src/pgtkterm.c bar->left = left; bar 4251 src/pgtkterm.c bar->top = top; bar 4252 src/pgtkterm.c bar->width = width; bar 4253 src/pgtkterm.c bar->height = height; bar 4258 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4260 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4304 src/pgtkterm.c struct scroll_bar *bar; bar 4314 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4317 src/pgtkterm.c if (NILP (bar->prev)) bar 4326 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4333 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4335 src/pgtkterm.c if (!NILP (bar->next)) bar 4336 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4338 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4339 src/pgtkterm.c bar->prev = Qnil; bar 4340 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4342 src/pgtkterm.c if (!NILP (bar->next)) bar 4343 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4350 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4353 src/pgtkterm.c if (NILP (bar->prev)) bar 4362 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4369 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4371 src/pgtkterm.c if (!NILP (bar->next)) bar 4372 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4374 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4375 src/pgtkterm.c bar->prev = Qnil; bar 4376 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4378 src/pgtkterm.c if (!NILP (bar->next)) bar 4379 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4389 src/pgtkterm.c Lisp_Object bar, next; bar 4391 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 4397 src/pgtkterm.c for (; !NILP (bar); bar = next) bar 4399 src/pgtkterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 2396 src/w32fns.c w32_createvscrollbar (struct frame *f, struct scroll_bar * bar) bar 2405 src/w32fns.c bar->left, bar->top, bar->width, bar->height, bar 2413 src/w32fns.c w32_createhscrollbar (struct frame *f, struct scroll_bar * bar) bar 2422 src/w32fns.c bar->left, bar->top, bar->width, bar->height, bar 3749 src/w32term.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 3751 src/w32term.c if (bar->horizontal) bar 3812 src/w32term.c struct scroll_bar *bar bar 3815 src/w32term.c if (bar) bar 3816 src/w32term.c f1 = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 3913 src/w32term.c Lisp_Object bar, condemned; bar 3918 src/w32term.c for (bar = FRAME_SCROLL_BARS (XFRAME (frame)); bar 3921 src/w32term.c ! NILP (bar) || (bar = condemned, bar 3923 src/w32term.c ! NILP (bar)); bar 3924 src/w32term.c bar = XSCROLL_BAR (bar)->next) bar 3925 src/w32term.c if (SCROLL_BAR_W32_WINDOW (XSCROLL_BAR (bar)) == window_id bar 3927 src/w32term.c || (type == 1 && XSCROLL_BAR (bar)->horizontal) bar 3928 src/w32term.c || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) bar 3929 src/w32term.c return XSCROLL_BAR (bar); bar 3941 src/w32term.c w32_set_scroll_bar_thumb (struct scroll_bar *bar, bar 3944 src/w32term.c Window w = SCROLL_BAR_W32_WINDOW (bar); bar 3948 src/w32term.c double range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height) bar 3951 src/w32term.c BOOL draggingp = bar->dragging ? TRUE : FALSE; bar 4015 src/w32term.c w32_set_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 4018 src/w32term.c Window w = SCROLL_BAR_W32_WINDOW (bar); bar 4042 src/w32term.c my_create_vscrollbar (struct frame * f, struct scroll_bar * bar) bar 4046 src/w32term.c (LPARAM) bar); bar 4050 src/w32term.c my_create_hscrollbar (struct frame * f, struct scroll_bar * bar) bar 4054 src/w32term.c (LPARAM) bar); bar 4132 src/w32term.c struct scroll_bar *bar bar 4138 src/w32term.c XSETWINDOW (bar->window, w); bar 4139 src/w32term.c bar->top = top; bar 4140 src/w32term.c bar->left = left; bar 4141 src/w32term.c bar->width = width; bar 4142 src/w32term.c bar->height = height; bar 4143 src/w32term.c bar->start = 0; bar 4144 src/w32term.c bar->end = 0; bar 4145 src/w32term.c bar->dragging = 0; bar 4146 src/w32term.c bar->horizontal = horizontal; bar 4151 src/w32term.c hwnd = my_create_hscrollbar (f, bar); bar 4153 src/w32term.c hwnd = my_create_vscrollbar (f, bar); bar 4169 src/w32term.c SET_SCROLL_BAR_W32_WINDOW (bar, hwnd); bar 4172 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); bar 4173 src/w32term.c bar->prev = Qnil; bar 4174 src/w32term.c XSETVECTOR (barobj, bar); bar 4176 src/w32term.c if (! NILP (bar->next)) bar 4177 src/w32term.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4181 src/w32term.c return bar; bar 4189 src/w32term.c w32_scroll_bar_remove (struct scroll_bar *bar) bar 4191 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4196 src/w32term.c my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar)); bar 4199 src/w32term.c if (bar->horizontal) bar 4200 src/w32term.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4202 src/w32term.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 4217 src/w32term.c struct scroll_bar *bar; bar 4243 src/w32term.c bar = w32_scroll_bar_create (w, left, top, width, height, false); bar 4250 src/w32term.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4251 src/w32term.c hwnd = SCROLL_BAR_W32_WINDOW (bar); bar 4254 src/w32term.c if (bar->left == left bar 4255 src/w32term.c && bar->top == top bar 4256 src/w32term.c && bar->width == width bar 4257 src/w32term.c && bar->height == height) bar 4298 src/w32term.c bar->left = left; bar 4299 src/w32term.c bar->top = top; bar 4300 src/w32term.c bar->width = width; bar 4301 src/w32term.c bar->height = height; bar 4306 src/w32term.c w32_set_scroll_bar_thumb (bar, portion, position, whole); bar 4307 src/w32term.c XSETVECTOR (barobj, bar); bar 4321 src/w32term.c struct scroll_bar *bar; bar 4347 src/w32term.c bar = w32_scroll_bar_create (w, left, top, width, height, true); bar 4354 src/w32term.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4355 src/w32term.c hwnd = SCROLL_BAR_W32_WINDOW (bar); bar 4358 src/w32term.c if (bar->left == left && bar->top == top bar 4359 src/w32term.c && bar->width == width && bar->height == height) bar 4401 src/w32term.c bar->left = left; bar 4402 src/w32term.c bar->top = top; bar 4403 src/w32term.c bar->width = width; bar 4404 src/w32term.c bar->height = height; bar 4410 src/w32term.c w32_set_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4411 src/w32term.c XSETVECTOR (barobj, bar); bar 4457 src/w32term.c struct scroll_bar *bar; bar 4467 src/w32term.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4470 src/w32term.c if (NILP (bar->prev)) bar 4479 src/w32term.c fset_condemned_scroll_bars (f, bar->next); bar 4486 src/w32term.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4488 src/w32term.c if (! NILP (bar->next)) bar 4489 src/w32term.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4491 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); bar 4492 src/w32term.c bar->prev = Qnil; bar 4493 src/w32term.c XSETVECTOR (barobj, bar); bar 4495 src/w32term.c if (! NILP (bar->next)) bar 4496 src/w32term.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4502 src/w32term.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4505 src/w32term.c if (NILP (bar->prev)) bar 4514 src/w32term.c fset_condemned_scroll_bars (f, bar->next); bar 4521 src/w32term.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4523 src/w32term.c if (! NILP (bar->next)) bar 4524 src/w32term.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4526 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); bar 4527 src/w32term.c bar->prev = Qnil; bar 4528 src/w32term.c XSETVECTOR (barobj, bar); bar 4530 src/w32term.c if (! NILP (bar->next)) bar 4531 src/w32term.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4541 src/w32term.c Lisp_Object bar, next; bar 4543 src/w32term.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 4549 src/w32term.c for (; ! NILP (bar); bar = next) bar 4551 src/w32term.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 4571 src/w32term.c w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg, bar 4574 src/w32term.c if (! WINDOWP (bar->window)) bar 4581 src/w32term.c emacs_event->frame_or_window = bar->window; bar 4586 src/w32term.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 4588 src/w32term.c int dragging = bar->dragging; bar 4604 src/w32term.c bar->dragging = 0; bar 4632 src/w32term.c bar->dragging = 1; /* ??????? */ bar 4646 src/w32term.c SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE); bar 4656 src/w32term.c int start = bar->start; bar 4657 src/w32term.c int end = bar->end; bar 4663 src/w32term.c SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, TRUE); bar 4687 src/w32term.c w32_horizontal_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg, bar 4690 src/w32term.c if (! WINDOWP (bar->window)) bar 4697 src/w32term.c emacs_event->frame_or_window = bar->window; bar 4702 src/w32term.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 4704 src/w32term.c int dragging = bar->dragging; bar 4721 src/w32term.c bar->dragging = 0; bar 4749 src/w32term.c bar->dragging = 1; bar 4758 src/w32term.c si.nPos = min (x, XWINDOW (bar->window)->hscroll_whole - 1); bar 4763 src/w32term.c SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE); bar 4777 src/w32term.c XWINDOW (bar->window)->hscroll_whole - 1); bar 4778 src/w32term.c SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, TRUE); bar 4803 src/w32term.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 4804 src/w32term.c Window w = SCROLL_BAR_W32_WINDOW (bar); bar 4805 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4807 src/w32term.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 4814 src/w32term.c *bar_window = bar->window; bar 4853 src/w32term.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 4854 src/w32term.c Window w = SCROLL_BAR_W32_WINDOW (bar); bar 4855 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4857 src/w32term.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 4864 src/w32term.c *bar_window = bar->window; bar 4904 src/w32term.c Lisp_Object bar; bar 4919 src/w32term.c for (bar = FRAME_SCROLL_BARS (f); VECTORP (bar); bar 4920 src/w32term.c bar = XSCROLL_BAR (bar)->next) bar 4922 src/w32term.c HWND window = SCROLL_BAR_W32_WINDOW (XSCROLL_BAR (bar)); bar 5548 src/w32term.c struct scroll_bar *bar = bar 5551 src/w32term.c if (bar) bar 5552 src/w32term.c w32_horizontal_scroll_bar_handle_click (bar, &msg, &inev); bar 5558 src/w32term.c struct scroll_bar *bar = bar 5561 src/w32term.c if (bar) bar 5562 src/w32term.c w32_scroll_bar_handle_click (bar, &msg, &inev); bar 14683 src/xterm.c struct scroll_bar *bar; bar 14692 src/xterm.c bar = dpyinfo->last_mouse_scroll_bar; bar 14694 src/xterm.c if (bar->horizontal) bar 14854 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 14856 src/xterm.c if (bar->horizontal) bar 15079 src/xterm.c struct scroll_bar *bar; bar 15081 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, win, 2); bar 15083 src/xterm.c if (bar) bar 15085 src/xterm.c f1 = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 15176 src/xterm.c Lisp_Object bar, condemned; bar 15184 src/xterm.c for (bar = FRAME_SCROLL_BARS (XFRAME (frame)); bar 15187 src/xterm.c ! NILP (bar) || (bar = condemned, bar 15189 src/xterm.c ! NILP (bar)); bar 15190 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 15191 src/xterm.c if (XSCROLL_BAR (bar)->x_window == window_id bar 15194 src/xterm.c || (type == 1 && XSCROLL_BAR (bar)->horizontal) bar 15195 src/xterm.c || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) bar 15196 src/xterm.c return XSCROLL_BAR (bar); bar 15294 src/xterm.c struct scroll_bar *bar; bar 15299 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 15301 src/xterm.c if (bar->dragging != -1) bar 15303 src/xterm.c bar->dragging = -1; bar 15309 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 15337 src/xterm.c struct scroll_bar *bar; bar 15344 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 15345 src/xterm.c if (bar->dragging != -1) bar 15347 src/xterm.c bar->dragging = -1; bar 15353 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 15535 src/xterm.c struct scroll_bar *bar = client_data; bar 15538 src/xterm.c bool horizontal = bar->horizontal; bar 15544 src/xterm.c bar->dragging = -1; bar 15549 src/xterm.c bar->dragging = -1; bar 15554 src/xterm.c bar->dragging = -1; bar 15559 src/xterm.c bar->dragging = -1; bar 15564 src/xterm.c bar->dragging = -1; bar 15569 src/xterm.c bar->dragging = -1; bar 15583 src/xterm.c portion = bar->whole * ((float)cs->value / XM_SB_MAX); bar 15584 src/xterm.c whole = bar->whole * ((float)(XM_SB_MAX - slider_size) / XM_SB_MAX); bar 15595 src/xterm.c bar->dragging = cs->value; bar 15605 src/xterm.c window_being_scrolled = bar->window; bar 15606 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15607 src/xterm.c bar->horizontal); bar 15621 src/xterm.c struct scroll_bar *bar; bar 15632 src/xterm.c bar = user_data; bar 15650 src/xterm.c if (bar->horizontal) bar 15656 src/xterm.c bar->dragging = portion; bar 15664 src/xterm.c bar->dragging = portion; bar 15669 src/xterm.c part = (bar->horizontal bar 15671 src/xterm.c bar->dragging = -1; bar 15674 src/xterm.c part = (bar->horizontal bar 15676 src/xterm.c bar->dragging = -1; bar 15679 src/xterm.c part = (bar->horizontal bar 15681 src/xterm.c bar->dragging = -1; bar 15684 src/xterm.c part = (bar->horizontal bar 15686 src/xterm.c bar->dragging = -1; bar 15694 src/xterm.c window_being_scrolled = bar->window; bar 15695 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15696 src/xterm.c bar->horizontal); bar 15709 src/xterm.c struct scroll_bar *bar; bar 15711 src/xterm.c bar = user_data; bar 15712 src/xterm.c bar->dragging = -1; bar 15717 src/xterm.c scroll_bar_end_scroll, 0, 0, bar->horizontal); bar 15735 src/xterm.c struct scroll_bar *bar = client_data; bar 15741 src/xterm.c bool horizontal = bar->horizontal; bar 15752 src/xterm.c whole = bar->whole - (shown * bar->whole); bar 15753 src/xterm.c portion = min (top * bar->whole, whole); bar 15757 src/xterm.c whole = bar->whole; bar 15784 src/xterm.c window_being_scrolled = bar->window; bar 15785 src/xterm.c bar->dragging = portion; bar 15786 src/xterm.c bar->last_seen_part = part; bar 15787 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar->horizontal); bar 15802 src/xterm.c struct scroll_bar *bar = client_data; bar 15808 src/xterm.c if (bar->horizontal) bar 15825 src/xterm.c window_being_scrolled = bar->window; bar 15826 src/xterm.c bar->dragging = -1; bar 15827 src/xterm.c bar->last_seen_part = part; bar 15828 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, width, bar 15829 src/xterm.c bar->horizontal); bar 15849 src/xterm.c window_being_scrolled = bar->window; bar 15850 src/xterm.c bar->dragging = -1; bar 15851 src/xterm.c bar->last_seen_part = part; bar 15852 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, height, bar 15853 src/xterm.c bar->horizontal); bar 15867 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15872 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15879 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15884 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15893 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15935 src/xterm.c (XtPointer) bar); bar 15937 src/xterm.c (XtPointer) bar); bar 15939 src/xterm.c (XtPointer) bar); bar 15941 src/xterm.c (XtPointer) bar); bar 15943 src/xterm.c (XtPointer) bar); bar 15945 src/xterm.c (XtPointer) bar); bar 15947 src/xterm.c (XtPointer) bar); bar 16076 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 16078 src/xterm.c (XtPointer) bar); bar 16091 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 16093 src/xterm.c bar->x_window = xwindow; bar 16094 src/xterm.c bar->whole = 1; bar 16095 src/xterm.c bar->horizontal = false; bar 16101 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 16143 src/xterm.c (XtPointer) bar); bar 16145 src/xterm.c (XtPointer) bar); bar 16147 src/xterm.c (XtPointer) bar); bar 16149 src/xterm.c (XtPointer) bar); bar 16151 src/xterm.c (XtPointer) bar); bar 16153 src/xterm.c (XtPointer) bar); bar 16155 src/xterm.c (XtPointer) bar); bar 16284 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 16286 src/xterm.c (XtPointer) bar); bar 16300 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 16302 src/xterm.c bar->x_window = xwindow; bar 16303 src/xterm.c bar->whole = 1; bar 16304 src/xterm.c bar->horizontal = true; bar 16316 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 16318 src/xterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 16322 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 16324 src/xterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 16329 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 16332 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16333 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16353 src/xterm.c portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30; bar 16367 src/xterm.c if (bar->dragging == -1) bar 16402 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16423 src/xterm.c if (bar->dragging == -1) bar 16441 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 16444 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16445 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16451 src/xterm.c bar->whole = whole; bar 16461 src/xterm.c bar->whole = whole; bar 16481 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16505 src/xterm.c if (bar->dragging == -1) bar 16542 src/xterm.c struct scroll_bar *bar = ALLOCATE_PSEUDOVECTOR (struct scroll_bar, prev, bar 16550 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); bar 16552 src/xterm.c x_create_toolkit_scroll_bar (f, bar); bar 16596 src/xterm.c bar->x_window = window; bar 16600 src/xterm.c XSETWINDOW (bar->window, w); bar 16601 src/xterm.c bar->top = top; bar 16602 src/xterm.c bar->left = left; bar 16603 src/xterm.c bar->width = width; bar 16604 src/xterm.c bar->height = height; bar 16605 src/xterm.c bar->start = 0; bar 16606 src/xterm.c bar->end = 0; bar 16607 src/xterm.c bar->dragging = -1; bar 16608 src/xterm.c bar->horizontal = horizontal; bar 16610 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 16614 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 16615 src/xterm.c bar->prev = Qnil; bar 16616 src/xterm.c XSETVECTOR (barobj, bar); bar 16618 src/xterm.c if (!NILP (bar->next)) bar 16619 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 16626 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 16629 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16632 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16636 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16640 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16642 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16646 src/xterm.c return bar; bar 16666 src/xterm.c x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end, bar 16677 src/xterm.c && start == bar->start bar 16678 src/xterm.c && end == bar->end) bar 16681 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16682 src/xterm.c dragging = bar->dragging != -1; bar 16688 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); bar 16689 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); bar 16690 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 16708 src/xterm.c bar->start = start; bar 16709 src/xterm.c bar->end = end; bar 16732 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16733 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER, bar 16748 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16749 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + start, bar 16765 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16766 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + end, bar 16787 src/xterm.c x_scroll_bar_remove (struct scroll_bar *bar) bar 16789 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16794 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); bar 16796 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); bar 16799 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16803 src/xterm.c if (bar->horizontal) bar 16804 src/xterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 16806 src/xterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 16822 src/xterm.c struct scroll_bar *bar; bar 16843 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 16848 src/xterm.c x_scroll_bar_redraw (bar); bar 16856 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 16860 src/xterm.c if (left != bar->left) bar 16862 src/xterm.c if (top != bar->top) bar 16864 src/xterm.c if (width != bar->width) bar 16866 src/xterm.c if (height != bar->height) bar 16879 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16882 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 16897 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 16904 src/xterm.c bar->left = left; bar 16905 src/xterm.c bar->top = top; bar 16906 src/xterm.c bar->width = width; bar 16907 src/xterm.c bar->height = height; bar 16911 src/xterm.c x_scroll_bar_redraw (bar); bar 16918 src/xterm.c x_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 16922 src/xterm.c if (bar->dragging == -1) bar 16927 src/xterm.c x_scroll_bar_set_handle (bar, 0, top_range, false); bar 16932 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 16937 src/xterm.c XSETVECTOR (barobj, bar); bar 16947 src/xterm.c struct scroll_bar *bar; bar 16972 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, height, true); bar 16979 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 16983 src/xterm.c if (left != bar->left) bar 16985 src/xterm.c if (top != bar->top) bar 16987 src/xterm.c if (width != bar->width) bar 16989 src/xterm.c if (height != bar->height) bar 17003 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 17006 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 17032 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 17039 src/xterm.c bar->left = left; bar 17040 src/xterm.c bar->top = top; bar 17041 src/xterm.c bar->width = width; bar 17042 src/xterm.c bar->height = height; bar 17048 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 17052 src/xterm.c if (bar->dragging == -1) bar 17057 src/xterm.c x_scroll_bar_set_handle (bar, 0, left_range, false); bar 17062 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 17067 src/xterm.c XSETVECTOR (barobj, bar); bar 17113 src/xterm.c struct scroll_bar *bar; bar 17123 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 17126 src/xterm.c if (NILP (bar->prev)) bar 17135 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 17142 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 17144 src/xterm.c if (! NILP (bar->next)) bar 17145 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 17147 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 17148 src/xterm.c bar->prev = Qnil; bar 17149 src/xterm.c XSETVECTOR (barobj, bar); bar 17151 src/xterm.c if (! NILP (bar->next)) bar 17152 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 17158 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 17161 src/xterm.c if (NILP (bar->prev)) bar 17170 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 17177 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 17179 src/xterm.c if (! NILP (bar->next)) bar 17180 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 17182 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 17183 src/xterm.c bar->prev = Qnil; bar 17184 src/xterm.c XSETVECTOR (barobj, bar); bar 17186 src/xterm.c if (! NILP (bar->next)) bar 17187 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 17197 src/xterm.c Lisp_Object bar, next; bar 17199 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 17205 src/xterm.c for (; ! NILP (bar); bar = next) bar 17207 src/xterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 17229 src/xterm.c Lisp_Object bar, condemned; bar 17255 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 17258 src/xterm.c !NILP (bar) || (bar = condemned, bar 17260 src/xterm.c !NILP (bar)); bar 17261 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 17263 src/xterm.c b = XSCROLL_BAR (bar); bar 17282 src/xterm.c x_scroll_bar_redraw (struct scroll_bar *bar) bar 17284 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17295 src/xterm.c bar->left, bar->top, bar->width, bar->height); bar 17300 src/xterm.c x_scroll_bar_set_handle (bar, bar->start, bar->end, true); bar 17309 src/xterm.c bar->left, bar->top, bar->width - 1, bar->height - 1); bar 17326 src/xterm.c x_scroll_bar_handle_click (struct scroll_bar *bar, bar 17336 src/xterm.c if (! WINDOWP (bar->window)) bar 17339 src/xterm.c emacs_event->kind = (bar->horizontal bar 17345 src/xterm.c (XFRAME (WINDOW_FRAME (XWINDOW (bar->window)))), bar 17350 src/xterm.c emacs_event->frame_or_window = bar->window; bar 17357 src/xterm.c if (bar->horizontal) bar 17360 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17366 src/xterm.c if (x < bar->start) bar 17368 src/xterm.c else if (x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17375 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17377 src/xterm.c new_start = - bar->dragging; bar 17378 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17380 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17381 src/xterm.c bar->dragging = -1; bar 17391 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17397 src/xterm.c if (y < bar->start) bar 17399 src/xterm.c else if (y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17406 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17408 src/xterm.c new_start = y - bar->dragging; bar 17409 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17411 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17412 src/xterm.c bar->dragging = -1; bar 17429 src/xterm.c x_scroll_bar_note_movement (struct scroll_bar *bar, bar 17432 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); bar 17437 src/xterm.c dpyinfo->last_mouse_scroll_bar = bar; bar 17441 src/xterm.c if (bar->dragging != -1) bar 17444 src/xterm.c int new_start = event->y - bar->dragging; bar 17446 src/xterm.c if (new_start != bar->start) bar 17448 src/xterm.c int new_end = new_start + bar->end - bar->start; bar 17450 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17466 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17467 src/xterm.c Window w = bar->x_window; bar 17468 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17490 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17494 src/xterm.c if (bar->dragging != -1) bar 17495 src/xterm.c win_y -= bar->dragging; bar 17503 src/xterm.c *bar_window = bar->window; bar 17505 src/xterm.c if (bar->dragging != -1) bar 17507 src/xterm.c else if (win_y < bar->start) bar 17509 src/xterm.c else if (win_y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17535 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17536 src/xterm.c Window w = bar->x_window; bar 17537 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17559 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17563 src/xterm.c if (bar->dragging != -1) bar 17564 src/xterm.c win_x -= bar->dragging; bar 17572 src/xterm.c *bar_window = bar->window; bar 17574 src/xterm.c if (bar->dragging != -1) bar 17576 src/xterm.c else if (win_x < bar->start) bar 17578 src/xterm.c else if (win_x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17603 src/xterm.c Lisp_Object bar, condemned; bar 17619 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 17622 src/xterm.c !NILP (bar) || (bar = condemned, bar 17624 src/xterm.c !NILP (bar)); bar 17625 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 17626 src/xterm.c x_scroll_bar_redraw (XSCROLL_BAR (bar)); bar 21128 src/xterm.c struct scroll_bar *bar bar 21132 src/xterm.c if (bar) bar 21133 src/xterm.c x_scroll_bar_note_movement (bar, &event->xmotion); bar 21283 src/xterm.c struct scroll_bar *bar = x_window_to_scroll_bar (dpyinfo->display, bar 21288 src/xterm.c if (bar) bar 21305 src/xterm.c if (configureEvent.xconfigure.width != max (bar->width, 1) bar 21306 src/xterm.c || configureEvent.xconfigure.height != max (bar->height, 1)) bar 21308 src/xterm.c XResizeWindow (dpyinfo->display, bar->x_window, bar 21309 src/xterm.c max (bar->width, 1), max (bar->height, 1)); bar 21310 src/xterm.c x_flush (WINDOW_XFRAME (XWINDOW (bar->window))); bar 21898 src/xterm.c struct scroll_bar *bar bar 21905 src/xterm.c if (bar && event->xbutton.state & ControlMask) bar 21907 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 21911 src/xterm.c if (bar) bar 21912 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 22477 src/xterm.c struct scroll_bar *bar; bar 22479 src/xterm.c bar = NULL; bar 22503 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, bar 22506 src/xterm.c if (bar) bar 22507 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 22522 src/xterm.c if (!bar) bar 22523 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, xev->event, 2); bar 22529 src/xterm.c if (bar) bar 22531 src/xterm.c real_x = lrint (xev->event_x + bar->left); bar 22532 src/xterm.c real_y = lrint (xev->event_y + bar->top); bar 23047 src/xterm.c struct scroll_bar *bar bar 23050 src/xterm.c if (bar) bar 23051 src/xterm.c x_scroll_bar_note_movement (bar, &ev); bar 23327 src/xterm.c struct scroll_bar *bar bar 23390 src/xterm.c if (bar) bar 23668 src/xterm.c struct scroll_bar *bar bar 23673 src/xterm.c if (bar) bar 23674 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 23679 src/xterm.c if (bar && xev->mods.effective & ControlMask) bar 23681 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 29248 src/xterm.c Lisp_Object bar; bar 29287 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) bar 29289 src/xterm.c b = XSCROLL_BAR (bar); bar 45 test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp int bar = b; bar 53 test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp int bar = b; bar 59 test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp int bar = b; bar 108 test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp void bar::xx() bar 37 test/lisp/cedet/semantic-utest-ia-resources/testsppcomplete.c _type *bar = (*_type)BLUB(_type); bar 49 test/lisp/cedet/semantic-utest-ia-resources/testsppcomplete.c bar->// -3- bar 107 test/lisp/cedet/semantic-utest-ia-resources/testusing.hh int bar; bar 129 test/manual/cedet/tests/testsppreplace.c _GLIBCXX_BEGIN_NESTED_NAMESPACE(foo,bar) bar 97 test/manual/cedet/tests/testsppreplaced.c namespace foo { namespace bar { bar 78 test/manual/etags/c-src/dostorture.c bar) bar 80 test/manual/etags/c-src/dostorture.c int bar; bar 83 test/manual/etags/c-src/dostorture.c return bar; bar 89 test/manual/etags/c-src/dostorture.c (int bar) bar 91 test/manual/etags/c-src/dostorture.c (bar) bar 92 test/manual/etags/c-src/dostorture.c int bar; bar 95 test/manual/etags/c-src/dostorture.c return bar; bar 100 test/manual/etags/c-src/dostorture.c pp3(int bar) bar 102 test/manual/etags/c-src/dostorture.c pp3(bar) bar 103 test/manual/etags/c-src/dostorture.c int bar; bar 106 test/manual/etags/c-src/dostorture.c return bar; bar 19 test/manual/etags/c-src/h.h char bar; bar 78 test/manual/etags/c-src/torture.c bar) bar 80 test/manual/etags/c-src/torture.c int bar; bar 83 test/manual/etags/c-src/torture.c return bar; bar 89 test/manual/etags/c-src/torture.c (int bar) bar 91 test/manual/etags/c-src/torture.c (bar) bar 92 test/manual/etags/c-src/torture.c int bar; bar 95 test/manual/etags/c-src/torture.c return bar; bar 100 test/manual/etags/c-src/torture.c pp3(int bar) bar 102 test/manual/etags/c-src/torture.c pp3(bar) bar 103 test/manual/etags/c-src/torture.c int bar; bar 106 test/manual/etags/c-src/torture.c return bar; bar 5 test/manual/etags/cp-src/x.cc void bar(); bar 24 test/manual/etags/cp-src/x.cc xx.bar();