Lines Matching refs:gui
401 gui.border_offset = gui.border_width; in gui_x11_create_widgets()
445 XmNbackground, &gui.menu_def_bg_pixel, in gui_x11_create_widgets()
446 XmNforeground, &gui.menu_def_fg_pixel, in gui_x11_create_widgets()
504 gui.tabline_height = TABLINE_HEIGHT; in gui_x11_create_widgets()
566 XmNforeground, gui.norm_pixel, in gui_x11_create_widgets()
567 XmNbackground, gui.back_pixel, in gui_x11_create_widgets()
607 gui.in_focus = FALSE; in gui_x11_create_widgets()
640 XmChangeColor(textArea, gui.back_pixel); in gui_x11_set_back_color()
643 XmNbackground, gui.back_pixel, in gui_x11_set_back_color()
918 if (gui.menu_bg_pixel != INVALCOLOR) in gui_mch_add_menu()
920 XtSetArg(arg[0], XmNbackground, gui.menu_bg_pixel); n++; in gui_mch_add_menu()
922 if (gui.menu_fg_pixel != INVALCOLOR) in gui_mch_add_menu()
924 XtSetArg(arg[1], XmNforeground, gui.menu_fg_pixel); n++; in gui_mch_add_menu()
1144 gui.menu_height = maxy + height - 2 * shadow + 2 * margin + 4; in gui_mch_compute_menu_height()
1149 if (gui.shell_created) in gui_mch_compute_menu_height()
1150 XtVaSetValues(menuBar, XmNheight, gui.menu_height, NULL); in gui_mch_compute_menu_height()
1176 status = XpmReadFileToPixmap(gui.dpy, in check_xpm()
1177 RootWindow(gui.dpy, DefaultScreen(gui.dpy)), in check_xpm()
1354 gui.toolbar_height = gui_mch_compute_toolbar_height(); in gui_mch_add_menu_item()
1419 if (!gui.in_use) in gui_motif_update_mousemodel()
1480 gui.menu_height = height; in gui_mch_new_menu_font()
1557 args[0].value = gui.tooltip_bg_pixel; in submenu_change()
1559 args[1].value = gui.tooltip_fg_pixel; in submenu_change()
1576 &gui.tooltip_fontset); in submenu_change()
1654 gui.toolbar_height = gui_mch_compute_toolbar_height(); in gui_mch_destroy_menu()
1677 if (gui.in_use) in gui_mch_def_colors()
1681 gui.menu_fg_pixel = gui.menu_def_fg_pixel; in gui_mch_def_colors()
1682 gui.menu_bg_pixel = gui.menu_def_bg_pixel; in gui_mch_def_colors()
1683 gui.scroll_fg_pixel = gui.scroll_def_fg_pixel; in gui_mch_def_colors()
1684 gui.scroll_bg_pixel = gui.scroll_def_bg_pixel; in gui_mch_def_colors()
1686 gui.tooltip_fg_pixel = in gui_mch_def_colors()
1687 gui_get_color((char_u *)gui.rsrc_tooltip_fg_name); in gui_mch_def_colors()
1688 gui.tooltip_bg_pixel = in gui_mch_def_colors()
1689 gui_get_color((char_u *)gui.rsrc_tooltip_bg_name); in gui_mch_def_colors()
1728 h -= gui.border_offset; in gui_mch_set_scrollbar_pos()
1730 y -= gui.border_offset; in gui_mch_set_scrollbar_pos()
1741 XmNrightOffset, gui.which_scrollbars[SBAR_RIGHT] in gui_mch_set_scrollbar_pos()
1742 ? gui.scrollbar_width : 0, in gui_mch_set_scrollbar_pos()
1779 XtSetArg(args[n], XmNleftOffset, gui.scrollbar_width); n++; in gui_mch_enable_scrollbar()
1783 XtSetArg(args[n], XmNrightOffset, gui.scrollbar_width); n++; in gui_mch_enable_scrollbar()
1787 XtSetArg(args[n], XmNbottomOffset, gui.scrollbar_height);n++; in gui_mch_enable_scrollbar()
1795 if (!gui.which_scrollbars[sb->type]) in gui_mch_enable_scrollbar()
1858 if (gui.scroll_def_bg_pixel == (guicolor_T)0 in gui_mch_create_scrollbar()
1859 && gui.scroll_def_fg_pixel == (guicolor_T)0) in gui_mch_create_scrollbar()
1861 XmNbackground, &gui.scroll_def_bg_pixel, in gui_mch_create_scrollbar()
1862 XmNforeground, &gui.scroll_def_fg_pixel, in gui_mch_create_scrollbar()
1889 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_mch_set_scrollbar_colors()
1892 XmChangeColor(sb->id, gui.scroll_bg_pixel); in gui_mch_set_scrollbar_colors()
1895 XmNtroughColor, gui.scroll_bg_pixel, in gui_mch_set_scrollbar_colors()
1900 if (gui.scroll_fg_pixel != INVALCOLOR) in gui_mch_set_scrollbar_colors()
1902 XmNforeground, gui.scroll_fg_pixel, in gui_mch_set_scrollbar_colors()
1904 XmNbackground, gui.scroll_fg_pixel, in gui_mch_set_scrollbar_colors()
1910 if (sb == &gui.bottom_sbar && textAreaForm != (Widget)0) in gui_mch_set_scrollbar_colors()
2099 if (gui.fontset != NOFONTSET) in set_fontlist()
2101 fl = gui_motif_fontset2fontlist((XFontSet *)&gui.fontset); in set_fontlist()
2118 if (gui.norm_font != NOFONT) in set_fontlist()
2120 fl = gui_motif_create_fontlist((XFontStruct *)gui.norm_font); in set_fontlist()
2318 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_mch_browse()
2319 XtVaSetValues(dialog_wgt, XmNtroughColor, gui.scroll_bg_pixel, NULL); in gui_mch_browse()
2423 XmTextFieldClearSelection(w, XtLastTimestampProcessed(gui.dpy)); in keyhit_callback()
2837 XtLastTimestampProcessed(gui.dpy)); in gui_mch_dialog()
2897 gui.footer_height = gui_mch_compute_footer_height(); in gui_mch_enable_footer()
2902 gui.footer_height = 0; in gui_mch_enable_footer()
2905 XtVaSetValues(textAreaForm, XmNbottomOffset, gui.footer_height, NULL); in gui_mch_enable_footer()
2994 gui.toolbar_height = gui_mch_compute_toolbar_height(); in gui_mch_show_toolbar()
3026 gui.toolbar_height = 0; in gui_mch_show_toolbar()
3376 if (gui.menu_bg_pixel != INVALCOLOR) in gui_motif_menu_colors()
3378 XmChangeColor(id, gui.menu_bg_pixel); in gui_motif_menu_colors()
3380 XtVaSetValues(id, XmNbackground, gui.menu_bg_pixel, NULL); in gui_motif_menu_colors()
3382 if (gui.menu_fg_pixel != INVALCOLOR) in gui_motif_menu_colors()
3383 XtVaSetValues(id, XmNforeground, gui.menu_fg_pixel, NULL); in gui_motif_menu_colors()
3392 if (gui.scroll_bg_pixel != INVALCOLOR) in gui_motif_scroll_colors()
3394 XmChangeColor(id, gui.scroll_bg_pixel); in gui_motif_scroll_colors()
3396 XtVaSetValues(id, XmNbackground, gui.scroll_bg_pixel, NULL); in gui_motif_scroll_colors()
3398 if (gui.scroll_fg_pixel != INVALCOLOR) in gui_motif_scroll_colors()
3399 XtVaSetValues(id, XmNforeground, gui.scroll_fg_pixel, NULL); in gui_motif_scroll_colors()
3410 if (gui.menu_fontset != NOFONTSET) in gui_motif_menu_fontlist()
3414 fl = gui_motif_fontset2fontlist((XFontSet *)&gui.menu_fontset); in gui_motif_menu_fontlist()
3431 if (gui.menu_font != NOFONT) in gui_motif_menu_fontlist()
3435 fl = gui_motif_create_fontlist((XFontStruct *)gui.menu_font); in gui_motif_menu_fontlist()
3981 if (!gui.in_use) in gui_mch_find_dialog()
3991 if (!gui.in_use) in gui_mch_replace_dialog()
4013 font = (XFontStruct *)gui.norm_font; in gui_motif_synch_fonts()