Home
last modified time | relevance | path

Searched refs:char_height (Results 1 – 12 of 12) sorted by relevance

/vim-8.2.3635/src/
H A Dgui.h87 # define TEXT_Y(row) ((row) * gui.char_height + gui.char_ascent)
89 # define FILL_Y(row) ((row) * gui.char_height)
91 # define Y_2_ROW(y) ((y) / gui.char_height)
96 # define TEXT_Y(row) ((row) * gui.char_height + gui.char_ascent \
98 # define FILL_Y(row) ((row) * gui.char_height + gui.border_offset)
99 # define Y_2_ROW(y) (((y) - gui.border_offset) / gui.char_height)
289 int char_height; // Height of char cell in pixels, includes member
H A Dgui_xim.c167 area.height = gui.char_height; in im_set_position()
335 h = MAX(h, gui.char_height); in im_preedit_window_open()
1269 spot_area.height = gui.char_height * Rows; in xim_set_preedit()
1271 line_space = gui.char_height; in xim_set_preedit()
1645 status_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area()
1652 status_area.height = gui.char_height; in xim_set_status_area()
1666 status_area.height = gui.char_height; in xim_set_status_area()
1672 pre_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area()
1680 pre_area.height = gui.char_height; in xim_set_status_area()
1687 pre_area.height = gui.char_height * Rows; in xim_set_status_area()
[all …]
H A Dgui_gtk_x11.c2930 || gui.char_height != old_char_height) in update_window_manager_hints()
2936 geometry.height_inc = gui.char_height; in update_window_manager_hints()
2953 old_char_height = gui.char_height; in update_window_manager_hints()
4018 usable_height -= (gui.char_height - (gui.char_height/2)); // sic. in form_configure_event()
4666 gui.char_height = MAX(gui.char_height, gui.char_ascent + 1); in gui_mch_adjust_charheight()
5362 gui.char_height); in draw_glyph_string()
5694 area.height = gui.char_height; in gui_gtk2_draw_string_ext()
6196 FILL_Y(gui.row) + gui.char_height - h, in gui_mch_draw_part_cursor()
6384 (row2 - row1 + 1) * gui.char_height in gui_mch_clear_block()
6413 (row2 - row1 + 1) * gui.char_height); in gui_mch_clear_block()
[all …]
H A Dgui_x11.c1710 XtNheightInc, gui.char_height, in gui_mch_set_shellsize()
1807 gui.char_height = fontset_height(fontset) + p_linespace; in gui_mch_init_font()
1818 gui.char_height = font->ascent + font->descent + p_linespace; in gui_mch_init_font()
1979 gui.char_height = font->ascent + font->descent + p_linespace; in gui_mch_adjust_charheight()
2392 clip.height = gui.char_height; in gui_mch_draw_string()
2416 FILL_Y(row), gui.char_width * cells, gui.char_height); in gui_mch_draw_string()
2467 int y = FILL_Y(row + 1) - gui.char_height/2; in gui_mch_draw_string()
2591 FILL_Y(gui.row) + gui.char_height - h, in gui_mch_draw_part_cursor()
2742 (row2 - row1 + 1) * gui.char_height); in gui_mch_clear_block()
2767 gui.char_height * (gui.scroll_region_bot - row - num_lines + 1), in gui_mch_delete_lines()
[all …]
H A Dgui.c415 gui.char_height = 1; in gui_init_check()
1335 cur_height = gui.char_height; in gui_update_cursor()
1685 height = Rows * gui.char_height + base_height; in gui_set_shellsize()
1702 Rows = (screen_h - base_height) / gui.char_height; in gui_set_shellsize()
1704 height = Rows * gui.char_height + base_height; in gui_set_shellsize()
1711 && height + gui.char_height >= screen_h)) in gui_set_shellsize()
1722 min_height += tabline_height() * gui.char_height; in gui_set_shellsize()
1731 || height + gui.char_height * 2 < screen_h) in gui_set_shellsize()
4309 y = sb->top * gui.char_height + gui.border_offset; in gui_update_scrollbars()
5004 (W_WINROW(curwin) + curwin->w_wrow) * gui.char_height in gui_mouse_correct()
[all …]
H A Dgui_photon.c2038 rect.lr.y = rect.ul.y + nr * gui.char_height; in gui_mch_invert_rectangle()
2071 Rows * gui.char_height + gui.border_width - 1 } in gui_mch_clear_all()
2100 delta.y = -num_lines * gui.char_height; in gui_mch_delete_lines()
2130 delta.y = num_lines * gui.char_height; in gui_mch_insert_lines()
2230 r.lr.y = r.ul.y + gui.char_height - 1; in gui_mch_draw_hollow_cursor()
2244 r.ul.y = FILL_Y(gui.row) + gui.char_height - h; in gui_mch_draw_part_cursor()
2916 gui.char_height = (- extent.ul.y) + extent.lr.y + 1; in gui_mch_init_font()
2933 gui.char_height = - info.ascender + info.descender + p_linespace; in gui_mch_adjust_charheight()
H A Dgui_w32.c1490 gui.char_height = tm.tmHeight + p_linespace; in GetFontSize()
1686 rc.bottom = rc.top + nr * gui.char_height; in gui_mch_invert_rectangle()
1721 rc.bottom = rc.top + gui.char_height; in gui_mch_draw_hollow_cursor()
1747 rc.top = FILL_Y(gui.row) + gui.char_height - h; in gui_mch_draw_part_cursor()
2963 *rows = (h - base_height) / gui.char_height; in gui_mswin_get_valid_dimensions()
2965 *valid_h = base_height + *rows * gui.char_height; in gui_mswin_get_valid_dimensions()
2984 rc.bottom = gui.num_rows * gui.char_height; in gui_mch_flash()
6388 y = FILL_Y(row + 1) - gui.char_height/2; in gui_mch_draw_string()
8288 h = gui.char_height; in gui_mch_drawsign()
8376 gui.char_width * 2, gui.char_height, in gui_mch_register_sign()
[all …]
H A Dgui_athena.c153 data = (data - gui.char_height + 1) / gui.char_height; in gui_athena_scroll_cb_scroll()
161 data = (data + gui.char_height - 1) / gui.char_height; in gui_athena_scroll_cb_scroll()
H A Dnetbeans.c3023 y = row * gui.char_height + 2; in netbeans_draw_multisign_indicator()
3025 for (i = 0; i < gui.char_height - 3; i++) in netbeans_draw_multisign_indicator()
3066 y = row * gui.char_height + 2; in netbeans_draw_multisign_indicator()
3068 for (i = 0; i < gui.char_height - 3; i++) in netbeans_draw_multisign_indicator()
H A Dgui_haiku.cc1123 adjust_h = ((int)new_height - gui_get_base_height()) % gui.char_height; in FrameResized()
3520 gui.char_height, // int32 height = 0, in gui_mch_set_shellsize()
3951 gui.char_height = (int)(fh.ascent + 0.9999) in gui_mch_set_font()
4004 gui.char_height = (int)(fh.ascent + fh.descent + 0.5) + p_linespace; in gui_mch_adjust_charheight()
4171 rect.bottom = rect.top + nr * gui.char_height - PEN_WIDTH; in gui_mch_invert_rectangle()
4232 r.bottom = r.top + gui.char_height - PEN_WIDTH; in gui_mch_draw_hollow_cursor()
H A Dterminal.c4491 y += W_WINROW(wp) * gui.char_height; in parse_csi()
/vim-8.2.3635/runtime/doc/
H A Dversion5.txt5945 BeOS: Adjust computing the char_height and char_ascent. Round them up