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 1619 src/haikufns.c Lisp_Object bar; bar 1635 src/haikufns.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) bar 1637 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 4513 src/haikuterm.c haiku_scroll_bar_remove (struct scroll_bar *bar) bar 4518 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 4522 src/haikuterm.c BView_forget_scroll_bar (view, bar->left, bar->top, bar 4523 src/haikuterm.c bar->width, bar->height); bar 4524 src/haikuterm.c BScrollBar_delete (bar->scroll_bar); bar 4525 src/haikuterm.c expose_frame (WINDOW_XFRAME (XWINDOW (bar->window)), bar 4526 src/haikuterm.c bar->left, bar->top, bar->width, bar->height); bar 4528 src/haikuterm.c if (bar->horizontal) bar 4529 src/haikuterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4531 src/haikuterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 2990 src/msdos.c XMenuAddSelection (Display *bar, XMenu *menu, int pane, bar 3905 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3915 src/pgtkterm.c if (bar->horizontal) bar 3921 src/pgtkterm.c bar->dragging = portion; bar 3929 src/pgtkterm.c bar->dragging = portion; bar 3933 src/pgtkterm.c part = (bar->horizontal ? scroll_bar_left_arrow : scroll_bar_up_arrow); bar 3934 src/pgtkterm.c bar->dragging = -1; bar 3937 src/pgtkterm.c part = (bar->horizontal bar 3939 src/pgtkterm.c bar->dragging = -1; bar 3942 src/pgtkterm.c part = (bar->horizontal bar 3944 src/pgtkterm.c bar->dragging = -1; bar 3947 src/pgtkterm.c part = (bar->horizontal bar 3949 src/pgtkterm.c bar->dragging = -1; bar 3957 src/pgtkterm.c window_being_scrolled = bar->window; bar 3958 src/pgtkterm.c pgtk_send_scroll_bar_event (bar->window, part, portion, whole, bar 3959 src/pgtkterm.c bar->horizontal); bar 3971 src/pgtkterm.c struct scroll_bar *bar = user_data; bar 3972 src/pgtkterm.c bar->dragging = -1; bar 3977 src/pgtkterm.c bar->horizontal); bar 3991 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 3996 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4003 src/pgtkterm.c struct scroll_bar *bar) bar 4008 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 4018 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, bar 4021 src/pgtkterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4025 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, bar 4029 src/pgtkterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4042 src/pgtkterm.c struct scroll_bar *bar bar 4049 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); bar 4051 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); bar 4053 src/pgtkterm.c XSETWINDOW (bar->window, w); bar 4054 src/pgtkterm.c bar->top = top; bar 4055 src/pgtkterm.c bar->left = left; bar 4056 src/pgtkterm.c bar->width = width; bar 4057 src/pgtkterm.c bar->height = height; bar 4058 src/pgtkterm.c bar->start = 0; bar 4059 src/pgtkterm.c bar->end = 0; bar 4060 src/pgtkterm.c bar->dragging = -1; bar 4061 src/pgtkterm.c bar->horizontal = horizontal; bar 4064 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4065 src/pgtkterm.c bar->prev = Qnil; bar 4066 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4068 src/pgtkterm.c if (!NILP (bar->next)) bar 4069 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4074 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 4077 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4082 src/pgtkterm.c return bar; bar 4089 src/pgtkterm.c pgtk_scroll_bar_remove (struct scroll_bar *bar) bar 4091 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 4094 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); bar 4097 src/pgtkterm.c if (bar->horizontal) bar 4098 src/pgtkterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 4100 src/pgtkterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 4116 src/pgtkterm.c struct scroll_bar *bar; bar 4137 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 4144 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4148 src/pgtkterm.c if (left != bar->left) bar 4150 src/pgtkterm.c if (top != bar->top) bar 4152 src/pgtkterm.c if (width != bar->width) bar 4154 src/pgtkterm.c if (height != bar->height) bar 4164 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 4169 src/pgtkterm.c bar->left = left; bar 4170 src/pgtkterm.c bar->top = top; bar 4171 src/pgtkterm.c bar->width = width; bar 4172 src/pgtkterm.c bar->height = height; bar 4177 src/pgtkterm.c pgtk_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 4179 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4189 src/pgtkterm.c struct scroll_bar *bar; bar 4214 src/pgtkterm.c bar = pgtk_scroll_bar_create (w, top, left, width, height, true); bar 4221 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4225 src/pgtkterm.c if (left != bar->left) bar 4227 src/pgtkterm.c if (top != bar->top) bar 4229 src/pgtkterm.c if (width != bar->width) bar 4231 src/pgtkterm.c if (height != bar->height) bar 4244 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 4249 src/pgtkterm.c bar->left = left; bar 4250 src/pgtkterm.c bar->top = top; bar 4251 src/pgtkterm.c bar->width = width; bar 4252 src/pgtkterm.c bar->height = height; bar 4257 src/pgtkterm.c pgtk_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 4259 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4303 src/pgtkterm.c struct scroll_bar *bar; bar 4313 src/pgtkterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 4316 src/pgtkterm.c if (NILP (bar->prev)) bar 4325 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4332 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4334 src/pgtkterm.c if (!NILP (bar->next)) bar 4335 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4337 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4338 src/pgtkterm.c bar->prev = Qnil; bar 4339 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4341 src/pgtkterm.c if (!NILP (bar->next)) bar 4342 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4349 src/pgtkterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 4352 src/pgtkterm.c if (NILP (bar->prev)) bar 4361 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); bar 4368 src/pgtkterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 4370 src/pgtkterm.c if (!NILP (bar->next)) bar 4371 src/pgtkterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 4373 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); bar 4374 src/pgtkterm.c bar->prev = Qnil; bar 4375 src/pgtkterm.c XSETVECTOR (barobj, bar); bar 4377 src/pgtkterm.c if (!NILP (bar->next)) bar 4378 src/pgtkterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 4388 src/pgtkterm.c Lisp_Object bar, next; bar 4390 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 4396 src/pgtkterm.c for (; !NILP (bar); bar = next) bar 4398 src/pgtkterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 2363 src/w32fns.c w32_createvscrollbar (struct frame *f, struct scroll_bar * bar) bar 2372 src/w32fns.c bar->left, bar->top, bar->width, bar->height, bar 2380 src/w32fns.c w32_createhscrollbar (struct frame *f, struct scroll_bar * bar) bar 2389 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 14312 src/xterm.c struct scroll_bar *bar; bar 14321 src/xterm.c bar = dpyinfo->last_mouse_scroll_bar; bar 14323 src/xterm.c if (bar->horizontal) bar 14483 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 14485 src/xterm.c if (bar->horizontal) bar 14708 src/xterm.c struct scroll_bar *bar; bar 14710 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, win, 2); bar 14712 src/xterm.c if (bar) bar 14714 src/xterm.c f1 = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 14805 src/xterm.c Lisp_Object bar, condemned; bar 14813 src/xterm.c for (bar = FRAME_SCROLL_BARS (XFRAME (frame)); bar 14816 src/xterm.c ! NILP (bar) || (bar = condemned, bar 14818 src/xterm.c ! NILP (bar)); bar 14819 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 14820 src/xterm.c if (XSCROLL_BAR (bar)->x_window == window_id bar 14823 src/xterm.c || (type == 1 && XSCROLL_BAR (bar)->horizontal) bar 14824 src/xterm.c || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) bar 14825 src/xterm.c return XSCROLL_BAR (bar); bar 14923 src/xterm.c struct scroll_bar *bar; bar 14928 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 14930 src/xterm.c if (bar->dragging != -1) bar 14932 src/xterm.c bar->dragging = -1; bar 14938 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 14966 src/xterm.c struct scroll_bar *bar; bar 14973 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 14974 src/xterm.c if (bar->dragging != -1) bar 14976 src/xterm.c bar->dragging = -1; bar 14982 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 15170 src/xterm.c struct scroll_bar *bar = client_data; bar 15173 src/xterm.c bool horizontal = bar->horizontal; bar 15179 src/xterm.c bar->dragging = -1; bar 15184 src/xterm.c bar->dragging = -1; bar 15189 src/xterm.c bar->dragging = -1; bar 15194 src/xterm.c bar->dragging = -1; bar 15199 src/xterm.c bar->dragging = -1; bar 15204 src/xterm.c bar->dragging = -1; bar 15218 src/xterm.c portion = bar->whole * ((float)cs->value / XM_SB_MAX); bar 15219 src/xterm.c whole = bar->whole * ((float)(XM_SB_MAX - slider_size) / XM_SB_MAX); bar 15230 src/xterm.c bar->dragging = cs->value; bar 15240 src/xterm.c window_being_scrolled = bar->window; bar 15241 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15242 src/xterm.c bar->horizontal); bar 15256 src/xterm.c struct scroll_bar *bar; bar 15267 src/xterm.c bar = user_data; bar 15285 src/xterm.c if (bar->horizontal) bar 15291 src/xterm.c bar->dragging = portion; bar 15299 src/xterm.c bar->dragging = portion; bar 15304 src/xterm.c part = (bar->horizontal bar 15306 src/xterm.c bar->dragging = -1; bar 15309 src/xterm.c part = (bar->horizontal bar 15311 src/xterm.c bar->dragging = -1; bar 15314 src/xterm.c part = (bar->horizontal bar 15316 src/xterm.c bar->dragging = -1; bar 15319 src/xterm.c part = (bar->horizontal bar 15321 src/xterm.c bar->dragging = -1; bar 15329 src/xterm.c window_being_scrolled = bar->window; bar 15330 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar 15331 src/xterm.c bar->horizontal); bar 15344 src/xterm.c struct scroll_bar *bar; bar 15346 src/xterm.c bar = user_data; bar 15347 src/xterm.c bar->dragging = -1; bar 15352 src/xterm.c scroll_bar_end_scroll, 0, 0, bar->horizontal); bar 15370 src/xterm.c struct scroll_bar *bar = client_data; bar 15376 src/xterm.c bool horizontal = bar->horizontal; bar 15387 src/xterm.c whole = bar->whole - (shown * bar->whole); bar 15388 src/xterm.c portion = min (top * bar->whole, whole); bar 15392 src/xterm.c whole = bar->whole; bar 15419 src/xterm.c window_being_scrolled = bar->window; bar 15420 src/xterm.c bar->dragging = portion; bar 15421 src/xterm.c bar->last_seen_part = part; bar 15422 src/xterm.c x_send_scroll_bar_event (bar->window, part, portion, whole, bar->horizontal); bar 15437 src/xterm.c struct scroll_bar *bar = client_data; bar 15443 src/xterm.c if (bar->horizontal) bar 15460 src/xterm.c window_being_scrolled = bar->window; bar 15461 src/xterm.c bar->dragging = -1; bar 15462 src/xterm.c bar->last_seen_part = part; bar 15463 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, width, bar 15464 src/xterm.c bar->horizontal); bar 15484 src/xterm.c window_being_scrolled = bar->window; bar 15485 src/xterm.c bar->dragging = -1; bar 15486 src/xterm.c bar->last_seen_part = part; bar 15487 src/xterm.c x_send_scroll_bar_event (bar->window, part, position, height, bar 15488 src/xterm.c bar->horizontal); bar 15502 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15507 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15514 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15519 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), bar 15528 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15570 src/xterm.c (XtPointer) bar); bar 15572 src/xterm.c (XtPointer) bar); bar 15574 src/xterm.c (XtPointer) bar); bar 15576 src/xterm.c (XtPointer) bar); bar 15578 src/xterm.c (XtPointer) bar); bar 15580 src/xterm.c (XtPointer) bar); bar 15582 src/xterm.c (XtPointer) bar); bar 15711 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 15713 src/xterm.c (XtPointer) bar); bar 15726 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 15728 src/xterm.c bar->x_window = xwindow; bar 15729 src/xterm.c bar->whole = 1; bar 15730 src/xterm.c bar->horizontal = false; bar 15736 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) bar 15778 src/xterm.c (XtPointer) bar); bar 15780 src/xterm.c (XtPointer) bar); bar 15782 src/xterm.c (XtPointer) bar); bar 15784 src/xterm.c (XtPointer) bar); bar 15786 src/xterm.c (XtPointer) bar); bar 15788 src/xterm.c (XtPointer) bar); bar 15790 src/xterm.c (XtPointer) bar); bar 15919 src/xterm.c XtAddCallback (widget, XtNjumpProc, xaw_jump_callback, (XtPointer) bar); bar 15921 src/xterm.c (XtPointer) bar); bar 15935 src/xterm.c SET_SCROLL_BAR_X_WIDGET (bar, widget); bar 15937 src/xterm.c bar->x_window = xwindow; bar 15938 src/xterm.c bar->whole = 1; bar 15939 src/xterm.c bar->horizontal = true; bar 15951 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 15953 src/xterm.c xg_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 15957 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, int whole) bar 15959 src/xterm.c xg_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 15964 src/xterm.c x_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 15967 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 15968 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 15988 src/xterm.c portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30; bar 16002 src/xterm.c if (bar->dragging == -1) bar 16037 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16058 src/xterm.c if (bar->dragging == -1) bar 16076 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (struct scroll_bar *bar, int portion, int position, bar 16079 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16080 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16086 src/xterm.c bar->whole = whole; bar 16096 src/xterm.c bar->whole = whole; bar 16116 src/xterm.c if (bar->dragging == -1 || bar->last_seen_part == scroll_bar_down_arrow) bar 16140 src/xterm.c if (bar->dragging == -1) bar 16177 src/xterm.c struct scroll_bar *bar = ALLOCATE_PSEUDOVECTOR (struct scroll_bar, prev, bar 16185 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); bar 16187 src/xterm.c x_create_toolkit_scroll_bar (f, bar); bar 16231 src/xterm.c bar->x_window = window; bar 16235 src/xterm.c XSETWINDOW (bar->window, w); bar 16236 src/xterm.c bar->top = top; bar 16237 src/xterm.c bar->left = left; bar 16238 src/xterm.c bar->width = width; bar 16239 src/xterm.c bar->height = height; bar 16240 src/xterm.c bar->start = 0; bar 16241 src/xterm.c bar->end = 0; bar 16242 src/xterm.c bar->dragging = -1; bar 16243 src/xterm.c bar->horizontal = horizontal; bar 16245 src/xterm.c bar->last_seen_part = scroll_bar_nowhere; bar 16249 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 16250 src/xterm.c bar->prev = Qnil; bar 16251 src/xterm.c XSETVECTOR (barobj, bar); bar 16253 src/xterm.c if (!NILP (bar->next)) bar 16254 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 16261 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, bar 16264 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16267 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); bar 16271 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16275 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16277 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16281 src/xterm.c return bar; bar 16301 src/xterm.c x_scroll_bar_set_handle (struct scroll_bar *bar, int start, int end, bar 16312 src/xterm.c && start == bar->start bar 16313 src/xterm.c && end == bar->end) bar 16316 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16317 src/xterm.c dragging = bar->dragging != -1; bar 16323 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); bar 16324 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); bar 16325 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 16343 src/xterm.c bar->start = start; bar 16344 src/xterm.c bar->end = end; bar 16367 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16368 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER, bar 16383 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16384 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + start, bar 16400 src/xterm.c bar->left + VERTICAL_SCROLL_BAR_LEFT_BORDER, bar 16401 src/xterm.c bar->top + VERTICAL_SCROLL_BAR_TOP_BORDER + end, bar 16422 src/xterm.c x_scroll_bar_remove (struct scroll_bar *bar) bar 16424 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16429 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); bar 16431 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); bar 16434 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); bar 16438 src/xterm.c if (bar->horizontal) bar 16439 src/xterm.c wset_horizontal_scroll_bar (XWINDOW (bar->window), Qnil); bar 16441 src/xterm.c wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); bar 16457 src/xterm.c struct scroll_bar *bar; bar 16478 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, max (height, 1), false); bar 16483 src/xterm.c x_scroll_bar_redraw (bar); bar 16491 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 16495 src/xterm.c if (left != bar->left) bar 16497 src/xterm.c if (top != bar->top) bar 16499 src/xterm.c if (width != bar->width) bar 16501 src/xterm.c if (height != bar->height) bar 16514 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, bar 16517 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 16532 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 16539 src/xterm.c bar->left = left; bar 16540 src/xterm.c bar->top = top; bar 16541 src/xterm.c bar->width = width; bar 16542 src/xterm.c bar->height = height; bar 16546 src/xterm.c x_scroll_bar_redraw (bar); bar 16553 src/xterm.c x_set_toolkit_scroll_bar_thumb (bar, portion, position, whole); bar 16557 src/xterm.c if (bar->dragging == -1) bar 16562 src/xterm.c x_scroll_bar_set_handle (bar, 0, top_range, false); bar 16567 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 16572 src/xterm.c XSETVECTOR (barobj, bar); bar 16582 src/xterm.c struct scroll_bar *bar; bar 16607 src/xterm.c bar = x_scroll_bar_create (w, top, left, width, height, true); bar 16614 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 16618 src/xterm.c if (left != bar->left) bar 16620 src/xterm.c if (top != bar->top) bar 16622 src/xterm.c if (width != bar->width) bar 16624 src/xterm.c if (height != bar->height) bar 16638 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, bar 16641 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), bar 16667 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, bar 16674 src/xterm.c bar->left = left; bar 16675 src/xterm.c bar->top = top; bar 16676 src/xterm.c bar->width = width; bar 16677 src/xterm.c bar->height = height; bar 16683 src/xterm.c x_set_toolkit_horizontal_scroll_bar_thumb (bar, portion, position, whole); bar 16687 src/xterm.c if (bar->dragging == -1) bar 16692 src/xterm.c x_scroll_bar_set_handle (bar, 0, left_range, false); bar 16697 src/xterm.c x_scroll_bar_set_handle (bar, start, end, false); bar 16702 src/xterm.c XSETVECTOR (barobj, bar); bar 16748 src/xterm.c struct scroll_bar *bar; bar 16758 src/xterm.c bar = XSCROLL_BAR (w->vertical_scroll_bar); bar 16761 src/xterm.c if (NILP (bar->prev)) bar 16770 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 16777 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 16779 src/xterm.c if (! NILP (bar->next)) bar 16780 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 16782 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 16783 src/xterm.c bar->prev = Qnil; bar 16784 src/xterm.c XSETVECTOR (barobj, bar); bar 16786 src/xterm.c if (! NILP (bar->next)) bar 16787 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 16793 src/xterm.c bar = XSCROLL_BAR (w->horizontal_scroll_bar); bar 16796 src/xterm.c if (NILP (bar->prev)) bar 16805 src/xterm.c fset_condemned_scroll_bars (f, bar->next); bar 16812 src/xterm.c XSCROLL_BAR (bar->prev)->next = bar->next; bar 16814 src/xterm.c if (! NILP (bar->next)) bar 16815 src/xterm.c XSCROLL_BAR (bar->next)->prev = bar->prev; bar 16817 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); bar 16818 src/xterm.c bar->prev = Qnil; bar 16819 src/xterm.c XSETVECTOR (barobj, bar); bar 16821 src/xterm.c if (! NILP (bar->next)) bar 16822 src/xterm.c XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); bar 16832 src/xterm.c Lisp_Object bar, next; bar 16834 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); bar 16840 src/xterm.c for (; ! NILP (bar); bar = next) bar 16842 src/xterm.c struct scroll_bar *b = XSCROLL_BAR (bar); bar 16864 src/xterm.c Lisp_Object bar, condemned; bar 16890 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 16893 src/xterm.c !NILP (bar) || (bar = condemned, bar 16895 src/xterm.c !NILP (bar)); bar 16896 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 16898 src/xterm.c b = XSCROLL_BAR (bar); bar 16917 src/xterm.c x_scroll_bar_redraw (struct scroll_bar *bar) bar 16919 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 16930 src/xterm.c bar->left, bar->top, bar->width, bar->height); bar 16935 src/xterm.c x_scroll_bar_set_handle (bar, bar->start, bar->end, true); bar 16944 src/xterm.c bar->left, bar->top, bar->width - 1, bar->height - 1); bar 16961 src/xterm.c x_scroll_bar_handle_click (struct scroll_bar *bar, bar 16971 src/xterm.c if (! WINDOWP (bar->window)) bar 16974 src/xterm.c emacs_event->kind = (bar->horizontal bar 16980 src/xterm.c (XFRAME (WINDOW_FRAME (XWINDOW (bar->window)))), bar 16985 src/xterm.c emacs_event->frame_or_window = bar->window; bar 16992 src/xterm.c if (bar->horizontal) bar 16995 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17001 src/xterm.c if (x < bar->start) bar 17003 src/xterm.c else if (x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17010 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17012 src/xterm.c new_start = - bar->dragging; bar 17013 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17015 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17016 src/xterm.c bar->dragging = -1; bar 17026 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17032 src/xterm.c if (y < bar->start) bar 17034 src/xterm.c else if (y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17041 src/xterm.c if (event->type == ButtonRelease && bar->dragging != -1) bar 17043 src/xterm.c new_start = y - bar->dragging; bar 17044 src/xterm.c new_end = new_start + bar->end - bar->start; bar 17046 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17047 src/xterm.c bar->dragging = -1; bar 17064 src/xterm.c x_scroll_bar_note_movement (struct scroll_bar *bar, bar 17067 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); bar 17072 src/xterm.c dpyinfo->last_mouse_scroll_bar = bar; bar 17076 src/xterm.c if (bar->dragging != -1) bar 17079 src/xterm.c int new_start = event->y - bar->dragging; bar 17081 src/xterm.c if (new_start != bar->start) bar 17083 src/xterm.c int new_end = new_start + bar->end - bar->start; bar 17085 src/xterm.c x_scroll_bar_set_handle (bar, new_start, new_end, false); bar 17101 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17102 src/xterm.c Window w = bar->x_window; bar 17103 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17125 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); bar 17129 src/xterm.c if (bar->dragging != -1) bar 17130 src/xterm.c win_y -= bar->dragging; bar 17138 src/xterm.c *bar_window = bar->window; bar 17140 src/xterm.c if (bar->dragging != -1) bar 17142 src/xterm.c else if (win_y < bar->start) bar 17144 src/xterm.c else if (win_y < bar->end + VERTICAL_SCROLL_BAR_MIN_HANDLE) bar 17170 src/xterm.c struct scroll_bar *bar = dpyinfo->last_mouse_scroll_bar; bar 17171 src/xterm.c Window w = bar->x_window; bar 17172 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); bar 17194 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); bar 17198 src/xterm.c if (bar->dragging != -1) bar 17199 src/xterm.c win_x -= bar->dragging; bar 17207 src/xterm.c *bar_window = bar->window; bar 17209 src/xterm.c if (bar->dragging != -1) bar 17211 src/xterm.c else if (win_x < bar->start) bar 17213 src/xterm.c else if (win_x < bar->end + HORIZONTAL_SCROLL_BAR_MIN_HANDLE) bar 17238 src/xterm.c Lisp_Object bar, condemned; bar 17254 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); bar 17257 src/xterm.c !NILP (bar) || (bar = condemned, bar 17259 src/xterm.c !NILP (bar)); bar 17260 src/xterm.c bar = XSCROLL_BAR (bar)->next) bar 17261 src/xterm.c x_scroll_bar_redraw (XSCROLL_BAR (bar)); bar 20722 src/xterm.c struct scroll_bar *bar bar 20726 src/xterm.c if (bar) bar 20727 src/xterm.c x_scroll_bar_note_movement (bar, &event->xmotion); bar 20877 src/xterm.c struct scroll_bar *bar = x_window_to_scroll_bar (dpyinfo->display, bar 20882 src/xterm.c if (bar) bar 20899 src/xterm.c if (configureEvent.xconfigure.width != max (bar->width, 1) bar 20900 src/xterm.c || configureEvent.xconfigure.height != max (bar->height, 1)) bar 20902 src/xterm.c XResizeWindow (dpyinfo->display, bar->x_window, bar 20903 src/xterm.c max (bar->width, 1), max (bar->height, 1)); bar 20904 src/xterm.c x_flush (WINDOW_XFRAME (XWINDOW (bar->window))); bar 21479 src/xterm.c struct scroll_bar *bar bar 21486 src/xterm.c if (bar && event->xbutton.state & ControlMask) bar 21488 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 21492 src/xterm.c if (bar) bar 21493 src/xterm.c x_scroll_bar_handle_click (bar, event, &inev.ie, Qnil); bar 22058 src/xterm.c struct scroll_bar *bar; bar 22060 src/xterm.c bar = NULL; bar 22084 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, bar 22087 src/xterm.c if (bar) bar 22088 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); bar 22103 src/xterm.c if (!bar) bar 22104 src/xterm.c bar = x_window_to_scroll_bar (dpyinfo->display, xev->event, 2); bar 22110 src/xterm.c if (bar) bar 22112 src/xterm.c real_x = lrint (xev->event_x + bar->left); bar 22113 src/xterm.c real_y = lrint (xev->event_y + bar->top); bar 22628 src/xterm.c struct scroll_bar *bar bar 22631 src/xterm.c if (bar) bar 22632 src/xterm.c x_scroll_bar_note_movement (bar, &ev); bar 22908 src/xterm.c struct scroll_bar *bar bar 22971 src/xterm.c if (bar) bar 23249 src/xterm.c struct scroll_bar *bar bar 23254 src/xterm.c if (bar) bar 23255 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 23260 src/xterm.c if (bar && xev->mods.effective & ControlMask) bar 23262 src/xterm.c x_scroll_bar_handle_click (bar, (XEvent *) &bv, &inev.ie, bar 28440 src/xterm.c Lisp_Object bar; bar 28474 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) bar 28476 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();