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 3729 src/haiku_support.cc BScrollBar *bar = (BScrollBar *) sb; bar 3731 src/haiku_support.cc BMessenger mr = BMessenger (bar); bar 4226 src/haiku_support.cc EmacsMenuBar *bar = new EmacsMenuBar (); bar 4230 src/haiku_support.cc vw->AddChild ((BView *) bar); bar 4233 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 4518 src/haikuterm.c haiku_scroll_bar_remove (struct scroll_bar *bar) bar 4523 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 4527 src/haikuterm.c BView_forget_scroll_bar (view, bar->left, bar->top, bar 4528 src/haikuterm.c bar->width, bar->height); bar 4529 src/haikuterm.c BScrollBar_delete (bar->scroll_bar); bar 4530 src/haikuterm.c expose_frame (WINDOW_XFRAME (XWINDOW (bar->window)), bar 4531 src/haikuterm.c bar->left, bar->top, bar->width, bar->height); bar 4533 src/haikuterm.c if (bar->horizontal) bar 4534 src/haikuterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4536 src/haikuterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 2990 src/msdos.c XMenuAddSelection (Display *bar, XMenu *menu, int pane, bar 3903 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3913 src/pgtkterm.c if (bar->horizontal) bar 3919 src/pgtkterm.c bar->dragging = portion; bar 3927 src/pgtkterm.c bar->dragging = portion; bar 3931 src/pgtkterm.c part = (bar->horizontal ? scroll_bar_left_arrow : scroll_bar_up_arrow); bar 3932 src/pgtkterm.c bar->dragging = -1; bar 3935 src/pgtkterm.c part = (bar->horizontal bar 3937 src/pgtkterm.c bar->dragging = -1; bar 3940 src/pgtkterm.c part = (bar->horizontal bar 3942 src/pgtkterm.c bar->dragging = -1; bar 3945 src/pgtkterm.c part = (bar->horizontal bar 3947 src/pgtkterm.c bar->dragging = -1; bar 3955 src/pgtkterm.c window_being_scrolled = bar->window; bar 3956 src/pgtkterm.c pgtk_send_scroll_bar_event (bar->window, part, portion, whole, bar 3957 src/pgtkterm.c bar->horizontal); bar 3969 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3970 src/pgtkterm.c bar->dragging = -1; bar 3975 src/pgtkterm.c bar->horizontal); bar 3989 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 3994 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4001 src/pgtkterm.c struct scroll_bar *bar) bar 4006 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4016 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, bar 4019 src/pgtkterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4023 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 4027 src/pgtkterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4040 src/pgtkterm.c struct scroll_bar *bar bar 4047 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); bar 4049 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); bar 4051 src/pgtkterm.c XSETWINDOW (bar->window, w); bar 4052 src/pgtkterm.c bar->top = top; bar 4053 src/pgtkterm.c bar->left = left; bar 4054 src/pgtkterm.c bar->width = width; bar 4055 src/pgtkterm.c bar->height = height; bar 4056 src/pgtkterm.c bar->start = 0; bar 4057 src/pgtkterm.c bar->end = 0; bar 4058 src/pgtkterm.c bar->dragging = -1; bar 4059 src/pgtkterm.c bar->horizontal = horizontal; bar 4062 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4063 src/pgtkterm.c bar->prev = Qnil; bar 4064 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4066 src/pgtkterm.c if (!NILP (bar->next)) bar 4067 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4072 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 4075 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4080 src/pgtkterm.c return bar; bar 4087 src/pgtkterm.c pgtk_scroll_bar_remove (struct scroll_bar *bar) bar 4089 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4092 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); bar 4095 src/pgtkterm.c if (bar->horizontal) bar 4096 src/pgtkterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4098 src/pgtkterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 4114 src/pgtkterm.c struct scroll_bar *bar; bar 4135 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 4142 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4146 src/pgtkterm.c if (left != bar->left) bar 4148 src/pgtkterm.c if (top != bar->top) bar 4150 src/pgtkterm.c if (width != bar->width) bar 4152 src/pgtkterm.c if (height != bar->height) bar 4162 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4167 src/pgtkterm.c bar->left = left; bar 4168 src/pgtkterm.c bar->top = top; bar 4169 src/pgtkterm.c bar->width = width; bar 4170 src/pgtkterm.c bar->height = height; bar 4175 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4177 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4187 src/pgtkterm.c struct scroll_bar *bar; bar 4212 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, height, true); bar 4219 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4223 src/pgtkterm.c if (left != bar->left) bar 4225 src/pgtkterm.c if (top != bar->top) bar 4227 src/pgtkterm.c if (width != bar->width) bar 4229 src/pgtkterm.c if (height != bar->height) bar 4242 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 4247 src/pgtkterm.c bar->left = left; bar 4248 src/pgtkterm.c bar->top = top; bar 4249 src/pgtkterm.c bar->width = width; bar 4250 src/pgtkterm.c bar->height = height; bar 4255 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4257 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4301 src/pgtkterm.c struct scroll_bar *bar; bar 4311 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4314 src/pgtkterm.c if (NILP (bar->prev)) bar 4323 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4330 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4332 src/pgtkterm.c if (!NILP (bar->next)) bar 4333 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4335 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4336 src/pgtkterm.c bar->prev = Qnil; bar 4337 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4339 src/pgtkterm.c if (!NILP (bar->next)) bar 4340 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4347 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4350 src/pgtkterm.c if (NILP (bar->prev)) bar 4359 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4366 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4368 src/pgtkterm.c if (!NILP (bar->next)) bar 4369 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4371 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4372 src/pgtkterm.c bar->prev = Qnil; bar 4373 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4375 src/pgtkterm.c if (!NILP (bar->next)) bar 4376 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4386 src/pgtkterm.c Lisp_Object bar, next; bar 4388 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 4394 src/pgtkterm.c for (; !NILP (bar); bar = next) bar 4396 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 14625 src/xterm.c struct scroll_bar *bar; bar 14634 src/xterm.c bar = dpyinfo->last_mouse_scroll_bar; bar 14636 src/xterm.c if (bar->horizontal) bar 14796 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 14798 src/xterm.c if (bar->horizontal) bar 15021 src/xterm.c struct scroll_bar *bar; bar 15023 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, win, 2); bar 15025 src/xterm.c if (bar) bar 15027 src/xterm.c f1 = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 15118 src/xterm.c Lisp_Object bar, condemned; bar 15126 src/xterm.c for (bar = FRAME_SCROLL_BARS (XFRAME (frame)); bar 15129 src/xterm.c ! NILP (bar) || (bar = condemned, bar 15131 src/xterm.c ! NILP (bar)); bar 15132 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 15133 src/xterm.c if (XSCROLL_BAR (bar)->x_window == window_id bar 15136 src/xterm.c || (type == 1 && XSCROLL_BAR (bar)->horizontal) bar 15137 src/xterm.c || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) bar 15138 src/xterm.c return XSCROLL_BAR (bar); bar 15236 src/xterm.c struct scroll_bar *bar; bar 15241 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 15243 src/xterm.c if (bar->dragging != -1) bar 15245 src/xterm.c bar->dragging = -1; bar 15251 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 15279 src/xterm.c struct scroll_bar *bar; bar 15286 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 15287 src/xterm.c if (bar->dragging != -1) bar 15289 src/xterm.c bar->dragging = -1; bar 15295 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 15477 src/xterm.c struct scroll_bar *bar = client_data; bar 15480 src/xterm.c bool horizontal = bar->horizontal; bar 15486 src/xterm.c bar->dragging = -1; bar 15491 src/xterm.c bar->dragging = -1; bar 15496 src/xterm.c bar->dragging = -1; bar 15501 src/xterm.c bar->dragging = -1; bar 15506 src/xterm.c bar->dragging = -1; bar 15511 src/xterm.c bar->dragging = -1; bar 15525 src/xterm.c portion = bar->whole * ((float)cs->value / XM_SB_MAX); bar 15526 src/xterm.c whole = bar->whole * ((float)(XM_SB_MAX - slider_size) / XM_SB_MAX); bar 15537 src/xterm.c bar->dragging = cs->value; bar 15547 src/xterm.c window_being_scrolled = bar->window; bar 15548 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15549 src/xterm.c bar->horizontal); bar 15563 src/xterm.c struct scroll_bar *bar; bar 15574 src/xterm.c bar = user_data; bar 15592 src/xterm.c if (bar->horizontal) bar 15598 src/xterm.c bar->dragging = portion; bar 15606 src/xterm.c bar->dragging = portion; bar 15611 src/xterm.c part = (bar->horizontal bar 15613 src/xterm.c bar->dragging = -1; bar 15616 src/xterm.c part = (bar->horizontal bar 15618 src/xterm.c bar->dragging = -1; bar 15621 src/xterm.c part = (bar->horizontal bar 15623 src/xterm.c bar->dragging = -1; bar 15626 src/xterm.c part = (bar->horizontal bar 15628 src/xterm.c bar->dragging = -1; bar 15636 src/xterm.c window_being_scrolled = bar->window; bar 15637 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15638 src/xterm.c bar->horizontal); bar 15651 src/xterm.c struct scroll_bar *bar; bar 15653 src/xterm.c bar = user_data; bar 15654 src/xterm.c bar->dragging = -1; bar 15659 src/xterm.c scroll_bar_end_scroll, 0, 0, bar->horizontal); bar 15677 src/xterm.c struct scroll_bar *bar = client_data; bar 15683 src/xterm.c bool horizontal = bar->horizontal; bar 15694 src/xterm.c whole = bar->whole - (shown * bar->whole); bar 15695 src/xterm.c portion = min (top * bar->whole, whole); bar 15699 src/xterm.c whole = bar->whole; bar 15726 src/xterm.c window_being_scrolled = bar->window; bar 15727 src/xterm.c bar->dragging = portion; bar 15728 src/xterm.c bar->last_seen_part = part; bar 15729 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar->horizontal); bar 15744 src/xterm.c struct scroll_bar *bar = client_data; bar 15750 src/xterm.c if (bar->horizontal) bar 15767 src/xterm.c window_being_scrolled = bar->window; bar 15768 src/xterm.c bar->dragging = -1; bar 15769 src/xterm.c bar->last_seen_part = part; bar 15770 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, width, bar 15771 src/xterm.c bar->horizontal); bar 15791 src/xterm.c window_being_scrolled = bar->window; bar 15792 src/xterm.c bar->dragging = -1; bar 15793 src/xterm.c bar->last_seen_part = part; bar 15794 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, height, bar 15795 src/xterm.c bar->horizontal); bar 15809 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15814 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15821 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15826 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15835 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15877 src/xterm.c (XtPointer) bar); bar 15879 src/xterm.c (XtPointer) bar); bar 15881 src/xterm.c (XtPointer) bar); bar 15883 src/xterm.c (XtPointer) bar); bar 15885 src/xterm.c (XtPointer) bar); bar 15887 src/xterm.c (XtPointer) bar); bar 15889 src/xterm.c (XtPointer) bar); bar 16018 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 16020 src/xterm.c (XtPointer) bar); bar 16033 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 16035 src/xterm.c bar->x_window = xwindow; bar 16036 src/xterm.c bar->whole = 1; bar 16037 src/xterm.c bar->horizontal = false; bar 16043 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 16085 src/xterm.c (XtPointer) bar); bar 16087 src/xterm.c (XtPointer) bar); bar 16089 src/xterm.c (XtPointer) bar); bar 16091 src/xterm.c (XtPointer) bar); bar 16093 src/xterm.c (XtPointer) bar); bar 16095 src/xterm.c (XtPointer) bar); bar 16097 src/xterm.c (XtPointer) bar); bar 16226 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 16228 src/xterm.c (XtPointer) bar); bar 16242 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 16244 src/xterm.c bar->x_window = xwindow; bar 16245 src/xterm.c bar->whole = 1; bar 16246 src/xterm.c bar->horizontal = true; bar 16258 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 16260 src/xterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 16264 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 16266 src/xterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 16271 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 16274 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16275 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16295 src/xterm.c portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30; bar 16309 src/xterm.c if (bar->dragging == -1) bar 16344 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16365 src/xterm.c if (bar->dragging == -1) bar 16383 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 16386 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16387 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16393 src/xterm.c bar->whole = whole; bar 16403 src/xterm.c bar->whole = whole; bar 16423 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16447 src/xterm.c if (bar->dragging == -1) bar 16484 src/xterm.c struct scroll_bar *bar = ALLOCATE_PSEUDOVECTOR (struct scroll_bar, prev, bar 16492 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); bar 16494 src/xterm.c x_create_toolkit_scroll_bar (f, bar); bar 16538 src/xterm.c bar->x_window = window; bar 16542 src/xterm.c XSETWINDOW (bar->window, w); bar 16543 src/xterm.c bar->top = top; bar 16544 src/xterm.c bar->left = left; bar 16545 src/xterm.c bar->width = width; bar 16546 src/xterm.c bar->height = height; bar 16547 src/xterm.c bar->start = 0; bar 16548 src/xterm.c bar->end = 0; bar 16549 src/xterm.c bar->dragging = -1; bar 16550 src/xterm.c bar->horizontal = horizontal; bar 16552 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 16556 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 16557 src/xterm.c bar->prev = Qnil; bar 16558 src/xterm.c XSETVECTOR (barobj, bar); bar 16560 src/xterm.c if (!NILP (bar->next)) bar 16561 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 16568 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 16571 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16574 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16578 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16582 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16584 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16588 src/xterm.c return bar; bar 16608 src/xterm.c x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end, bar 16619 src/xterm.c && start == bar->start bar 16620 src/xterm.c && end == bar->end) bar 16623 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16624 src/xterm.c dragging = bar->dragging != -1; bar 16630 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); bar 16631 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); bar 16632 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 16650 src/xterm.c bar->start = start; bar 16651 src/xterm.c bar->end = end; bar 16674 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16675 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER, bar 16690 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16691 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + start, bar 16707 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16708 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + end, bar 16729 src/xterm.c x_scroll_bar_remove (struct scroll_bar *bar) bar 16731 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16736 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); bar 16738 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); bar 16741 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16745 src/xterm.c if (bar->horizontal) bar 16746 src/xterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 16748 src/xterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 16764 src/xterm.c struct scroll_bar *bar; bar 16785 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 16790 src/xterm.c x_scroll_bar_redraw (bar); bar 16798 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 16802 src/xterm.c if (left != bar->left) bar 16804 src/xterm.c if (top != bar->top) bar 16806 src/xterm.c if (width != bar->width) bar 16808 src/xterm.c if (height != bar->height) bar 16821 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16824 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 16839 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 16846 src/xterm.c bar->left = left; bar 16847 src/xterm.c bar->top = top; bar 16848 src/xterm.c bar->width = width; bar 16849 src/xterm.c bar->height = height; bar 16853 src/xterm.c x_scroll_bar_redraw (bar); bar 16860 src/xterm.c x_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 16864 src/xterm.c if (bar->dragging == -1) bar 16869 src/xterm.c x_scroll_bar_set_handle (bar, 0, top_range, false); bar 16874 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 16879 src/xterm.c XSETVECTOR (barobj, bar); bar 16889 src/xterm.c struct scroll_bar *bar; bar 16914 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, height, true); bar 16921 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 16925 src/xterm.c if (left != bar->left) bar 16927 src/xterm.c if (top != bar->top) bar 16929 src/xterm.c if (width != bar->width) bar 16931 src/xterm.c if (height != bar->height) bar 16945 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 16948 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 16974 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 16981 src/xterm.c bar->left = left; bar 16982 src/xterm.c bar->top = top; bar 16983 src/xterm.c bar->width = width; bar 16984 src/xterm.c bar->height = height; bar 16990 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 16994 src/xterm.c if (bar->dragging == -1) bar 16999 src/xterm.c x_scroll_bar_set_handle (bar, 0, left_range, false); bar 17004 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 17009 src/xterm.c XSETVECTOR (barobj, bar); bar 17055 src/xterm.c struct scroll_bar *bar; bar 17065 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 17068 src/xterm.c if (NILP (bar->prev)) bar 17077 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 17084 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 17086 src/xterm.c if (! NILP (bar->next)) bar 17087 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 17089 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 17090 src/xterm.c bar->prev = Qnil; bar 17091 src/xterm.c XSETVECTOR (barobj, bar); bar 17093 src/xterm.c if (! NILP (bar->next)) bar 17094 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 17100 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 17103 src/xterm.c if (NILP (bar->prev)) bar 17112 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 17119 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 17121 src/xterm.c if (! NILP (bar->next)) bar 17122 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 17124 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 17125 src/xterm.c bar->prev = Qnil; bar 17126 src/xterm.c XSETVECTOR (barobj, bar); bar 17128 src/xterm.c if (! NILP (bar->next)) bar 17129 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 17139 src/xterm.c Lisp_Object bar, next; bar 17141 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 17147 src/xterm.c for (; ! NILP (bar); bar = next) bar 17149 src/xterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 17171 src/xterm.c Lisp_Object bar, condemned; bar 17197 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 17200 src/xterm.c !NILP (bar) || (bar = condemned, bar 17202 src/xterm.c !NILP (bar)); bar 17203 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 17205 src/xterm.c b = XSCROLL_BAR (bar); bar 17224 src/xterm.c x_scroll_bar_redraw (struct scroll_bar *bar) bar 17226 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17237 src/xterm.c bar->left, bar->top, bar->width, bar->height); bar 17242 src/xterm.c x_scroll_bar_set_handle (bar, bar->start, bar->end, true); bar 17251 src/xterm.c bar->left, bar->top, bar->width - 1, bar->height - 1); bar 17268 src/xterm.c x_scroll_bar_handle_click (struct scroll_bar *bar, bar 17278 src/xterm.c if (! WINDOWP (bar->window)) bar 17281 src/xterm.c emacs_event->kind = (bar->horizontal bar 17287 src/xterm.c (XFRAME (WINDOW_FRAME (XWINDOW (bar->window)))), bar 17292 src/xterm.c emacs_event->frame_or_window = bar->window; bar 17299 src/xterm.c if (bar->horizontal) bar 17302 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17308 src/xterm.c if (x < bar->start) bar 17310 src/xterm.c else if (x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17317 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17319 src/xterm.c new_start = - bar->dragging; bar 17320 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17322 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17323 src/xterm.c bar->dragging = -1; bar 17333 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17339 src/xterm.c if (y < bar->start) bar 17341 src/xterm.c else if (y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17348 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17350 src/xterm.c new_start = y - bar->dragging; bar 17351 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17353 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17354 src/xterm.c bar->dragging = -1; bar 17371 src/xterm.c x_scroll_bar_note_movement (struct scroll_bar *bar, bar 17374 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); bar 17379 src/xterm.c dpyinfo->last_mouse_scroll_bar = bar; bar 17383 src/xterm.c if (bar->dragging != -1) bar 17386 src/xterm.c int new_start = event->y - bar->dragging; bar 17388 src/xterm.c if (new_start != bar->start) bar 17390 src/xterm.c int new_end = new_start + bar->end - bar->start; bar 17392 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17408 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17409 src/xterm.c Window w = bar->x_window; bar 17410 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17432 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17436 src/xterm.c if (bar->dragging != -1) bar 17437 src/xterm.c win_y -= bar->dragging; bar 17445 src/xterm.c *bar_window = bar->window; bar 17447 src/xterm.c if (bar->dragging != -1) bar 17449 src/xterm.c else if (win_y < bar->start) bar 17451 src/xterm.c else if (win_y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17477 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17478 src/xterm.c Window w = bar->x_window; bar 17479 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17501 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17505 src/xterm.c if (bar->dragging != -1) bar 17506 src/xterm.c win_x -= bar->dragging; bar 17514 src/xterm.c *bar_window = bar->window; bar 17516 src/xterm.c if (bar->dragging != -1) bar 17518 src/xterm.c else if (win_x < bar->start) bar 17520 src/xterm.c else if (win_x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17545 src/xterm.c Lisp_Object bar, condemned; bar 17561 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 17564 src/xterm.c !NILP (bar) || (bar = condemned, bar 17566 src/xterm.c !NILP (bar)); bar 17567 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 17568 src/xterm.c x_scroll_bar_redraw (XSCROLL_BAR (bar)); bar 21057 src/xterm.c struct scroll_bar *bar bar 21061 src/xterm.c if (bar) bar 21062 src/xterm.c x_scroll_bar_note_movement (bar, &event->xmotion); bar 21212 src/xterm.c struct scroll_bar *bar = x_window_to_scroll_bar (dpyinfo->display, bar 21217 src/xterm.c if (bar) bar 21234 src/xterm.c if (configureEvent.xconfigure.width != max (bar->width, 1) bar 21235 src/xterm.c || configureEvent.xconfigure.height != max (bar->height, 1)) bar 21237 src/xterm.c XResizeWindow (dpyinfo->display, bar->x_window, bar 21238 src/xterm.c max (bar->width, 1), max (bar->height, 1)); bar 21239 src/xterm.c x_flush (WINDOW_XFRAME (XWINDOW (bar->window))); bar 21827 src/xterm.c struct scroll_bar *bar bar 21834 src/xterm.c if (bar && event->xbutton.state & ControlMask) bar 21836 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 21840 src/xterm.c if (bar) bar 21841 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 22406 src/xterm.c struct scroll_bar *bar; bar 22408 src/xterm.c bar = NULL; bar 22432 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, bar 22435 src/xterm.c if (bar) bar 22436 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 22451 src/xterm.c if (!bar) bar 22452 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, xev->event, 2); bar 22458 src/xterm.c if (bar) bar 22460 src/xterm.c real_x = lrint (xev->event_x + bar->left); bar 22461 src/xterm.c real_y = lrint (xev->event_y + bar->top); bar 22976 src/xterm.c struct scroll_bar *bar bar 22979 src/xterm.c if (bar) bar 22980 src/xterm.c x_scroll_bar_note_movement (bar, &ev); bar 23256 src/xterm.c struct scroll_bar *bar bar 23319 src/xterm.c if (bar) bar 23597 src/xterm.c struct scroll_bar *bar bar 23602 src/xterm.c if (bar) bar 23603 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 23608 src/xterm.c if (bar && xev->mods.effective & ControlMask) bar 23610 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 29064 src/xterm.c Lisp_Object bar; bar 29103 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) bar 29105 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();